|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.w3._2001.xmlschema.OpenAttrs
org.w3._2001.xmlschema.Annotated
org.w3._2001.xmlschema.RestrictionType
public class RestrictionType
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>
| Nested Class Summary | |
|---|---|
static class |
RestrictionType.AttributeOrAttributeGroupItem
|
static class |
RestrictionType.FacetsItem
|
| Field Summary | |
|---|---|
protected All |
all
|
protected Wildcard |
anyAttribute
|
protected java.util.List<Annotated> |
attributeOrAttributeGroup
|
protected java.util.List<RestrictionType.AttributeOrAttributeGroupItem> |
attributeOrAttributeGroupItems
|
protected javax.xml.namespace.QName |
base
|
protected ExplicitGroup |
choice
|
protected java.util.List<java.lang.Object> |
facets
|
protected java.util.List<RestrictionType.FacetsItem> |
facetsItems
|
protected GroupRef |
group
|
protected ExplicitGroup |
sequence
|
protected LocalSimpleType |
simpleType
|
| Fields inherited from class org.w3._2001.xmlschema.Annotated |
|---|
annotation, id |
| Fields inherited from class org.w3._2001.xmlschema.OpenAttrs |
|---|
hjid |
| Constructor Summary | |
|---|---|
RestrictionType()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
|
void |
equals(java.lang.Object object,
org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
|
All |
getAll()
Gets the value of the all property. |
Wildcard |
getAnyAttribute()
Gets the value of the anyAttribute property. |
java.util.List<Annotated> |
getAttributeOrAttributeGroup()
Gets the value of the attributeOrAttributeGroup property. |
java.util.List<RestrictionType.AttributeOrAttributeGroupItem> |
getAttributeOrAttributeGroupItems()
|
javax.xml.namespace.QName |
getBase()
Gets the value of the base property. |
java.lang.String |
getBaseElement()
|
ExplicitGroup |
getChoice()
Gets the value of the choice property. |
java.util.List<java.lang.Object> |
getFacets()
Gets the value of the facets property. |
java.util.List<RestrictionType.FacetsItem> |
getFacetsItems()
|
GroupRef |
getGroup()
Gets the value of the group property. |
ExplicitGroup |
getSequence()
Gets the value of the sequence property. |
LocalSimpleType |
getSimpleType()
Gets the value of the simpleType property. |
int |
hashCode()
|
void |
hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
|
void |
setAll(All value)
Sets the value of the all property. |
void |
setAnyAttribute(Wildcard value)
Sets the value of the anyAttribute property. |
void |
setAttributeOrAttributeGroup(java.util.List<Annotated> attributeOrAttributeGroup)
|
void |
setAttributeOrAttributeGroupItems(java.util.List<RestrictionType.AttributeOrAttributeGroupItem> value)
|
void |
setBase(javax.xml.namespace.QName value)
Sets the value of the base property. |
void |
setBaseElement(java.lang.String target)
|
void |
setChoice(ExplicitGroup value)
Sets the value of the choice property. |
void |
setFacets(java.util.List<java.lang.Object> facets)
|
void |
setFacetsItems(java.util.List<RestrictionType.FacetsItem> value)
|
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. |
java.lang.String |
toString()
|
void |
toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
|
| Methods inherited from class org.w3._2001.xmlschema.Annotated |
|---|
getAnnotation, getId, setAnnotation, setId |
| Methods inherited from class org.w3._2001.xmlschema.OpenAttrs |
|---|
getHjid, getOtherAttributes, setHjid |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected GroupRef group
protected All all
protected ExplicitGroup choice
protected ExplicitGroup sequence
protected LocalSimpleType simpleType
protected java.util.List<java.lang.Object> facets
protected java.util.List<Annotated> attributeOrAttributeGroup
protected Wildcard anyAttribute
protected javax.xml.namespace.QName base
protected java.util.List<RestrictionType.FacetsItem> facetsItems
protected java.util.List<RestrictionType.AttributeOrAttributeGroupItem> attributeOrAttributeGroupItems
| Constructor Detail |
|---|
public RestrictionType()
| Method Detail |
|---|
public GroupRef getGroup()
GroupRefpublic void setGroup(GroupRef value)
value - allowed object is
GroupRefpublic All getAll()
Allpublic void setAll(All value)
value - allowed object is
Allpublic ExplicitGroup getChoice()
ExplicitGrouppublic void setChoice(ExplicitGroup value)
value - allowed object is
ExplicitGrouppublic ExplicitGroup getSequence()
ExplicitGrouppublic void setSequence(ExplicitGroup value)
value - allowed object is
ExplicitGrouppublic 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>
Pattern
JAXBElement<Facet>
JAXBElement<Facet>
JAXBElement<NumFacet>
WhiteSpace
JAXBElement<NumFacet>
JAXBElement<Facet>
JAXBElement<NumFacet>
JAXBElement<NumFacet>
TotalDigits
JAXBElement<Facet>
public void setFacets(java.util.List<java.lang.Object> facets)
public java.util.List<Annotated> getAttributeOrAttributeGroup()
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 attributeOrAttributeGroup property.
For example, to add a new item, do as follows:
getAttributeOrAttributeGroup().add(newItem);
Objects of the following type(s) are allowed in the list
Attribute
AttributeGroupRef
public void setAttributeOrAttributeGroup(java.util.List<Annotated> attributeOrAttributeGroup)
public Wildcard getAnyAttribute()
Wildcardpublic void setAnyAttribute(Wildcard value)
value - allowed object is
Wildcardpublic javax.xml.namespace.QName getBase()
QNamepublic void setBase(javax.xml.namespace.QName value)
value - allowed object is
QNamepublic void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
toString in interface org.jvnet.jaxb2_commons.lang.ToStringtoString in class Annotatedpublic java.lang.String toString()
toString in class Annotated
public void equals(java.lang.Object object,
org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class Annotatedpublic boolean equals(java.lang.Object object)
equals in class Annotatedpublic void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class Annotatedpublic int hashCode()
hashCode in class Annotatedpublic java.util.List<RestrictionType.FacetsItem> getFacetsItems()
public void setFacetsItems(java.util.List<RestrictionType.FacetsItem> value)
public java.util.List<RestrictionType.AttributeOrAttributeGroupItem> getAttributeOrAttributeGroupItems()
public void setAttributeOrAttributeGroupItems(java.util.List<RestrictionType.AttributeOrAttributeGroupItem> value)
public java.lang.String getBaseElement()
public void setBaseElement(java.lang.String target)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||