public class Attribute extends Annotated
Java class for attribute complex type.
The following schema fragment specifies the expected content contained within this class.
<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 java.lang.String |
_default |
protected java.lang.String |
fixed |
protected FormChoice |
form |
protected java.lang.String |
name |
protected javax.xml.namespace.QName |
ref |
protected LocalSimpleType |
simpleType |
protected javax.xml.namespace.QName |
type |
protected java.lang.String |
use |
annotation, id| Constructor and Description |
|---|
Attribute() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDefault()
Gets the value of the default property.
|
java.lang.String |
getFixed()
Gets the value of the fixed property.
|
FormChoice |
getForm()
Gets the value of the form property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
javax.xml.namespace.QName |
getRef()
Gets the value of the ref property.
|
LocalSimpleType |
getSimpleType()
Gets the value of the simpleType property.
|
javax.xml.namespace.QName |
getType()
Gets the value of the type property.
|
java.lang.String |
getUse()
Gets the value of the use property.
|
void |
setDefault(java.lang.String value)
Sets the value of the default property.
|
void |
setFixed(java.lang.String value)
Sets the value of the fixed property.
|
void |
setForm(FormChoice value)
Sets the value of the form property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
void |
setRef(javax.xml.namespace.QName value)
Sets the value of the ref property.
|
void |
setSimpleType(LocalSimpleType value)
Sets the value of the simpleType property.
|
void |
setType(javax.xml.namespace.QName value)
Sets the value of the type property.
|
void |
setUse(java.lang.String value)
Sets the value of the use property.
|
getAnnotation, getId, setAnnotation, setIdgetOtherAttributesprotected LocalSimpleType simpleType
protected javax.xml.namespace.QName type
protected java.lang.String use
protected java.lang.String _default
protected java.lang.String fixed
protected FormChoice form
protected java.lang.String name
protected javax.xml.namespace.QName ref
public LocalSimpleType getSimpleType()
LocalSimpleTypepublic void setSimpleType(LocalSimpleType value)
value - allowed object is
LocalSimpleTypepublic javax.xml.namespace.QName getType()
QNamepublic void setType(javax.xml.namespace.QName value)
value - allowed object is
QNamepublic java.lang.String getUse()
Stringpublic void setUse(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getDefault()
Stringpublic void setDefault(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getFixed()
Stringpublic void setFixed(java.lang.String value)
value - allowed object is
Stringpublic FormChoice getForm()
FormChoicepublic void setForm(FormChoice value)
value - allowed object is
FormChoicepublic java.lang.String getName()
Stringpublic void setName(java.lang.String value)
value - allowed object is
Stringpublic javax.xml.namespace.QName getRef()
QNamepublic void setRef(javax.xml.namespace.QName value)
value - allowed object is
QNameCopyright © 2018 SAP SE. All Rights Reserved.