public void toString(ToStringBuilder toStringBuilder) { { String theTerminationTime; theTerminationTime = this.getTerminationTime(); toStringBuilder.append("terminationTime", theTerminationTime); } { List<Object> theAny; theAny = this.getAny(); toStringBuilder.append("any", theAny); } }
public void hashCode(HashCodeBuilder hashCodeBuilder) { hashCodeBuilder.append(this.getTerminationTime()); hashCodeBuilder.append(this.getAny()); }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof Renew)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } final Renew that = ((Renew) object); equalsBuilder.append(this.getTerminationTime(), that.getTerminationTime()); equalsBuilder.append(this.getAny(), that.getAny()); }
/** * Method used to set an xml fragment representation of a {@link ResourcesUuidType} object into a * {@link Renew} object * * @param rUuidsObj {@link ResourcesUuidType} object whom the xml representation must be set * @param renewObj {@link Renew} object in which the xml representation must be set * @throws WSNotificationExtensionException */ public static void setResourcesUuidType(final ResourcesUuidType rUuidsObj ,final Renew renewObj) throws WSNotificationExtensionException{ final List<Object> listOfObj = ((com.ebmwebsourcing.wsstar.jaxb.notification.base.Renew) ((AbstractSchemaElementImpl<?>)renewObj).getModel()).getAny(); WsnSpecificTypeHelper.setResourceUuidType(rUuidsObj, listOfObj); }
/** * Method used to get {@link ResourcesUuidType} object from * {@link Renew} object * * @param unsubsObj {@link Renew} object * @return {@link ResourcesUuidType} object * @throws WSNotificationExtensionException */ public static ResourcesUuidType getResourcesUuidType(final Renew renewObj) throws WSNotificationExtensionException{ final List<Object> listOfObj = ((com.ebmwebsourcing.wsstar.jaxb.notification.base.Renew) ((AbstractSchemaElementImpl<?>)renewObj).getModel()).getAny(); return WsnSpecificTypeHelper.getResourcesUuidType(listOfObj); } // --- Pseudo Setters ---
public Object copyTo(Object target, CopyBuilder copyBuilder) { final Renew copy = ((target == null)?new Renew():((Renew) target)); { String sourceTerminationTime; sourceTerminationTime = this.getTerminationTime(); String copyTerminationTime = ((String) 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; }