public Object copyTo(Object target, CopyBuilder copyBuilder) { final Unsubscribe copy = ((target == null)?new Unsubscribe():((Unsubscribe) target)); { 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; }
public void toString(ToStringBuilder toStringBuilder) { { List<Object> theAny; theAny = this.getAny(); toStringBuilder.append("any", theAny); } }
/** * Create an instance of {@link Unsubscribe } * */ public Unsubscribe createUnsubscribe() { return new Unsubscribe(); }
public boolean equals(Object object) { if (!(object instanceof Unsubscribe)) { return false; } if (this == object) { return true; } final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder(); equals(object, equalsBuilder); return equalsBuilder.isEquals(); }
public String toString() { final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this); toString(toStringBuilder); return toStringBuilder.toString(); }
public int hashCode() { final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder(); hashCode(hashCodeBuilder); return hashCodeBuilder.toHashCode(); }
public Object copyTo(Object target) { final CopyBuilder copyBuilder = new JAXBCopyBuilder(); return copyTo(target, copyBuilder); }
public void hashCode(HashCodeBuilder hashCodeBuilder) { hashCodeBuilder.append(this.getAny()); }
/** * Create an instance of {@link Unsubscribe } * */ public Unsubscribe createUnsubscribe() { return new Unsubscribe(); }
/** * Method used to set an xml fragment representation of a {@link Unsubscribe} object into a * {@link EndpointReferenceType} object * * @param epr {@link EndpointReferenceType} object whom the xml representation must be set * @param unsubObj {@link Unsubscribe} object in which the xml representation must be set * @throws WSNotificationExtensionException */ public static void setEndpointReference(final EndpointReferenceType epr,final Unsubscribe unsubObj) throws WSAddressingException{ final List<Object> listOfObj = ((com.ebmwebsourcing.wsstar.jaxb.notification.base.Unsubscribe) ((AbstractSchemaElementImpl<?>)unsubObj).getModel()).getAny(); WsnSpecificTypeHelper.setEndpointReference(epr, listOfObj); }
/** * Method used to get {@link EndpointReferenceType} object from * {@link Unsubscribe} object * * @param unsubObj {@link Unsubscribe} object * @return {@link EndpointReferenceType} object * @throws WSNotificationExtensionException */ public static EndpointReferenceType getEndpointReference(final Unsubscribe unsubObj) throws WSAddressingException{ final List<Object> listOfObj = ((com.ebmwebsourcing.wsstar.jaxb.notification.base.Unsubscribe) ((AbstractSchemaElementImpl<?>)unsubObj).getModel()).getAny(); return WsnSpecificTypeHelper.getEndpointReference(listOfObj); }
/** * Method used to get {@link ResourcesUuidType} object from * {@link Unsubscribe} object * * @param unsubsObj {@link Unsubscribe} object * @return {@link ResourcesUuidType} object * @throws WSNotificationExtensionException */ public static ResourcesUuidType getResourcesUuidType(final Unsubscribe unsubsObj) throws WSNotificationExtensionException{ final List<Object> listOfObj = ((com.ebmwebsourcing.wsstar.jaxb.notification.base.Unsubscribe) ((AbstractSchemaElementImpl<?>)unsubsObj).getModel()).getAny(); return WsnSpecificTypeHelper.getResourcesUuidType(listOfObj); }
/** * Method used to set an xml fragment representation of a {@link ResourcesUuidType} object into a * {@link ReferenceParametersType} object * * @param rUuidsObj {@link ResourcesUuidType} object whom the xml representation must be set * @param unsubsObj {@link Unsubscribe} object in which the xml representation must be set * @throws WSNotificationExtensionException */ public static void setResourcesUuidType(final ResourcesUuidType rUuidsObj ,final Unsubscribe unsubsObj) throws WSNotificationExtensionException{ final List<Object> listOfObj = ((com.ebmwebsourcing.wsstar.jaxb.notification.base.Unsubscribe) ((AbstractSchemaElementImpl<?>)unsubsObj).getModel()).getAny(); WsnSpecificTypeHelper.setResourceUuidType(rUuidsObj, listOfObj); }