org.plasma.xml.schema
Class AbstractElement

java.lang.Object
  extended by org.plasma.xml.schema.OpenAttrs
      extended by org.plasma.xml.schema.Annotated
          extended by org.plasma.xml.schema.AbstractElement
Direct Known Subclasses:
Element, LocalElement

public abstract class AbstractElement
extends Annotated

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}occurs"/>
       <attGroup ref="{http://www.w3.org/2001/XMLSchema}defRef"/>
       <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" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  Boolean _abstract
           
protected  String _default
           
protected  List<String> blocks
           
protected  LocalComplexType complexType
           
protected  List<String> finals
           
protected  String fixed
           
protected  FormChoice form
           
protected  String maxOccurs
           
protected  BigInteger minOccurs
           
protected  String name
           
protected  Boolean nillable
           
protected  QName ref
           
protected  LocalSimpleType simpleType
           
protected  QName substitutionGroup
           
protected  QName type
           
protected  List<Object> uniquesAndKeiesAndKeyreves
           
 
Fields inherited from class org.plasma.xml.schema.Annotated
annotation, id
 
Constructor Summary
AbstractElement()
           
 
Method Summary
 List<String> getBlocks()
          Gets the value of the blocks property.
 LocalComplexType getComplexType()
          Gets the value of the complexType property.
 String getDefault()
          Gets the value of the default property.
 List<String> getFinals()
          Gets the value of the finals property.
 String getFixed()
          Gets the value of the fixed property.
 FormChoice getForm()
          Gets the value of the form property.
 String getMaxOccurs()
          Gets the value of the maxOccurs property.
 BigInteger getMinOccurs()
          Gets the value of the minOccurs property.
 String getName()
          Gets the value of the name property.
 QName getRef()
          Gets the value of the ref property.
 LocalSimpleType getSimpleType()
          Gets the value of the simpleType property.
 QName getSubstitutionGroup()
          Gets the value of the substitutionGroup property.
 QName getType()
          Gets the value of the type property.
 List<Object> getUniquesAndKeiesAndKeyreves()
          Gets the value of the uniquesAndKeiesAndKeyreves property.
 boolean hasMaxOccurs()
           
 boolean hasMinOccurs()
           
 boolean isAbstract()
          Gets the value of the abstract property.
 boolean isNillable()
          Gets the value of the nillable property.
 void setAbstract(Boolean value)
          Sets the value of the abstract property.
 void setComplexType(LocalComplexType value)
          Sets the value of the complexType property.
 void setDefault(String value)
          Sets the value of the default property.
 void setFixed(String value)
          Sets the value of the fixed property.
 void setForm(FormChoice value)
          Sets the value of the form property.
 void setMaxOccurs(String value)
          Sets the value of the maxOccurs property.
 void setMinOccurs(BigInteger value)
          Sets the value of the minOccurs property.
 void setName(String value)
          Sets the value of the name property.
 void setNillable(Boolean value)
          Sets the value of the nillable property.
 void setRef(QName value)
          Sets the value of the ref property.
 void setSimpleType(LocalSimpleType value)
          Sets the value of the simpleType property.
 void setSubstitutionGroup(QName value)
          Sets the value of the substitutionGroup property.
 void setType(QName value)
          Sets the value of the type property.
 
Methods inherited from class org.plasma.xml.schema.Annotated
getAnnotation, getId, setAnnotation, setId
 
Methods inherited from class org.plasma.xml.schema.OpenAttrs
getOtherAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

complexType

protected LocalComplexType complexType

simpleType

protected LocalSimpleType simpleType

uniquesAndKeiesAndKeyreves

protected List<Object> uniquesAndKeiesAndKeyreves

type

protected QName type

substitutionGroup

protected QName substitutionGroup

_default

protected String _default

fixed

protected String fixed

nillable

protected Boolean nillable

_abstract

protected Boolean _abstract

finals

protected List<String> finals

blocks

protected List<String> blocks

form

protected FormChoice form

minOccurs

protected BigInteger minOccurs

maxOccurs

protected String maxOccurs

name

protected String name

ref

protected QName ref
Constructor Detail

AbstractElement

public AbstractElement()
Method Detail

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

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

getUniquesAndKeiesAndKeyreves

public List<Object> getUniquesAndKeiesAndKeyreves()
Gets the value of the uniquesAndKeiesAndKeyreves 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 uniquesAndKeiesAndKeyreves property.

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

    getUniquesAndKeiesAndKeyreves().add(newItem);
 

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


getType

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

Returns:
possible object is QName

setType

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

Parameters:
value - allowed object is QName

getSubstitutionGroup

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

Returns:
possible object is QName

setSubstitutionGroup

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

Parameters:
value - allowed object is QName

getDefault

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

Returns:
possible object is String

setDefault

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

Parameters:
value - allowed object is String

getFixed

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

Returns:
possible object is String

setFixed

public void setFixed(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(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(Boolean value)
Sets the value of the abstract property.

Parameters:
value - allowed object is Boolean

getFinals

public List<String> getFinals()
Gets the value of the finals 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 finals property.

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

    getFinals().add(newItem);
 

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


getBlocks

public List<String> getBlocks()
Gets the value of the blocks 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 blocks property.

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

    getBlocks().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

hasMinOccurs

public boolean hasMinOccurs()

getMinOccurs

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

Returns:
possible object is BigInteger

setMinOccurs

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

Parameters:
value - allowed object is BigInteger

getMaxOccurs

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

Returns:
possible object is String

hasMaxOccurs

public boolean hasMaxOccurs()

setMaxOccurs

public void setMaxOccurs(String value)
Sets the value of the maxOccurs property.

Parameters:
value - allowed object is String

getName

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

Returns:
possible object is String

setName

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

Parameters:
value - allowed object is String

getRef

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

Returns:
possible object is QName

setRef

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

Parameters:
value - allowed object is QName


Copyright © 2014. All rights reserved.