@Override public final void setOriginator(EndpointReferenceType value) { this.jaxbTypeObj.setOriginator(EndpointReferenceTypeImpl.toJaxbModel(value)); }
public final EndpointReferenceType createWsaModelEndpointReferenceType( com.ebmwebsourcing.wsstar.jaxb.addressing.EndpointReferenceType jaxbModelObj) { return new EndpointReferenceTypeImpl(jaxbModelObj); }
@Override public final void setAddress(URI value) { this.jaxbTypeObj.setAddress(EndpointReferenceTypeImpl.toAttributedURIType(value)); }
/** * A way to create a {@link com.ebmwebsourcing.wsstar.jaxb.addressing.EndpointReferenceType} * "Jaxb model type" object from a {@link EndpointReferenceType} "api type" one * * @param apiTypeObj */ public static com.ebmwebsourcing.wsstar.jaxb.addressing.EndpointReferenceType toJaxbModel(EndpointReferenceType apiTypeObj){ com.ebmwebsourcing.wsstar.jaxb.addressing.EndpointReferenceType jaxbTypeObj = null; if (apiTypeObj instanceof EndpointReferenceTypeImpl) { jaxbTypeObj = ((EndpointReferenceTypeImpl)apiTypeObj).getJaxbTypeObj(); } else { jaxbTypeObj = WsaJAXBContext.WSA_FACTORY.createEndpointReferenceType(); jaxbTypeObj.setAddress(EndpointReferenceTypeImpl.toAttributedURIType(apiTypeObj.getAddress())); ReferenceParametersType refParams = apiTypeObj.getReferenceParameters(); if (refParams != null){ jaxbTypeObj.setReferenceParameters(ReferenceParametersTypeImpl.toJaxbModel(refParams)); } MetadataType metadata = apiTypeObj.getMetadata(); if (metadata != null){ jaxbTypeObj.setMetadata(MetadataTypeImpl.toJaxbModel(metadata)); } List<Element> any = apiTypeObj.getAny(); if (any != null){ jaxbTypeObj.getAny().addAll(any); } } return jaxbTypeObj; }
@Override public final void setProducerReference(EndpointReferenceType endpoint) { this.jaxbTypeObj.setProducerReference(EndpointReferenceTypeImpl.toJaxbModel(endpoint)); }
@Override public final EndpointReferenceType createWsaModelEndpointReferenceType(URI address) { return new EndpointReferenceTypeImpl(address); }
/** * Default constructor * * Note : According to the xml schema the "address" field is mandatory * * @param address the address of the {@link EndpointReferenceType} object that must * be {@link String} representation of an {@link URI} object. */ protected EndpointReferenceTypeImpl(URI address) { this.jaxbTypeObj = WsaJAXBContext.WSA_FACTORY.createEndpointReferenceType(); this.jaxbTypeObj.setAddress(EndpointReferenceTypeImpl.toAttributedURIType(address)); }
@Override public final void setSubscriptionReference(EndpointReferenceType value) { this.jaxbTypeObj.setSubscriptionReference(EndpointReferenceTypeImpl.toJaxbModel(value)); }
/** * Read the specified EndpointReferenceType XML definition from {@link Document} object * into a WS-Addressing JAXB model {@link EndpointReferenceType} instance. * * @param doc * @return the definition described in the document. * * @throws WsaException */ @Override public final EndpointReferenceType readEndpointReferenceType(Document doc) throws WsaException { EndpointReferenceType edpRefObj=null; try { Unmarshaller unmarshaller = this.addressingJaxbContext.createWSAddressingUnmarshaller(); final JAXBElement<com.ebmwebsourcing.wsstar.jaxb.addressing.EndpointReferenceType> eprBinding = unmarshaller.unmarshal(doc, com.ebmwebsourcing.wsstar.jaxb.addressing.EndpointReferenceType.class); edpRefObj = ((eprBinding!=null)? new EndpointReferenceTypeImpl(eprBinding.getValue()):null); } catch (JAXBException e) { throw new WsaException(e); } return edpRefObj; }
@Override public final void setConsumerReference(EndpointReferenceType value) { this.jaxbTypeObj.setConsumerReference(EndpointReferenceTypeImpl.toJaxbModel(value)); }
saxSource, com.ebmwebsourcing.wsstar.jaxb.addressing.EndpointReferenceType.class); edpRefObj = ((eprBinding!=null)? new EndpointReferenceTypeImpl(eprBinding.getValue()):null);
@Override public final void setSubscriptionReference(EndpointReferenceType endpoint) { this.jaxbTypeObj.setSubscriptionReference(EndpointReferenceTypeImpl.toJaxbModel(endpoint)); }
@Override public final void setConsumerReference(EndpointReferenceType value) { this.jaxbTypeObj.setConsumerReference(EndpointReferenceTypeImpl.toJaxbModel(value)); }
/** * Default constructor */ protected SubscribeImpl(EndpointReferenceType consumerRef) { this.jaxbTypeObj = WsnbJAXBContext.WSNB_JAXB_FACTORY.createSubscribe(); this.jaxbTypeObj.setConsumerReference(EndpointReferenceTypeImpl.toJaxbModel(consumerRef)); }
/** * Default constructor */ protected SubscriptionManagerRPImpl(EndpointReferenceType consumerRef) { this.jaxbTypeObj = WsnbJAXBContext.WSNB_JAXB_FACTORY.createSubscriptionManagerRP(); this.jaxbTypeObj.setConsumerReference(EndpointReferenceTypeImpl.toJaxbModel(consumerRef)); }
/** * Default constructor */ protected SubscribeResponseImpl(EndpointReferenceType subscriptionRef) { this.jaxbTypeObj = WsnbJAXBContext.WSNB_JAXB_FACTORY.createSubscribeResponse(); this.jaxbTypeObj.setSubscriptionReference(EndpointReferenceTypeImpl.toJaxbModel(subscriptionRef)); }
WsaJAXBContext.WSA_FACTORY.createEndpointReference(EndpointReferenceTypeImpl.toJaxbModel(endpoint));
WsaJAXBContext.WSA_FACTORY.createEndpointReference(EndpointReferenceTypeImpl.toJaxbModel(endpoint));
jaxbTypeObj.setProducerReference(EndpointReferenceTypeImpl.toJaxbModel(producerRef)); jaxbTypeObj.setSubscriptionReference(EndpointReferenceTypeImpl.toJaxbModel(subscriptionRef));
jaxbTypeObj.setOriginator(EndpointReferenceTypeImpl.toJaxbModel(originator));