public class Restriction extends Annotated
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<extension base="{http://www.w3.org/2001/XMLSchema}annotated">
<group ref="{http://www.w3.org/2001/XMLSchema}simpleRestrictionModel"/>
<attribute name="base" type="{http://www.w3.org/2001/XMLSchema}QName" />
<anyAttribute processContents='lax' namespace='##other'/>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected javax.xml.namespace.QName |
base |
protected java.util.List<java.lang.Object> |
facets |
protected LocalSimpleType |
simpleType |
annotation, id| Constructor and Description |
|---|
Restriction() |
| Modifier and Type | Method and Description |
|---|---|
javax.xml.namespace.QName |
getBase()
Gets the value of the base property.
|
java.util.List<java.lang.Object> |
getFacets()
Gets the value of the facets property.
|
LocalSimpleType |
getSimpleType()
Gets the value of the simpleType property.
|
void |
setBase(javax.xml.namespace.QName value)
Sets the value of the base property.
|
void |
setSimpleType(LocalSimpleType value)
Sets the value of the simpleType property.
|
getAnnotation, getId, setAnnotation, setIdgetOtherAttributesprotected LocalSimpleType simpleType
protected java.util.List<java.lang.Object> facets
protected javax.xml.namespace.QName base
public LocalSimpleType getSimpleType()
LocalSimpleTypepublic void setSimpleType(LocalSimpleType value)
value - allowed object is
LocalSimpleTypepublic java.util.List<java.lang.Object> getFacets()
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 facets property.
For example, to add a new item, do as follows:
getFacets().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<NoFixedFacet>
JAXBElement<Facet>
JAXBElement<NumFacet>
JAXBElement<Facet>
JAXBElement<NumFacet>
Pattern
JAXBElement<NumFacet>
JAXBElement<NumFacet>
JAXBElement<Facet>
WhiteSpace
JAXBElement<Facet>
TotalDigits
public javax.xml.namespace.QName getBase()
QNamepublic void setBase(javax.xml.namespace.QName value)
value - allowed object is
QNameCopyright © 2018 SAP SE. All Rights Reserved.