Class WebserviceDescriptionType
java.lang.Object
com.sun.xml.ws.config.metro.parser.jsr109.WebserviceDescriptionType
- All Implemented Interfaces:
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: webservices
Java 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
FieldsModifier and TypeFieldDescriptionprotected DescriptionTypeprotected DisplayNameTypeprotected IconTypeprotected Stringprotected PathTypeprotected Locatorprotected List<PortComponentType>protected Stringprotected PathType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the description property.Gets the value of the displayName property.getIcon()Gets the value of the icon property.getId()Gets the value of the id property.Gets the value of the jaxrpcMappingFile property.Gets the value of the portComponent property.Gets the value of the webserviceDescriptionName property.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.voidSets the value of the icon property.voidSets the value of the id property.voidsetJaxrpcMappingFile(PathType value) Sets the value of the jaxrpcMappingFile property.voidsetSourceLocation(Locator newLocator) voidSets the value of the webserviceDescriptionName property.voidsetWsdlFile(PathType value) Sets the value of the wsdlFile property.
-
Field Details
-
description
-
displayName
-
icon
-
webserviceDescriptionName
-
wsdlFile
-
jaxrpcMappingFile
-
portComponent
-
id
-
locator
-
-
Constructor Details
-
WebserviceDescriptionType
public WebserviceDescriptionType()
-
-
Method Details
-
getDescription
Gets the value of the description property.- Returns:
- possible object is
DescriptionType
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isDescriptionType
-
getDisplayName
Gets the value of the displayName property.- Returns:
- possible object is
DisplayNameType
-
setDisplayName
Sets the value of the displayName property.- Parameters:
value- allowed object isDisplayNameType
-
getIcon
Gets the value of the icon property.- Returns:
- possible object is
IconType
-
setIcon
Sets the value of the icon property.- Parameters:
value- allowed object isIconType
-
getWebserviceDescriptionName
Gets the value of the webserviceDescriptionName property.- Returns:
- possible object is
String
-
setWebserviceDescriptionName
Sets the value of the webserviceDescriptionName property.- Parameters:
value- allowed object isString
-
getWsdlFile
Gets the value of the wsdlFile property.- Returns:
- possible object is
PathType
-
setWsdlFile
Sets the value of the wsdlFile property.- Parameters:
value- allowed object isPathType
-
getJaxrpcMappingFile
Gets the value of the jaxrpcMappingFile property.- Returns:
- possible object is
PathType
-
setJaxrpcMappingFile
Sets the value of the jaxrpcMappingFile property.- Parameters:
value- allowed object isPathType
-
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 -
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-
sourceLocation
- Specified by:
sourceLocationin interfaceLocatable- Returns:
- null if the location information is unavaiable,
or otherwise return a immutable valid
Locatorobject.
-
setSourceLocation
-