org.w3.ns.wsdl
Class ServiceType

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

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

Java class for ServiceType complex type.

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

 <complexType name="ServiceType">
   <complexContent>
     <extension base="{http://www.w3.org/ns/wsdl}ExtensibleDocumentedType">
       <choice maxOccurs="unbounded">
         <element ref="{http://www.w3.org/ns/wsdl}endpoint"/>
         <any/>
       </choice>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
       <attribute name="interface" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />
     </extension>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class ServiceType.EndpointOrAnyItem
           
 
Field Summary
protected  javax.xml.namespace.QName _interface
           
protected  java.util.List<java.lang.Object> endpointOrAny
           
protected  java.util.List<ServiceType.EndpointOrAnyItem> endpointOrAnyItems
           
protected  java.lang.String name
           
 
Fields inherited from class org.w3.ns.wsdl.DocumentedType
documentation, hjid
 
Constructor Summary
ServiceType()
           
 
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> getEndpointOrAny()
          Gets the value of the endpointOrAny property.
 java.util.List<ServiceType.EndpointOrAnyItem> getEndpointOrAnyItems()
           
 javax.xml.namespace.QName getInterface()
          Gets the value of the interface property.
 java.lang.String getInterfaceElement()
           
 java.lang.String getName()
          Gets the value of the name property.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 void setEndpointOrAny(java.util.List<java.lang.Object> endpointOrAny)
           
 void setEndpointOrAnyItems(java.util.List<ServiceType.EndpointOrAnyItem> value)
           
 void setInterface(javax.xml.namespace.QName value)
          Sets the value of the interface property.
 void setInterfaceElement(java.lang.String target)
           
 void setName(java.lang.String value)
          Sets the value of the name property.
 java.lang.String toString()
           
 void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
           
 
Methods inherited from class org.w3.ns.wsdl.ExtensibleDocumentedType
getOtherAttributes
 
Methods inherited from class org.w3.ns.wsdl.DocumentedType
getDocumentation, getHjid, setDocumentation, setHjid
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

endpointOrAny

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

name

protected java.lang.String name

_interface

protected javax.xml.namespace.QName _interface

endpointOrAnyItems

protected java.util.List<ServiceType.EndpointOrAnyItem> endpointOrAnyItems
Constructor Detail

ServiceType

public ServiceType()
Method Detail

getEndpointOrAny

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

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

    getEndpointOrAny().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<EndpointType> Element Object


setEndpointOrAny

public void setEndpointOrAny(java.util.List<java.lang.Object> endpointOrAny)

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getInterface

public javax.xml.namespace.QName getInterface()
Gets the value of the interface property.

Returns:
possible object is QName

setInterface

public void setInterface(javax.xml.namespace.QName value)
Sets the value of the interface property.

Parameters:
value - allowed object is QName

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

getEndpointOrAnyItems

public java.util.List<ServiceType.EndpointOrAnyItem> getEndpointOrAnyItems()

setEndpointOrAnyItems

public void setEndpointOrAnyItems(java.util.List<ServiceType.EndpointOrAnyItem> value)

getInterfaceElement

public java.lang.String getInterfaceElement()

setInterfaceElement

public void setInterfaceElement(java.lang.String target)


Copyright © 2008 eBM WebSourcing. All Rights Reserved.