org.w3._2001.xmlschema
Class Union
java.lang.Object
org.w3._2001.xmlschema.OpenAttrs
org.w3._2001.xmlschema.Annotated
org.w3._2001.xmlschema.Union
- All Implemented Interfaces:
- 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.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>
</extension>
</complexContent>
</complexType>
| Fields inherited from class org.w3._2001.xmlschema.OpenAttrs |
hjid |
|
Constructor Summary |
Union()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
simpleType
protected java.util.List<LocalSimpleType> simpleType
memberTypes
protected java.util.List<javax.xml.namespace.QName> memberTypes
memberTypesItems
protected java.util.List<Union.MemberTypesItem> memberTypesItems
Union
public Union()
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
setSimpleType
public void setSimpleType(java.util.List<LocalSimpleType> simpleType)
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
setMemberTypes
public void setMemberTypes(java.util.List<javax.xml.namespace.QName> memberTypes)
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
getMemberTypesItems
public java.util.List<Union.MemberTypesItem> getMemberTypesItems()
setMemberTypesItems
public void setMemberTypesItems(java.util.List<Union.MemberTypesItem> value)
Copyright © 2008 eBM WebSourcing. All Rights Reserved.