public abstract class Element extends Annotated
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" /> <anyAttribute processContents='lax' namespace='##other'/> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Boolean |
_abstract |
protected String |
_default |
protected List<String> |
_final |
protected List<String> |
block |
protected LocalComplexType |
complexType |
protected String |
fixed |
protected FormChoice |
form |
protected List<Object> |
identityConstraint |
protected String |
maxOccurs |
protected BigInteger |
minOccurs |
protected String |
name |
protected Boolean |
nillable |
protected QName |
ref |
protected LocalSimpleType |
simpleType |
protected QName |
substitutionGroup |
protected QName |
type |
annotation, id
Constructor and Description |
---|
Element() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getBlock()
Gets the value of the block property.
|
LocalComplexType |
getComplexType()
Gets the value of the complexType property.
|
String |
getDefault()
Gets the value of the default property.
|
List<String> |
getFinal()
Gets the value of the final property.
|
String |
getFixed()
Gets the value of the fixed property.
|
FormChoice |
getForm()
Gets the value of the form property.
|
List<Object> |
getIdentityConstraint()
Gets the value of the identityConstraint 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.
|
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.
|
getAnnotation, getId, setAnnotation, setId
getOtherAttributes
protected LocalSimpleType simpleType
protected LocalComplexType complexType
protected QName type
protected QName substitutionGroup
protected String _default
protected String fixed
protected Boolean nillable
protected Boolean _abstract
protected FormChoice form
protected BigInteger minOccurs
protected String maxOccurs
protected String name
protected QName ref
public LocalSimpleType getSimpleType()
LocalSimpleType
public void setSimpleType(LocalSimpleType value)
value
- allowed object is
LocalSimpleType
public LocalComplexType getComplexType()
LocalComplexType
public void setComplexType(LocalComplexType value)
value
- allowed object is
LocalComplexType
public List<Object> getIdentityConstraint()
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
Keyref
JAXBElement
<
Keybase
>
JAXBElement
<
Keybase
>
public QName getType()
QName
public void setType(QName value)
value
- allowed object is
QName
public QName getSubstitutionGroup()
QName
public void setSubstitutionGroup(QName value)
value
- allowed object is
QName
public String getDefault()
String
public void setDefault(String value)
value
- allowed object is
String
public String getFixed()
String
public void setFixed(String value)
value
- allowed object is
String
public boolean isNillable()
Boolean
public void setNillable(Boolean value)
value
- allowed object is
Boolean
public boolean isAbstract()
Boolean
public void setAbstract(Boolean value)
value
- allowed object is
Boolean
public List<String> getFinal()
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
public List<String> getBlock()
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
public FormChoice getForm()
FormChoice
public void setForm(FormChoice value)
value
- allowed object is
FormChoice
public BigInteger getMinOccurs()
BigInteger
public void setMinOccurs(BigInteger value)
value
- allowed object is
BigInteger
public String getMaxOccurs()
String
public void setMaxOccurs(String value)
value
- allowed object is
String
public String getName()
String
public void setName(String value)
value
- allowed object is
String
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.