public abstract class SimpleType extends Annotated implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Classe Java pour simpleType complex type.
Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
<complexType name="simpleType">
<complexContent>
<extension base="{http://www.w3.org/2001/XMLSchema}annotated">
<group ref="{http://www.w3.org/2001/XMLSchema}simpleDerivation"/>
<attribute name="final" type="{http://www.w3.org/2001/XMLSchema}simpleDerivationSet" />
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
<anyAttribute processContents='lax' namespace='##other'/>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
_final |
protected List |
list |
protected String |
name |
protected Restriction |
restriction |
protected Union |
union |
annotation, id| Constructor and Description |
|---|
SimpleType() |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) |
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy2 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.EqualsStrategy2 strategy) |
List<String> |
getFinal()
Gets the value of the final property.
|
List |
getList()
Obtient la valeur de la propriété list.
|
String |
getName()
Obtient la valeur de la propriété name.
|
Restriction |
getRestriction()
Obtient la valeur de la propriété restriction.
|
Union |
getUnion()
Obtient la valeur de la propriété union.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) |
void |
setList(List value)
Définit la valeur de la propriété list.
|
void |
setName(String value)
Définit la valeur de la propriété name.
|
void |
setRestriction(Restriction value)
Définit la valeur de la propriété restriction.
|
void |
setUnion(Union value)
Définit la valeur de la propriété union.
|
String |
toString() |
getAnnotation, getId, setAnnotation, setIdgetOtherAttributesprotected Restriction restriction
protected List list
protected Union union
protected String name
public Restriction getRestriction()
Restrictionpublic void setRestriction(Restriction value)
value - allowed object is
Restrictionpublic List getList()
Listpublic void setList(List value)
value - allowed object is
Listpublic Union getUnion()
Unionpublic void setUnion(Union value)
value - allowed object is
Unionpublic 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 String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2appendFields 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.EqualsStrategy2 strategy)
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
Copyright © 2008-2017 Linagora. All Rights Reserved.