Apache CXF API

org.apache.cxf.jaxws.javaee
Class WebserviceDescriptionType

java.lang.Object
  extended by org.apache.cxf.jaxws.javaee.WebserviceDescriptionType

public class WebserviceDescriptionType
extends Object

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
protected  DescriptionType description
           
protected  DisplayNameType displayName
           
protected  IconType icon
           
protected  String id
           
protected  PathType jaxrpcMappingFile
           
protected  List<PortComponentType> portComponent
           
protected  CString webserviceDescriptionName
           
protected  PathType wsdlFile
           
 
Constructor Summary
WebserviceDescriptionType()
           
 
Method Summary
 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.
 CString 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 setWebserviceDescriptionName(CString value)
          Sets the value of the webserviceDescriptionName property.
 void setWsdlFile(PathType value)
          Sets the value of the wsdlFile property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected DescriptionType description

displayName

protected DisplayNameType displayName

icon

protected IconType icon

webserviceDescriptionName

protected CString webserviceDescriptionName

wsdlFile

protected PathType wsdlFile

jaxrpcMappingFile

protected PathType jaxrpcMappingFile

portComponent

protected List<PortComponentType> portComponent

id

protected String id
Constructor Detail

WebserviceDescriptionType

public WebserviceDescriptionType()
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 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 CString getWebserviceDescriptionName()
Gets the value of the webserviceDescriptionName property.

Returns:
possible object is CString

setWebserviceDescriptionName

public void setWebserviceDescriptionName(CString value)
Sets the value of the webserviceDescriptionName property.

Parameters:
value - allowed object is CString

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

Apache CXF API

Apache CXF