@Override public final Date getCurrentTime() { Date currentTime = null; XMLGregorianCalendar jaxbCurrentTime = this.jaxbTypeObj.getCurrentTime(); if (jaxbCurrentTime != null){ currentTime = jaxbCurrentTime.toGregorianCalendar().getTime(); } return currentTime; }
public Date getCurrentTime() { Date result = null; XMLGregorianCalendar currentTimeFromModel = this.model.getCurrentTime(); if (currentTimeFromModel != null) result = currentTimeFromModel.toGregorianCalendar().getTime(); return result; }
public void hashCode(HashCodeBuilder hashCodeBuilder) { hashCodeBuilder.append(this.getTerminationTime()); hashCodeBuilder.append(this.getCurrentTime()); hashCodeBuilder.append(this.getAny()); }
public void toString(ToStringBuilder toStringBuilder) { { XMLGregorianCalendar theTerminationTime; theTerminationTime = this.getTerminationTime(); toStringBuilder.append("terminationTime", theTerminationTime); } { XMLGregorianCalendar theCurrentTime; theCurrentTime = this.getCurrentTime(); toStringBuilder.append("currentTime", theCurrentTime); } { List<Object> theAny; theAny = this.getAny(); toStringBuilder.append("any", theAny); } }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof RenewResponse)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } final RenewResponse that = ((RenewResponse) object); equalsBuilder.append(this.getTerminationTime(), that.getTerminationTime()); equalsBuilder.append(this.getCurrentTime(), that.getCurrentTime()); equalsBuilder.append(this.getAny(), that.getAny()); }
public Object copyTo(Object target, CopyBuilder copyBuilder) { final RenewResponse copy = ((target == null)?new RenewResponse():((RenewResponse) target)); { XMLGregorianCalendar sourceTerminationTime; sourceTerminationTime = this.getTerminationTime(); XMLGregorianCalendar copyTerminationTime = ((XMLGregorianCalendar) copyBuilder.copy(sourceTerminationTime)); copy.setTerminationTime(copyTerminationTime); } { XMLGregorianCalendar sourceCurrentTime; sourceCurrentTime = this.getCurrentTime(); XMLGregorianCalendar copyCurrentTime = ((XMLGregorianCalendar) copyBuilder.copy(sourceCurrentTime)); copy.setCurrentTime(copyCurrentTime); } { 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; }