1 19 20 package org.netbeans.modules.websvc.wsitmodelext.addressing.impl; 21 22 import org.netbeans.modules.websvc.wsitmodelext.addressing.Address10; 23 import org.netbeans.modules.websvc.wsitmodelext.addressing.Addressing10Metadata; 24 import org.netbeans.modules.websvc.wsitmodelext.addressing.Addressing10QName; 25 import org.netbeans.modules.websvc.wsitmodelext.addressing.Addressing10ReferenceProperties; 26 import org.netbeans.modules.xml.wsdl.model.WSDLComponent; 27 import org.netbeans.modules.xml.wsdl.model.WSDLModel; 28 import org.netbeans.modules.xml.wsdl.model.visitor.WSDLVisitor; 29 import org.w3c.dom.Element ; 30 31 import java.util.Collections ; 32 import org.netbeans.modules.websvc.wsitmodelext.addressing.Addressing10EndpointReference; 33 34 38 public class Addressing10EndpointReferenceImpl extends Addressing10ComponentImpl implements Addressing10EndpointReference { 39 40 43 public Addressing10EndpointReferenceImpl(WSDLModel model, Element e) { 44 super(model, e); 45 } 46 47 public Addressing10EndpointReferenceImpl(WSDLModel model){ 48 this(model, createPrefixedElement(Addressing10QName.ENDPOINTREFERENCE.getQName(), model)); 49 } 50 51 @Override 52 public void accept(WSDLVisitor visitor) { 53 visitor.visit(this); 54 } 55 56 public void setAddress(Address10 address) { 57 java.util.List <Class <? extends WSDLComponent>> classes = Collections.emptyList(); 58 setChild(Address10.class, ADDRESS_PROPERTY, address, classes); 59 } 60 61 public Address10 getAddress() { 62 return getChild(Address10.class); 63 } 64 65 public void removeAddress(Address10 address) { 66 removeChild(ADDRESS_PROPERTY, address); 67 } 68 69 public void setReferenceProperties(Addressing10ReferenceProperties referenceProperties) { 70 java.util.List <Class <? extends WSDLComponent>> classes = Collections.emptyList(); 71 setChild(Addressing10ReferenceProperties.class, REFERENCE_PROPERTIES_PROPERTY, referenceProperties, classes); 72 } 73 74 public Addressing10ReferenceProperties getReferenceProperties() { 75 return getChild(Addressing10ReferenceProperties.class); 76 } 77 78 public void removeReferenceProperties(Addressing10ReferenceProperties referenceProperties) { 79 removeChild(REFERENCE_PROPERTIES_PROPERTY, referenceProperties); 80 } 81 82 public void setAddressing10Metadata(Addressing10Metadata addressingMetadata) { 83 java.util.List <Class <? extends WSDLComponent>> classes = Collections.emptyList(); 84 setChild(Addressing10Metadata.class, METADATA_PROPERTY, addressingMetadata, classes); 85 } 86 87 public Addressing10Metadata getAddressing10Metadata() { 88 return getChild(Addressing10Metadata.class); 89 } 90 91 public void removeAddressing10Metadata(Addressing10Metadata addressing10Metadata) { 92 removeChild(METADATA_PROPERTY, addressing10Metadata); 93 } 94 95 } 96 | Popular Tags |