public abstract class SimpleType extends Annotated
Java class for simpleType complex type.
The following schema fragment specifies the expected content contained within this class.
<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 |
|---|---|
List<String> |
getFinal()
Gets the value of the final property.
|
List |
getList()
Gets the value of the list property.
|
String |
getName()
Gets the value of the name property.
|
Restriction |
getRestriction()
Gets the value of the restriction property.
|
Union |
getUnion()
Gets the value of the union property.
|
void |
setList(List value)
Sets the value of the list property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setRestriction(Restriction value)
Sets the value of the restriction property.
|
void |
setUnion(Union value)
Sets the value of the union property.
|
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 void setList(List value)
value - allowed object is Listpublic Union getUnion()
Unionpublic void setUnion(Union value)
value - allowed object is Unionpublic List<String> getFinal()
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
Stringpublic String getName()
StringCopyright © 2003–2023 MuleSoft, Inc.. All rights reserved.