public class Attribute 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 attribute complex type.
Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
<complexType name="attribute">
<complexContent>
<extension base="{http://www.w3.org/2001/XMLSchema}annotated">
<sequence>
<element name="simpleType" type="{http://www.w3.org/2001/XMLSchema}localSimpleType" minOccurs="0"/>
</sequence>
<attGroup ref="{http://www.w3.org/2001/XMLSchema}defRef"/>
<attribute name="type" type="{http://www.w3.org/2001/XMLSchema}QName" />
<attribute name="use" default="optional">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<enumeration value="prohibited"/>
<enumeration value="optional"/>
<enumeration value="required"/>
</restriction>
</simpleType>
</attribute>
<attribute name="default" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="fixed" type="{http://www.w3.org/2001/XMLSchema}string" />
<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 String |
_default |
protected String |
fixed |
protected FormChoice |
form |
protected String |
name |
protected QName |
ref |
protected LocalSimpleType |
simpleType |
protected QName |
type |
protected String |
use |
annotation, id| Constructor and Description |
|---|
Attribute() |
| 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) |
Object |
createNewInstance() |
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) |
String |
getDefault()
Obtient la valeur de la propriété default.
|
String |
getFixed()
Obtient la valeur de la propriété fixed.
|
FormChoice |
getForm()
Obtient la valeur de la propriété form.
|
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 |
getType()
Obtient la valeur de la propriété type.
|
String |
getUse()
Obtient la valeur de la propriété use.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
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 |
setName(String value)
Définit la valeur de la propriété name.
|
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 |
setType(QName value)
Définit la valeur de la propriété type.
|
void |
setUse(String value)
Définit la valeur de la propriété use.
|
String |
toString() |
getAnnotation, getId, setAnnotation, setIdgetOtherAttributesprotected LocalSimpleType simpleType
protected QName type
protected String use
protected String _default
protected String fixed
protected FormChoice form
protected String name
protected QName ref
public LocalSimpleType getSimpleType()
LocalSimpleTypepublic void setSimpleType(LocalSimpleType value)
value - allowed object is
LocalSimpleTypepublic QName getType()
QNamepublic void setType(QName value)
value - allowed object is
QNamepublic String getUse()
Stringpublic void setUse(String value)
value - allowed object is
Stringpublic String getDefault()
Stringpublic void setDefault(String value)
value - allowed object is
Stringpublic String getFixed()
Stringpublic void setFixed(String value)
value - allowed object is
Stringpublic 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 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)
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
public Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTocreateNewInstance in class AnnotatedCopyright © 2008-2015 Petals Link (previously EBM WebSourcing). All Rights Reserved.