Class PortComponentRefType
- java.lang.Object
-
- com.sun.xml.ws.config.metro.parser.jsr109.PortComponentRefType
-
- All Implemented Interfaces:
Locatable
public class PortComponentRefType extends Object implements Locatable
The port-component-ref element declares a client dependency on the container for resolving a Service Endpoint Interface to a WSDL port. It optionally associates the Service Endpoint Interface with a particular port-component. This is only used by the container for a Service.getPort(Class) method call.Java class for port-component-refType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="port-component-refType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="service-endpoint-interface" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/> <element name="enable-mtom" type="{http://java.sun.com/xml/ns/javaee}true-falseType" minOccurs="0"/> <element name="mtom-threshold" type="{http://java.sun.com/xml/ns/javaee}xsdNonNegativeIntegerType" minOccurs="0"/> <element name="addressing" type="{http://java.sun.com/xml/ns/javaee}addressingType" minOccurs="0"/> <element name="respect-binding" type="{http://java.sun.com/xml/ns/javaee}respect-bindingType" minOccurs="0"/> <element name="port-component-link" type="{http://java.sun.com/xml/ns/javaee}string" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected AddressingTypeaddressingprotected TrueFalseTypeenableMtomprotected Stringidprotected Locatorlocatorprotected XsdNonNegativeIntegerTypemtomThresholdprotected StringportComponentLinkprotected RespectBindingTyperespectBindingprotected FullyQualifiedClassTypeserviceEndpointInterface
-
Constructor Summary
Constructors Constructor Description PortComponentRefType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddressingTypegetAddressing()Gets the value of the addressing property.TrueFalseTypegetEnableMtom()Gets the value of the enableMtom property.StringgetId()Gets the value of the id property.XsdNonNegativeIntegerTypegetMtomThreshold()Gets the value of the mtomThreshold property.StringgetPortComponentLink()Gets the value of the portComponentLink property.RespectBindingTypegetRespectBinding()Gets the value of the respectBinding property.FullyQualifiedClassTypegetServiceEndpointInterface()Gets the value of the serviceEndpointInterface property.voidsetAddressing(AddressingType value)Sets the value of the addressing property.voidsetEnableMtom(TrueFalseType value)Sets the value of the enableMtom property.voidsetId(String value)Sets the value of the id property.voidsetMtomThreshold(XsdNonNegativeIntegerType value)Sets the value of the mtomThreshold property.voidsetPortComponentLink(String value)Sets the value of the portComponentLink property.voidsetRespectBinding(RespectBindingType value)Sets the value of the respectBinding property.voidsetServiceEndpointInterface(FullyQualifiedClassType value)Sets the value of the serviceEndpointInterface property.voidsetSourceLocation(Locator newLocator)LocatorsourceLocation()
-
-
-
Field Detail
-
serviceEndpointInterface
protected FullyQualifiedClassType serviceEndpointInterface
-
enableMtom
protected TrueFalseType enableMtom
-
mtomThreshold
protected XsdNonNegativeIntegerType mtomThreshold
-
addressing
protected AddressingType addressing
-
respectBinding
protected RespectBindingType respectBinding
-
portComponentLink
protected String portComponentLink
-
id
protected String id
-
locator
protected Locator locator
-
-
Method Detail
-
getServiceEndpointInterface
public FullyQualifiedClassType getServiceEndpointInterface()
Gets the value of the serviceEndpointInterface property.- Returns:
- possible object is
FullyQualifiedClassType
-
setServiceEndpointInterface
public void setServiceEndpointInterface(FullyQualifiedClassType value)
Sets the value of the serviceEndpointInterface property.- Parameters:
value- allowed object isFullyQualifiedClassType
-
getEnableMtom
public TrueFalseType getEnableMtom()
Gets the value of the enableMtom property.- Returns:
- possible object is
TrueFalseType
-
setEnableMtom
public void setEnableMtom(TrueFalseType value)
Sets the value of the enableMtom property.- Parameters:
value- allowed object isTrueFalseType
-
getMtomThreshold
public XsdNonNegativeIntegerType getMtomThreshold()
Gets the value of the mtomThreshold property.- Returns:
- possible object is
XsdNonNegativeIntegerType
-
setMtomThreshold
public void setMtomThreshold(XsdNonNegativeIntegerType value)
Sets the value of the mtomThreshold property.- Parameters:
value- allowed object isXsdNonNegativeIntegerType
-
getAddressing
public AddressingType getAddressing()
Gets the value of the addressing property.- Returns:
- possible object is
AddressingType
-
setAddressing
public void setAddressing(AddressingType value)
Sets the value of the addressing property.- Parameters:
value- allowed object isAddressingType
-
getRespectBinding
public RespectBindingType getRespectBinding()
Gets the value of the respectBinding property.- Returns:
- possible object is
RespectBindingType
-
setRespectBinding
public void setRespectBinding(RespectBindingType value)
Sets the value of the respectBinding property.- Parameters:
value- allowed object isRespectBindingType
-
getPortComponentLink
public String getPortComponentLink()
Gets the value of the portComponentLink property.- Returns:
- possible object is
String
-
setPortComponentLink
public void setPortComponentLink(String value)
Sets the value of the portComponentLink property.- Parameters:
value- allowed object isString
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
sourceLocation
public Locator sourceLocation()
- Specified by:
sourceLocationin interfaceLocatable- Returns:
- null if the location information is unavaiable,
or otherwise return a immutable valid
Locatorobject.
-
setSourceLocation
public void setSourceLocation(Locator newLocator)
-
-