org.ow2.easywsdl.schema.org.w3._2001.xmlschema
Class Union

java.lang.Object
  extended by org.ow2.easywsdl.schema.org.w3._2001.xmlschema.OpenAttrs
      extended by org.ow2.easywsdl.schema.org.w3._2001.xmlschema.Annotated
          extended by org.ow2.easywsdl.schema.org.w3._2001.xmlschema.Union
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Copyable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

public class Union
extends Annotated
implements org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Copyable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

memberTypes attribute must be non-empty or there must be at least one simpleType child

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <extension base="{http://www.w3.org/2001/XMLSchema}annotated">
       <sequence>
         <element name="simpleType" type="{http://www.w3.org/2001/XMLSchema}localSimpleType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="memberTypes">
         <simpleType>
           <list itemType="{http://www.w3.org/2001/XMLSchema}QName" />
         </simpleType>
       </attribute>
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<javax.xml.namespace.QName> memberTypes
           
protected  java.util.List<LocalSimpleType> simpleType
           
 
Fields inherited from class org.ow2.easywsdl.schema.org.w3._2001.xmlschema.Annotated
annotation, id
 
Constructor Summary
Union()
           
 
Method Summary
 java.lang.Object copyTo(java.lang.Object target)
           
 java.lang.Object copyTo(java.lang.Object target, org.jvnet.jaxb2_commons.lang.builder.CopyBuilder copyBuilder)
           
 java.lang.Object createCopy()
           
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 java.util.List<javax.xml.namespace.QName> getMemberTypes()
          Gets the value of the memberTypes property.
 java.util.List<LocalSimpleType> getSimpleType()
          Gets the value of the simpleType property.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 java.lang.String toString()
           
 void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
           
 
Methods inherited from class org.ow2.easywsdl.schema.org.w3._2001.xmlschema.Annotated
getAnnotation, getId, setAnnotation, setId
 
Methods inherited from class org.ow2.easywsdl.schema.org.w3._2001.xmlschema.OpenAttrs
getOtherAttributes
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

simpleType

protected java.util.List<LocalSimpleType> simpleType

memberTypes

protected java.util.List<javax.xml.namespace.QName> memberTypes
Constructor Detail

Union

public Union()
Method Detail

getSimpleType

public java.util.List<LocalSimpleType> getSimpleType()
Gets the value of the simpleType 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 simpleType property.

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

    getSimpleType().add(newItem);
 

Objects of the following type(s) are allowed in the list LocalSimpleType


getMemberTypes

public java.util.List<javax.xml.namespace.QName> getMemberTypes()
Gets the value of the memberTypes 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 memberTypes property.

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

    getMemberTypes().add(newItem);
 

Objects of the following type(s) are allowed in the list 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 Annotated

toString

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

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 Annotated

equals

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

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 Annotated

hashCode

public int hashCode()
Overrides:
hashCode in class Annotated

copyTo

public java.lang.Object copyTo(java.lang.Object target,
                               org.jvnet.jaxb2_commons.lang.builder.CopyBuilder copyBuilder)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo
Overrides:
copyTo in class Annotated

copyTo

public java.lang.Object copyTo(java.lang.Object target)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.Copyable
Overrides:
copyTo in class Annotated

createCopy

public java.lang.Object createCopy()
Specified by:
createCopy in interface org.jvnet.jaxb2_commons.lang.Copyable
Specified by:
createCopy in interface org.jvnet.jaxb2_commons.lang.CopyTo
Overrides:
createCopy in class Annotated


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