org.jibx.xsd2jibx
Class XsdElement

java.lang.Object
  extended by org.jibx.xsd2jibx.XsdStructure
      extended by org.jibx.xsd2jibx.XsdFeature
          extended by org.jibx.xsd2jibx.XsdElement

public class XsdElement
extends XsdFeature


Field Summary
 
Fields inherited from class org.jibx.xsd2jibx.XsdFeature
ref, type, xsdType
 
Fields inherited from class org.jibx.xsd2jibx.XsdStructure
name, parentComplexType, schema
 
Constructor Summary
XsdElement()
           
XsdElement(XsdElement original)
          Creates a copy/clone.
 
Method Summary
 java.lang.Object clone()
           
 XsdElement copy()
           
 java.lang.String getAddMethod()
           
 XsdComplexType getComplexType()
           
 java.lang.String getFieldList()
           
 int getMax()
           
 int getMin()
           
 java.lang.String getName()
           
 XsdSimpleType getSimpleType()
           
 java.lang.String getSizeMethod()
           
 XsdType getType()
          returns the type prefixed with the namespace uri if present
 java.lang.String getUse()
           
protected  void importRef()
           
 boolean isCollection()
           
 boolean isComplexType()
           
 boolean isRequired()
          The element is required if the minOccurs is greater than 0.
 boolean isSimpleType()
           
 boolean onlyOne()
           
 void setComplexType(XsdComplexType complexType)
           
 void setMaxOccurs(java.lang.String maxOccurs)
           
 void setMinOccurs(java.lang.String minOccurs)
           
 void setType(XsdType type)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jibx.xsd2jibx.XsdFeature
getFieldName, getFieldQName, getGetMethod, getJavaName, getSetMethod
 
Methods inherited from class org.jibx.xsd2jibx.XsdStructure
createXsdType, getGenerator, getParentComplexType, getSchema, getTargetNamespace, getXsdType, isImportedFromBase, setGenerator, setImportedFromBase, setName, setParentComplexType, setSchema
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XsdElement

public XsdElement(XsdElement original)
Creates a copy/clone.


XsdElement

public XsdElement()
Method Detail

toString

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

copy

public XsdElement copy()

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

getFieldList

public java.lang.String getFieldList()

getAddMethod

public java.lang.String getAddMethod()

getSizeMethod

public java.lang.String getSizeMethod()

importRef

protected void importRef()
Specified by:
importRef in class XsdFeature

getName

public java.lang.String getName()
Overrides:
getName in class XsdStructure

getType

public XsdType getType()
returns the type prefixed with the namespace uri if present

Overrides:
getType in class XsdFeature

getUse

public java.lang.String getUse()

getMin

public int getMin()

getMax

public int getMax()

isRequired

public boolean isRequired()
The element is required if the minOccurs is greater than 0.

Specified by:
isRequired in class XsdFeature

isCollection

public boolean isCollection()

onlyOne

public boolean onlyOne()

getComplexType

public XsdComplexType getComplexType()

isComplexType

public boolean isComplexType()

getSimpleType

public XsdSimpleType getSimpleType()

isSimpleType

public boolean isSimpleType()

setType

public void setType(XsdType type)

setMaxOccurs

public void setMaxOccurs(java.lang.String maxOccurs)

setMinOccurs

public void setMinOccurs(java.lang.String minOccurs)

setComplexType

public void setComplexType(XsdComplexType complexType)