org.ow2.easywsdl.wsdl.org.w3.ns.wsdl
Class DescriptionType

java.lang.Object
  extended by org.ow2.easywsdl.wsdl.org.w3.ns.wsdl.DocumentedType
      extended by org.ow2.easywsdl.wsdl.org.w3.ns.wsdl.ExtensibleDocumentedType
          extended by org.ow2.easywsdl.wsdl.org.w3.ns.wsdl.DescriptionType
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

public class DescriptionType
extends ExtensibleDocumentedType
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

Although correct, this type declaration does not capture all the constraints on the contents of the wsdl:description element as defined by the WSDL 2.0 specification. In particular, the ordering constraints wrt elements preceding and following the wsdl:types child element are not captured, as attempts to incorporate such restrictions in the schema ran afoul of the UPA (Unique Particle Attribution) rule in the XML Schema language. Please refer to the WSDL 2.0 specification for additional information on the contents of this type.

Java class for DescriptionType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="DescriptionType">
   <complexContent>
     <extension base="{http://www.w3.org/ns/wsdl}ExtensibleDocumentedType">
       <choice maxOccurs="unbounded" minOccurs="0">
         <element ref="{http://www.w3.org/ns/wsdl}import"/>
         <element ref="{http://www.w3.org/ns/wsdl}include"/>
         <element ref="{http://www.w3.org/ns/wsdl}types"/>
         <element ref="{http://www.w3.org/ns/wsdl}interface"/>
         <element ref="{http://www.w3.org/ns/wsdl}binding"/>
         <element ref="{http://www.w3.org/ns/wsdl}service"/>
         <any processContents='lax' namespace='##other'/>
       </choice>
       <attribute name="targetNamespace" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<java.lang.Object> importOrIncludeOrTypes
           
protected  java.lang.String targetNamespace
           
 
Fields inherited from class org.ow2.easywsdl.wsdl.org.w3.ns.wsdl.DocumentedType
documentation
 
Constructor Summary
DescriptionType()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 java.util.List<java.lang.Object> getImportOrIncludeOrTypes()
          Gets the value of the importOrIncludeOrTypes property.
 java.lang.String getTargetNamespace()
          Gets the value of the targetNamespace property.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 void setTargetNamespace(java.lang.String value)
          Sets the value of the targetNamespace property.
 java.lang.String toString()
           
 void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
           
 
Methods inherited from class org.ow2.easywsdl.wsdl.org.w3.ns.wsdl.ExtensibleDocumentedType
getOtherAttributes
 
Methods inherited from class org.ow2.easywsdl.wsdl.org.w3.ns.wsdl.DocumentedType
getDocumentation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

importOrIncludeOrTypes

protected java.util.List<java.lang.Object> importOrIncludeOrTypes

targetNamespace

protected java.lang.String targetNamespace
Constructor Detail

DescriptionType

public DescriptionType()
Method Detail

getImportOrIncludeOrTypes

public java.util.List<java.lang.Object> getImportOrIncludeOrTypes()
Gets the value of the importOrIncludeOrTypes 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 importOrIncludeOrTypes property.

For example, to add a new item, do as follows:

    getImportOrIncludeOrTypes().add(newItem);
 

Objects of the following type(s) are allowed in the list Object JAXBElement<InterfaceType> JAXBElement<ServiceType> JAXBElement<BindingType> JAXBElement<TypesType> JAXBElement<ImportType> JAXBElement<IncludeType> Element


getTargetNamespace

public java.lang.String getTargetNamespace()
Gets the value of the targetNamespace property.

Returns:
possible object is String

setTargetNamespace

public void setTargetNamespace(java.lang.String value)
Sets the value of the targetNamespace property.

Parameters:
value - allowed object is String

toString

public void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
Specified by:
toString in interface org.jvnet.jaxb2_commons.lang.ToString
Overrides:
toString in class ExtensibleDocumentedType

toString

public java.lang.String toString()
Overrides:
toString in class ExtensibleDocumentedType

equals

public void equals(java.lang.Object object,
                   org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals
Overrides:
equals in class ExtensibleDocumentedType

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class ExtensibleDocumentedType

hashCode

public void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode
Overrides:
hashCode in class ExtensibleDocumentedType

hashCode

public int hashCode()
Overrides:
hashCode in class ExtensibleDocumentedType


Copyright © 2008-2009 Petals Link (previously EBM WebSourcing). All Rights Reserved.