@Override public final EndpointReferenceType getSubscriptionReference() { return WsaUtils.fromJaxbModelEndpointToApiEndpoint(this.jaxbTypeObj.getSubscriptionReference(),this.getClass()); }
public SubscribeResponseImpl(final com.ebmwebsourcing.wsstar.jaxb.notification.base.SubscribeResponse model, final AbstractSchemaElementImpl<?> parent) throws WSNotificationException { super(model,parent); try { if (model.getSubscriptionReference() != null) { this.eprSubscription = new EndpointReferenceTypeImpl(model.getSubscriptionReference(),this); } } catch (final WSAddressingException e) { throw new WSNotificationException(e); } }
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; }