public abstract class SimpleType 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 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.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> |
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.HashCodeStrategy 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() |
createNewInstance, 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.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.