@Override public final Date getCurrentTime() { Date currentTime = null; XMLGregorianCalendar jaxbCurrTime = this.jaxbTypeObj.getCurrentTime(); if (jaxbCurrTime != null){ currentTime = jaxbCurrTime.toGregorianCalendar().getTime(); } return currentTime; }
public Date getCurrentTime() { final XMLGregorianCalendar objFromModel = this.model.getCurrentTime(); return objFromModel!= null? objFromModel.toGregorianCalendar().getTime() : null; }
public void hashCode(HashCodeBuilder hashCodeBuilder) { hashCodeBuilder.append(this.getSubscriptionReference()); hashCodeBuilder.append(this.getCurrentTime()); hashCodeBuilder.append(this.getTerminationTime()); hashCodeBuilder.append(this.getAny()); }
public void toString(ToStringBuilder toStringBuilder) { { EndpointReferenceType theSubscriptionReference; theSubscriptionReference = this.getSubscriptionReference(); toStringBuilder.append("subscriptionReference", theSubscriptionReference); } { XMLGregorianCalendar theCurrentTime; theCurrentTime = this.getCurrentTime(); toStringBuilder.append("currentTime", theCurrentTime); } { XMLGregorianCalendar theTerminationTime; theTerminationTime = this.getTerminationTime(); toStringBuilder.append("terminationTime", theTerminationTime); } { List<Object> theAny; theAny = this.getAny(); toStringBuilder.append("any", theAny); } }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof SubscribeResponse)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } final SubscribeResponse that = ((SubscribeResponse) object); equalsBuilder.append(this.getSubscriptionReference(), that.getSubscriptionReference()); equalsBuilder.append(this.getCurrentTime(), that.getCurrentTime()); equalsBuilder.append(this.getTerminationTime(), that.getTerminationTime()); equalsBuilder.append(this.getAny(), that.getAny()); }
public Object copyTo(Object target, CopyBuilder copyBuilder) { final SubscribeResponse copy = ((target == null)?new SubscribeResponse():((SubscribeResponse) target)); { EndpointReferenceType sourceSubscriptionReference; sourceSubscriptionReference = this.getSubscriptionReference(); EndpointReferenceType copySubscriptionReference = ((EndpointReferenceType) copyBuilder.copy(sourceSubscriptionReference)); copy.setSubscriptionReference(copySubscriptionReference); } { XMLGregorianCalendar sourceCurrentTime; sourceCurrentTime = this.getCurrentTime(); XMLGregorianCalendar copyCurrentTime = ((XMLGregorianCalendar) copyBuilder.copy(sourceCurrentTime)); copy.setCurrentTime(copyCurrentTime); } { XMLGregorianCalendar sourceTerminationTime; sourceTerminationTime = this.getTerminationTime(); XMLGregorianCalendar copyTerminationTime = ((XMLGregorianCalendar) copyBuilder.copy(sourceTerminationTime)); copy.setTerminationTime(copyTerminationTime); } { List<Object> sourceAny; sourceAny = this.getAny(); List<Object> copyAny = ((List<Object> ) copyBuilder.copy(sourceAny)); copy.any = null; List<Object> uniqueAnyl = copy.getAny(); uniqueAnyl.addAll(copyAny); } return copy; }