public SubscribeImpl(final com.ebmwebsourcing.wsstar.jaxb.notification.base.Subscribe model, final AbstractSchemaElementImpl<?> parent) throws WSNotificationException { super(model, parent); try { if (model.getConsumerReference() != null) { this.eprConsumer = new EndpointReferenceTypeImpl(model.getConsumerReference(), this); } } catch (final WSAddressingException e) { throw new WSNotificationException(e); } }
@Override public final EndpointReferenceType getConsumerReference() { return WsaUtils.fromJaxbModelEndpointToApiEndpoint(this.jaxbTypeObj.getConsumerReference(), this.getClass()); }
public void hashCode(HashCodeBuilder hashCodeBuilder) { hashCodeBuilder.append(this.getConsumerReference()); hashCodeBuilder.append(this.getFilter()); hashCodeBuilder.append(this.getInitialTerminationTime()); hashCodeBuilder.append(this.getSubscriptionPolicy()); hashCodeBuilder.append(this.getAny()); }
public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof Subscribe)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } final Subscribe that = ((Subscribe) object); equalsBuilder.append(this.getConsumerReference(), that.getConsumerReference()); equalsBuilder.append(this.getFilter(), that.getFilter()); equalsBuilder.append(this.getInitialTerminationTime(), that.getInitialTerminationTime()); equalsBuilder.append(this.getSubscriptionPolicy(), that.getSubscriptionPolicy()); equalsBuilder.append(this.getAny(), that.getAny()); }
public void toString(ToStringBuilder toStringBuilder) { { EndpointReferenceType theConsumerReference; theConsumerReference = this.getConsumerReference(); toStringBuilder.append("consumerReference", theConsumerReference); } { FilterType theFilter; theFilter = this.getFilter(); toStringBuilder.append("filter", theFilter); } { JAXBElement<String> theInitialTerminationTime; theInitialTerminationTime = this.getInitialTerminationTime(); toStringBuilder.append("initialTerminationTime", theInitialTerminationTime); } { Subscribe.SubscriptionPolicy theSubscriptionPolicy; theSubscriptionPolicy = this.getSubscriptionPolicy(); toStringBuilder.append("subscriptionPolicy", theSubscriptionPolicy); } { List<Object> theAny; theAny = this.getAny(); toStringBuilder.append("any", theAny); } }
sourceConsumerReference = this.getConsumerReference(); EndpointReferenceType copyConsumerReference = ((EndpointReferenceType) copyBuilder.copy(sourceConsumerReference)); copy.setConsumerReference(copyConsumerReference);