Class WebserviceDescriptionType
- java.lang.Object
-
- com.sun.xml.ws.config.metro.parser.jsr109.WebserviceDescriptionType
-
- All Implemented Interfaces:
Locatable
public class WebserviceDescriptionType extends Object implements Locatable
The webservice-description element defines a WSDL document file and the set of Port components associated with the WSDL ports defined in the WSDL document. There may be multiple webservice-descriptions defined within a module. All WSDL file ports must have a corresponding port-component element defined. Used in: webservicesJava class for webservice-descriptionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="webservice-descriptionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" minOccurs="0"/> <element name="display-name" type="{http://java.sun.com/xml/ns/javaee}display-nameType" minOccurs="0"/> <element name="icon" type="{http://java.sun.com/xml/ns/javaee}iconType" minOccurs="0"/> <element name="webservice-description-name" type="{http://java.sun.com/xml/ns/javaee}string"/> <element name="wsdl-file" type="{http://java.sun.com/xml/ns/javaee}pathType" minOccurs="0"/> <element name="jaxrpc-mapping-file" type="{http://java.sun.com/xml/ns/javaee}pathType" minOccurs="0"/> <element name="port-component" type="{http://java.sun.com/xml/ns/javaee}port-componentType" maxOccurs="unbounded"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected DescriptionTypedescriptionprotected DisplayNameTypedisplayNameprotected IconTypeiconprotected Stringidprotected PathTypejaxrpcMappingFileprotected Locatorlocatorprotected List<PortComponentType>portComponentprotected StringwebserviceDescriptionNameprotected PathTypewsdlFile
-
Constructor Summary
Constructors Constructor Description WebserviceDescriptionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescriptionTypegetDescription()Gets the value of the description property.DisplayNameTypegetDisplayName()Gets the value of the displayName property.IconTypegetIcon()Gets the value of the icon property.StringgetId()Gets the value of the id property.PathTypegetJaxrpcMappingFile()Gets the value of the jaxrpcMappingFile property.List<PortComponentType>getPortComponent()Gets the value of the portComponent property.StringgetWebserviceDescriptionName()Gets the value of the webserviceDescriptionName property.PathTypegetWsdlFile()Gets the value of the wsdlFile property.voidsetDescription(DescriptionType value)Sets the value of the description property.voidsetDisplayName(DisplayNameType value)Sets the value of the displayName property.voidsetIcon(IconType value)Sets the value of the icon property.voidsetId(String value)Sets the value of the id property.voidsetJaxrpcMappingFile(PathType value)Sets the value of the jaxrpcMappingFile property.voidsetSourceLocation(Locator newLocator)voidsetWebserviceDescriptionName(String value)Sets the value of the webserviceDescriptionName property.voidsetWsdlFile(PathType value)Sets the value of the wsdlFile property.LocatorsourceLocation()
-
-
-
Field Detail
-
description
protected DescriptionType description
-
displayName
protected DisplayNameType displayName
-
icon
protected IconType icon
-
webserviceDescriptionName
protected String webserviceDescriptionName
-
wsdlFile
protected PathType wsdlFile
-
jaxrpcMappingFile
protected PathType jaxrpcMappingFile
-
portComponent
protected List<PortComponentType> portComponent
-
id
protected String id
-
locator
protected Locator locator
-
-
Method Detail
-
getDescription
public DescriptionType getDescription()
Gets the value of the description property.- Returns:
- possible object is
DescriptionType
-
setDescription
public void setDescription(DescriptionType value)
Sets the value of the description property.- Parameters:
value- allowed object isDescriptionType
-
getDisplayName
public DisplayNameType getDisplayName()
Gets the value of the displayName property.- Returns:
- possible object is
DisplayNameType
-
setDisplayName
public void setDisplayName(DisplayNameType value)
Sets the value of the displayName property.- Parameters:
value- allowed object isDisplayNameType
-
getIcon
public IconType getIcon()
Gets the value of the icon property.- Returns:
- possible object is
IconType
-
setIcon
public void setIcon(IconType value)
Sets the value of the icon property.- Parameters:
value- allowed object isIconType
-
getWebserviceDescriptionName
public String getWebserviceDescriptionName()
Gets the value of the webserviceDescriptionName property.- Returns:
- possible object is
String
-
setWebserviceDescriptionName
public void setWebserviceDescriptionName(String value)
Sets the value of the webserviceDescriptionName property.- Parameters:
value- allowed object isString
-
getWsdlFile
public PathType getWsdlFile()
Gets the value of the wsdlFile property.- Returns:
- possible object is
PathType
-
setWsdlFile
public void setWsdlFile(PathType value)
Sets the value of the wsdlFile property.- Parameters:
value- allowed object isPathType
-
getJaxrpcMappingFile
public PathType getJaxrpcMappingFile()
Gets the value of the jaxrpcMappingFile property.- Returns:
- possible object is
PathType
-
setJaxrpcMappingFile
public void setJaxrpcMappingFile(PathType value)
Sets the value of the jaxrpcMappingFile property.- Parameters:
value- allowed object isPathType
-
getPortComponent
public List<PortComponentType> getPortComponent()
Gets the value of the portComponent property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the portComponent property.For example, to add a new item, do as follows:
getPortComponent().add(newItem);Objects of the following type(s) are allowed in the list
PortComponentType
-
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)
-
-