org.plasma.xml.schema
Class RestrictionType

java.lang.Object
  extended by org.plasma.xml.schema.OpenAttrs
      extended by org.plasma.xml.schema.Annotated
          extended by org.plasma.xml.schema.RestrictionType
Direct Known Subclasses:
ComplexRestrictionType, SimpleRestrictionType

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>
 


Field Summary
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
           
 
Fields inherited from class org.plasma.xml.schema.Annotated
annotation, id
 
Constructor Summary
RestrictionType()
           
 
Method Summary
 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.
 
Methods inherited from class org.plasma.xml.schema.Annotated
getAnnotation, getId, setAnnotation, setId
 
Methods inherited from class org.plasma.xml.schema.OpenAttrs
getOtherAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

simpleType

protected LocalSimpleType simpleType

minExclusivesAndMinInclusivesAndMaxExclusives

protected List<Object> minExclusivesAndMinInclusivesAndMaxExclusives

sequence

protected ExplicitGroup sequence

choice

protected ExplicitGroup choice

all

protected All all

group

protected GroupRef group

attributesAndAttributeGroups

protected List<Annotated> attributesAndAttributeGroups

anyAttribute

protected Wildcard anyAttribute

base

protected QName base
Constructor Detail

RestrictionType

public RestrictionType()
Method Detail

getSimpleType

public LocalSimpleType getSimpleType()
Gets the value of the simpleType property.

Returns:
possible object is LocalSimpleType

setSimpleType

public void setSimpleType(LocalSimpleType value)
Sets the value of the simpleType property.

Parameters:
value - allowed object is LocalSimpleType

getMinExclusivesAndMinInclusivesAndMaxExclusives

public List<Object> getMinExclusivesAndMinInclusivesAndMaxExclusives()
Gets the value of the minExclusivesAndMinInclusivesAndMaxExclusives property.

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>


getSequence

public ExplicitGroup getSequence()
Gets the value of the sequence property.

Returns:
possible object is ExplicitGroup

setSequence

public void setSequence(ExplicitGroup value)
Sets the value of the sequence property.

Parameters:
value - allowed object is ExplicitGroup

getChoice

public ExplicitGroup getChoice()
Gets the value of the choice property.

Returns:
possible object is ExplicitGroup

setChoice

public void setChoice(ExplicitGroup value)
Sets the value of the choice property.

Parameters:
value - allowed object is ExplicitGroup

getAll

public All getAll()
Gets the value of the all property.

Returns:
possible object is All

setAll

public void setAll(All value)
Sets the value of the all property.

Parameters:
value - allowed object is All

getGroup

public GroupRef getGroup()
Gets the value of the group property.

Returns:
possible object is GroupRef

setGroup

public void setGroup(GroupRef value)
Sets the value of the group property.

Parameters:
value - allowed object is GroupRef

getAttributesAndAttributeGroups

public List<Annotated> getAttributesAndAttributeGroups()
Gets the value of the attributesAndAttributeGroups property.

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


getAnyAttribute

public Wildcard getAnyAttribute()
Gets the value of the anyAttribute property.

Returns:
possible object is Wildcard

setAnyAttribute

public void setAnyAttribute(Wildcard value)
Sets the value of the anyAttribute property.

Parameters:
value - allowed object is Wildcard

getBase

public QName getBase()
Gets the value of the base property.

Returns:
possible object is QName

setBase

public void setBase(QName value)
Sets the value of the base property.

Parameters:
value - allowed object is QName


Copyright © 2013. All rights reserved.