@Contract @Hk2XmlPreGenerate public interface 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 | Method and Description |
---|---|
QName |
getBase()
Gets the value of the base property.
|
List<Object> |
getFacets()
Gets the value of the facets property.
|
LocalSimpleType |
getSimpleType()
Gets the value of the simpleType property.
|
void |
setBase(QName value)
Sets the value of the base property.
|
void |
setSimpleType(LocalSimpleType value)
Sets the value of the simpleType property.
|
getAnnotation, getId, setAnnotation, setId
getOtherAttributes, setOtherAttributes
LocalSimpleType getSimpleType()
LocalSimpleType
void setSimpleType(LocalSimpleType value)
value
- allowed object is
LocalSimpleType
List<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
<
Facet
>
JAXBElement
<
NumFacet
>
JAXBElement
<
Facet
>
TotalDigits
JAXBElement
<
NumFacet
>
JAXBElement
<
NoFixedFacet
>
JAXBElement
<
NumFacet
>
JAXBElement
<
NumFacet
>
JAXBElement
<
Facet
>
Pattern
WhiteSpace
JAXBElement
<
Facet
>
Copyright © 2009–2023 Oracle Corporation. All rights reserved.