Class WebserviceDescriptionType
- java.lang.Object
-
- com.sun.xml.ws.config.metro.parser.jsr109.WebserviceDescriptionType
-
- All Implemented Interfaces:
com.sun.xml.bind.Locatable
public class WebserviceDescriptionType extends Object implements com.sun.xml.bind.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 DescriptionType
description
protected DisplayNameType
displayName
protected IconType
icon
protected String
id
protected PathType
jaxrpcMappingFile
protected Locator
locator
protected List<PortComponentType>
portComponent
protected String
webserviceDescriptionName
protected PathType
wsdlFile
-
Constructor Summary
Constructors Constructor Description WebserviceDescriptionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescriptionType
getDescription()
Gets the value of the description property.DisplayNameType
getDisplayName()
Gets the value of the displayName property.IconType
getIcon()
Gets the value of the icon property.String
getId()
Gets the value of the id property.PathType
getJaxrpcMappingFile()
Gets the value of the jaxrpcMappingFile property.List<PortComponentType>
getPortComponent()
Gets the value of the portComponent property.String
getWebserviceDescriptionName()
Gets the value of the webserviceDescriptionName property.PathType
getWsdlFile()
Gets the value of the wsdlFile property.void
setDescription(DescriptionType value)
Sets the value of the description property.void
setDisplayName(DisplayNameType value)
Sets the value of the displayName property.void
setIcon(IconType value)
Sets the value of the icon property.void
setId(String value)
Sets the value of the id property.void
setJaxrpcMappingFile(PathType value)
Sets the value of the jaxrpcMappingFile property.void
setSourceLocation(Locator newLocator)
void
setWebserviceDescriptionName(String value)
Sets the value of the webserviceDescriptionName property.void
setWsdlFile(PathType value)
Sets the value of the wsdlFile property.Locator
sourceLocation()
-
-
-
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
set
method 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:
sourceLocation
in interfacecom.sun.xml.bind.Locatable
-
setSourceLocation
public void setSourceLocation(Locator newLocator)
-
-