public abstract class Element extends Annotated implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Classe Java pour element complex type.
Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
<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>
| 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 |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy) |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
List<String> |
getBlock()
Gets the value of the block property.
|
LocalComplexType |
getComplexType()
Obtient la valeur de la propriété complexType.
|
String |
getDefault()
Obtient la valeur de la propriété default.
|
List<String> |
getFinal()
Gets the value of the final property.
|
String |
getFixed()
Obtient la valeur de la propriété fixed.
|
FormChoice |
getForm()
Obtient la valeur de la propriété form.
|
List<Object> |
getIdentityConstraint()
Gets the value of the identityConstraint property.
|
String |
getMaxOccurs()
Obtient la valeur de la propriété maxOccurs.
|
BigInteger |
getMinOccurs()
Obtient la valeur de la propriété minOccurs.
|
String |
getName()
Obtient la valeur de la propriété name.
|
QName |
getRef()
Obtient la valeur de la propriété ref.
|
LocalSimpleType |
getSimpleType()
Obtient la valeur de la propriété simpleType.
|
QName |
getSubstitutionGroup()
Obtient la valeur de la propriété substitutionGroup.
|
QName |
getType()
Obtient la valeur de la propriété type.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
boolean |
isAbstract()
Obtient la valeur de la propriété abstract.
|
boolean |
isNillable()
Obtient la valeur de la propriété nillable.
|
void |
setAbstract(Boolean value)
Définit la valeur de la propriété abstract.
|
void |
setComplexType(LocalComplexType value)
Définit la valeur de la propriété complexType.
|
void |
setDefault(String value)
Définit la valeur de la propriété default.
|
void |
setFixed(String value)
Définit la valeur de la propriété fixed.
|
void |
setForm(FormChoice value)
Définit la valeur de la propriété form.
|
void |
setMaxOccurs(String value)
Définit la valeur de la propriété maxOccurs.
|
void |
setMinOccurs(BigInteger value)
Définit la valeur de la propriété minOccurs.
|
void |
setName(String value)
Définit la valeur de la propriété name.
|
void |
setNillable(Boolean value)
Définit la valeur de la propriété nillable.
|
void |
setRef(QName value)
Définit la valeur de la propriété ref.
|
void |
setSimpleType(LocalSimpleType value)
Définit la valeur de la propriété simpleType.
|
void |
setSubstitutionGroup(QName value)
Définit la valeur de la propriété substitutionGroup.
|
void |
setType(QName value)
Définit la valeur de la propriété type.
|
String |
toString() |
createNewInstance, getAnnotation, getId, setAnnotation, setIdgetOtherAttributesprotected 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 String name
protected QName ref
protected BigInteger minOccurs
protected String maxOccurs
public LocalSimpleType getSimpleType()
LocalSimpleTypepublic void setSimpleType(LocalSimpleType value)
value - allowed object is
LocalSimpleTypepublic LocalComplexType getComplexType()
LocalComplexTypepublic void setComplexType(LocalComplexType value)
value - allowed object is
LocalComplexTypepublic List<Object> getIdentityConstraint()
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>
Keyref
JAXBElement<Keybase>
public QName getType()
QNamepublic void setType(QName value)
value - allowed object is
QNamepublic QName getSubstitutionGroup()
QNamepublic void setSubstitutionGroup(QName value)
value - allowed object is
QNamepublic String getDefault()
Stringpublic void setDefault(String value)
value - allowed object is
Stringpublic String getFixed()
Stringpublic void setFixed(String value)
value - allowed object is
Stringpublic boolean isNillable()
Booleanpublic void setNillable(Boolean value)
value - allowed object is
Booleanpublic boolean isAbstract()
Booleanpublic void setAbstract(Boolean value)
value - allowed object is
Booleanpublic List<String> getFinal()
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
public List<String> getBlock()
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
public FormChoice getForm()
FormChoicepublic void setForm(FormChoice value)
value - allowed object is
FormChoicepublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic QName getRef()
QNamepublic void setRef(QName value)
value - allowed object is
QNamepublic BigInteger getMinOccurs()
BigIntegerpublic void setMinOccurs(BigInteger value)
value - allowed object is
BigIntegerpublic String getMaxOccurs()
Stringpublic void setMaxOccurs(String value)
value - allowed object is
Stringpublic StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class Annotatedpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Copyright © 2008-2015 Petals Link (previously EBM WebSourcing). All Rights Reserved.