public class RestrictionType extends Annotated
Java class for restrictionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="restrictionType">
<complexContent>
<extension base="{http://www.w3.org/2001/XMLSchema}annotated">
<sequence>
<choice minOccurs="0">
<group ref="{http://www.w3.org/2001/XMLSchema}typeDefParticle"/>
<group ref="{http://www.w3.org/2001/XMLSchema}simpleRestrictionModel"/>
</choice>
<group ref="{http://www.w3.org/2001/XMLSchema}attrDecls"/>
</sequence>
<attribute name="base" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected All |
all |
protected Wildcard |
anyAttribute |
protected List<Annotated> |
attributesAndAttributeGroups |
protected QName |
base |
protected ExplicitGroup |
choice |
protected GroupRef |
group |
protected List<Object> |
minExclusivesAndMinInclusivesAndMaxExclusives |
protected ExplicitGroup |
sequence |
protected LocalSimpleType |
simpleType |
annotation, id| Constructor and Description |
|---|
RestrictionType() |
| Modifier and Type | Method and Description |
|---|---|
All |
getAll()
Gets the value of the all property.
|
Wildcard |
getAnyAttribute()
Gets the value of the anyAttribute property.
|
List<Annotated> |
getAttributesAndAttributeGroups()
Gets the value of the attributesAndAttributeGroups property.
|
QName |
getBase()
Gets the value of the base property.
|
ExplicitGroup |
getChoice()
Gets the value of the choice property.
|
GroupRef |
getGroup()
Gets the value of the group property.
|
List<Object> |
getMinExclusivesAndMinInclusivesAndMaxExclusives()
Gets the value of the minExclusivesAndMinInclusivesAndMaxExclusives property.
|
ExplicitGroup |
getSequence()
Gets the value of the sequence property.
|
LocalSimpleType |
getSimpleType()
Gets the value of the simpleType property.
|
void |
setAll(All value)
Sets the value of the all property.
|
void |
setAnyAttribute(Wildcard value)
Sets the value of the anyAttribute property.
|
void |
setBase(QName value)
Sets the value of the base property.
|
void |
setChoice(ExplicitGroup value)
Sets the value of the choice property.
|
void |
setGroup(GroupRef value)
Sets the value of the group property.
|
void |
setSequence(ExplicitGroup value)
Sets the value of the sequence property.
|
void |
setSimpleType(LocalSimpleType value)
Sets the value of the simpleType property.
|
getAnnotation, getId, setAnnotation, setIdgetOtherAttributesprotected LocalSimpleType simpleType
protected List<Object> minExclusivesAndMinInclusivesAndMaxExclusives
protected ExplicitGroup sequence
protected ExplicitGroup choice
protected All all
protected GroupRef group
protected Wildcard anyAttribute
protected QName base
public LocalSimpleType getSimpleType()
LocalSimpleTypepublic void setSimpleType(LocalSimpleType value)
value - allowed object is
LocalSimpleTypepublic List<Object> getMinExclusivesAndMinInclusivesAndMaxExclusives()
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 minExclusivesAndMinInclusivesAndMaxExclusives property.
For example, to add a new item, do as follows:
getMinExclusivesAndMinInclusivesAndMaxExclusives().add(newItem);
Objects of the following type(s) are allowed in the list
Enumeration
JAXBElement<Facet>
JAXBElement<Facet>
WhiteSpace
TotalDigits
JAXBElement<Facet>
JAXBElement<NumFacet>
Pattern
JAXBElement<NumFacet>
JAXBElement<NumFacet>
JAXBElement<Facet>
JAXBElement<NumFacet>
public ExplicitGroup getSequence()
ExplicitGrouppublic void setSequence(ExplicitGroup value)
value - allowed object is
ExplicitGrouppublic ExplicitGroup getChoice()
ExplicitGrouppublic void setChoice(ExplicitGroup value)
value - allowed object is
ExplicitGrouppublic void setAll(All value)
value - allowed object is
Allpublic GroupRef getGroup()
GroupRefpublic void setGroup(GroupRef value)
value - allowed object is
GroupRefpublic List<Annotated> getAttributesAndAttributeGroups()
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 attributesAndAttributeGroups property.
For example, to add a new item, do as follows:
getAttributesAndAttributeGroups().add(newItem);
Objects of the following type(s) are allowed in the list
Attribute
AttributeGroupRef
public Wildcard getAnyAttribute()
Wildcardpublic void setAnyAttribute(Wildcard value)
value - allowed object is
Wildcardpublic QName getBase()
QNameCopyright © 2017. All rights reserved.