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

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.Element
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
Direct Known Subclasses:
LocalElement, TopLevelElement

public abstract class Element
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

The element element can be used either at the top level to define an element-type binding globally, or within a content model to either reference a globally-defined element or type or declare an element-type binding locally. The ref form is not allowed at the top level.

Java class for element complex type.

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

 <complexType name="element">
   <complexContent>
     <extension base="{http://www.w3.org/2001/XMLSchema}annotated">
       <sequence>
         <choice minOccurs="0">
           <element name="simpleType" type="{http://www.w3.org/2001/XMLSchema}localSimpleType"/>
           <element name="complexType" type="{http://www.w3.org/2001/XMLSchema}localComplexType"/>
         </choice>
         <group ref="{http://www.w3.org/2001/XMLSchema}identityConstraint" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attGroup ref="{http://www.w3.org/2001/XMLSchema}defRef"/>
       <attGroup ref="{http://www.w3.org/2001/XMLSchema}occurs"/>
       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}QName" />
       <attribute name="substitutionGroup" type="{http://www.w3.org/2001/XMLSchema}QName" />
       <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="fixed" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="nillable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="abstract" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="final" type="{http://www.w3.org/2001/XMLSchema}derivationSet" />
       <attribute name="block" type="{http://www.w3.org/2001/XMLSchema}blockSet" />
       <attribute name="form" type="{http://www.w3.org/2001/XMLSchema}formChoice" />
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.Boolean _abstract
           
protected  java.lang.String _default
           
protected  java.util.List<java.lang.String> _final
           
protected  java.util.List<java.lang.String> block
           
protected  LocalComplexType complexType
           
protected  java.lang.String fixed
           
protected  FormChoice form
           
protected  java.util.List<java.lang.Object> identityConstraint
           
protected  java.lang.String maxOccurs
           
protected  java.math.BigInteger minOccurs
           
protected  java.lang.String name
           
protected  java.lang.Boolean nillable
           
protected  javax.xml.namespace.QName ref
           
protected  LocalSimpleType simpleType
           
protected  javax.xml.namespace.QName substitutionGroup
           
protected  javax.xml.namespace.QName type
           
 
Fields inherited from class org.ow2.easywsdl.schema.org.w3._2001.xmlschema.Annotated
annotation, id
 
Constructor Summary
Element()
           
 
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)
           
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 java.util.List<java.lang.String> getBlock()
          Gets the value of the block property.
 LocalComplexType getComplexType()
          Gets the value of the complexType property.
 java.lang.String getDefault()
          Gets the value of the default property.
 java.util.List<java.lang.String> getFinal()
          Gets the value of the final property.
 java.lang.String getFixed()
          Gets the value of the fixed property.
 FormChoice getForm()
          Gets the value of the form property.
 java.util.List<java.lang.Object> getIdentityConstraint()
          Gets the value of the identityConstraint property.
 java.lang.String getMaxOccurs()
          Gets the value of the maxOccurs property.
 java.math.BigInteger getMinOccurs()
          Gets the value of the minOccurs property.
 java.lang.String getName()
          Gets the value of the name property.
 javax.xml.namespace.QName getRef()
          Gets the value of the ref property.
 LocalSimpleType getSimpleType()
          Gets the value of the simpleType property.
 javax.xml.namespace.QName getSubstitutionGroup()
          Gets the value of the substitutionGroup property.
 javax.xml.namespace.QName getType()
          Gets the value of the type property.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 boolean isAbstract()
          Gets the value of the abstract property.
 boolean isNillable()
          Gets the value of the nillable property.
 void setAbstract(java.lang.Boolean value)
          Sets the value of the abstract property.
 void setComplexType(LocalComplexType value)
          Sets the value of the complexType property.
 void setDefault(java.lang.String value)
          Sets the value of the default property.
 void setFixed(java.lang.String value)
          Sets the value of the fixed property.
 void setForm(FormChoice value)
          Sets the value of the form property.
 void setMaxOccurs(java.lang.String value)
          Sets the value of the maxOccurs property.
 void setMinOccurs(java.math.BigInteger value)
          Sets the value of the minOccurs property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setNillable(java.lang.Boolean value)
          Sets the value of the nillable property.
 void setRef(javax.xml.namespace.QName value)
          Sets the value of the ref property.
 void setSimpleType(LocalSimpleType value)
          Sets the value of the simpleType property.
 void setSubstitutionGroup(javax.xml.namespace.QName value)
          Sets the value of the substitutionGroup property.
 void setType(javax.xml.namespace.QName value)
          Sets the value of the type property.
 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
createCopy, 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
 
Methods inherited from interface org.jvnet.jaxb2_commons.lang.CopyTo
createCopy
 
Methods inherited from interface org.jvnet.jaxb2_commons.lang.Copyable
createCopy
 

Field Detail

simpleType

protected LocalSimpleType simpleType

complexType

protected LocalComplexType complexType

identityConstraint

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

type

protected javax.xml.namespace.QName type

substitutionGroup

protected javax.xml.namespace.QName substitutionGroup

_default

protected java.lang.String _default

fixed

protected java.lang.String fixed

nillable

protected java.lang.Boolean nillable

_abstract

protected java.lang.Boolean _abstract

_final

protected java.util.List<java.lang.String> _final

block

protected java.util.List<java.lang.String> block

form

protected FormChoice form

name

protected java.lang.String name

ref

protected javax.xml.namespace.QName ref

minOccurs

protected java.math.BigInteger minOccurs

maxOccurs

protected java.lang.String maxOccurs
Constructor Detail

Element

public Element()
Method Detail

getSimpleType

public LocalSimpleType getSimpleType()
Gets the value of the simpleType property.

Returns:
possible object is LocalSimpleType

setSimpleType

public void setSimpleType(LocalSimpleType value)
Sets the value of the simpleType property.

Parameters:
value - allowed object is LocalSimpleType

getComplexType

public LocalComplexType getComplexType()
Gets the value of the complexType property.

Returns:
possible object is LocalComplexType

setComplexType

public void setComplexType(LocalComplexType value)
Sets the value of the complexType property.

Parameters:
value - allowed object is LocalComplexType

getIdentityConstraint

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

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

    getIdentityConstraint().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<Keybase> JAXBElement<Keybase> Keyref


getType

public javax.xml.namespace.QName getType()
Gets the value of the type property.

Returns:
possible object is QName

setType

public void setType(javax.xml.namespace.QName value)
Sets the value of the type property.

Parameters:
value - allowed object is QName

getSubstitutionGroup

public javax.xml.namespace.QName getSubstitutionGroup()
Gets the value of the substitutionGroup property.

Returns:
possible object is QName

setSubstitutionGroup

public void setSubstitutionGroup(javax.xml.namespace.QName value)
Sets the value of the substitutionGroup property.

Parameters:
value - allowed object is QName

getDefault

public java.lang.String getDefault()
Gets the value of the default property.

Returns:
possible object is String

setDefault

public void setDefault(java.lang.String value)
Sets the value of the default property.

Parameters:
value - allowed object is String

getFixed

public java.lang.String getFixed()
Gets the value of the fixed property.

Returns:
possible object is String

setFixed

public void setFixed(java.lang.String value)
Sets the value of the fixed property.

Parameters:
value - allowed object is String

isNillable

public boolean isNillable()
Gets the value of the nillable property.

Returns:
possible object is Boolean

setNillable

public void setNillable(java.lang.Boolean value)
Sets the value of the nillable property.

Parameters:
value - allowed object is Boolean

isAbstract

public boolean isAbstract()
Gets the value of the abstract property.

Returns:
possible object is Boolean

setAbstract

public void setAbstract(java.lang.Boolean value)
Sets the value of the abstract property.

Parameters:
value - allowed object is Boolean

getFinal

public java.util.List<java.lang.String> getFinal()
Gets the value of the final 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 final property.

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

    getFinal().add(newItem);
 

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


getBlock

public java.util.List<java.lang.String> getBlock()
Gets the value of the block 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 block property.

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

    getBlock().add(newItem);
 

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


getForm

public FormChoice getForm()
Gets the value of the form property.

Returns:
possible object is FormChoice

setForm

public void setForm(FormChoice value)
Sets the value of the form property.

Parameters:
value - allowed object is FormChoice

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

getRef

public javax.xml.namespace.QName getRef()
Gets the value of the ref property.

Returns:
possible object is QName

setRef

public void setRef(javax.xml.namespace.QName value)
Sets the value of the ref property.

Parameters:
value - allowed object is QName

getMinOccurs

public java.math.BigInteger getMinOccurs()
Gets the value of the minOccurs property.

Returns:
possible object is BigInteger

setMinOccurs

public void setMinOccurs(java.math.BigInteger value)
Sets the value of the minOccurs property.

Parameters:
value - allowed object is BigInteger

getMaxOccurs

public java.lang.String getMaxOccurs()
Gets the value of the maxOccurs property.

Returns:
possible object is String

setMaxOccurs

public void setMaxOccurs(java.lang.String value)
Sets the value of the maxOccurs 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 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


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