Class WebserviceDescriptionType

java.lang.Object
com.sun.xml.ws.config.metro.parser.jsr109.WebserviceDescriptionType
All Implemented Interfaces:
org.glassfish.jaxb.core.Locatable

public class WebserviceDescriptionType extends Object implements org.glassfish.jaxb.core.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 Details

  • Constructor Details

    • WebserviceDescriptionType

      public WebserviceDescriptionType()
  • Method Details

    • 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 is DescriptionType
    • 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 is DisplayNameType
    • 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 is IconType
    • 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 is String
    • 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 is PathType
    • 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 is PathType
    • 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

    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • sourceLocation

      public Locator sourceLocation()
      Specified by:
      sourceLocation in interface org.glassfish.jaxb.core.Locatable
    • setSourceLocation

      public void setSourceLocation(Locator newLocator)