Interface Group
- 
- All Superinterfaces:
 Annotated,OpenAttrs,XmlObject,XmlTokenSource
- All Known Subinterfaces:
 All,ExplicitGroup,GroupRef,NamedGroup,NamedGroup.All,RealGroup,SimpleExplicitGroup
- All Known Implementing Classes:
 AllImpl,ExplicitGroupImpl,GroupImpl,GroupRefImpl,NamedGroupImpl,NamedGroupImpl.AllImpl,RealGroupImpl,SimpleExplicitGroupImpl
public interface Group extends Annotated
An XML group(@http://www.w3.org/2001/XMLSchema). This is a complex type. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classGroup.FactoryA factory class with static methods for creating instances of this type. 
- 
Field Summary
Fields Modifier and Type Field Description static SchemaTypetype- 
Fields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL 
 - 
 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AlladdNewAll()Appends and returns a new empty value (as xml) as the last "all" elementAnyDocument.AnyaddNewAny()Appends and returns a new empty value (as xml) as the last "any" elementExplicitGroupaddNewChoice()Appends and returns a new empty value (as xml) as the last "choice" elementLocalElementaddNewElement()Appends and returns a new empty value (as xml) as the last "element" elementGroupRefaddNewGroup()Appends and returns a new empty value (as xml) as the last "group" elementExplicitGroupaddNewSequence()Appends and returns a new empty value (as xml) as the last "sequence" elementAll[]getAllArray()Gets array of all "all" elementsAllgetAllArray(int i)Gets ith "all" elementAnyDocument.Any[]getAnyArray()Gets array of all "any" elementsAnyDocument.AnygetAnyArray(int i)Gets ith "any" elementExplicitGroup[]getChoiceArray()Gets array of all "choice" elementsExplicitGroupgetChoiceArray(int i)Gets ith "choice" elementLocalElement[]getElementArray()Gets array of all "element" elementsLocalElementgetElementArray(int i)Gets ith "element" elementGroupRef[]getGroupArray()Gets array of all "group" elementsGroupRefgetGroupArray(int i)Gets ith "group" elementjava.lang.ObjectgetMaxOccurs()Gets the "maxOccurs" attributejava.math.BigIntegergetMinOccurs()Gets the "minOccurs" attributejava.lang.StringgetName()Gets the "name" attributejavax.xml.namespace.QNamegetRef()Gets the "ref" attributeExplicitGroup[]getSequenceArray()Gets array of all "sequence" elementsExplicitGroupgetSequenceArray(int i)Gets ith "sequence" elementAllinsertNewAll(int i)Inserts and returns a new empty value (as xml) as the ith "all" elementAnyDocument.AnyinsertNewAny(int i)Inserts and returns a new empty value (as xml) as the ith "any" elementExplicitGroupinsertNewChoice(int i)Inserts and returns a new empty value (as xml) as the ith "choice" elementLocalElementinsertNewElement(int i)Inserts and returns a new empty value (as xml) as the ith "element" elementGroupRefinsertNewGroup(int i)Inserts and returns a new empty value (as xml) as the ith "group" elementExplicitGroupinsertNewSequence(int i)Inserts and returns a new empty value (as xml) as the ith "sequence" elementbooleanisSetMaxOccurs()True if has "maxOccurs" attributebooleanisSetMinOccurs()True if has "minOccurs" attributebooleanisSetName()True if has "name" attributebooleanisSetRef()True if has "ref" attributevoidremoveAll(int i)Removes the ith "all" elementvoidremoveAny(int i)Removes the ith "any" elementvoidremoveChoice(int i)Removes the ith "choice" elementvoidremoveElement(int i)Removes the ith "element" elementvoidremoveGroup(int i)Removes the ith "group" elementvoidremoveSequence(int i)Removes the ith "sequence" elementvoidsetAllArray(int i, All all)Sets ith "all" elementvoidsetAllArray(All[] allArray)Sets array of all "all" elementvoidsetAnyArray(int i, AnyDocument.Any any)Sets ith "any" elementvoidsetAnyArray(AnyDocument.Any[] anyArray)Sets array of all "any" elementvoidsetChoiceArray(int i, ExplicitGroup choice)Sets ith "choice" elementvoidsetChoiceArray(ExplicitGroup[] choiceArray)Sets array of all "choice" elementvoidsetElementArray(int i, LocalElement element)Sets ith "element" elementvoidsetElementArray(LocalElement[] elementArray)Sets array of all "element" elementvoidsetGroupArray(int i, GroupRef group)Sets ith "group" elementvoidsetGroupArray(GroupRef[] groupArray)Sets array of all "group" elementvoidsetMaxOccurs(java.lang.Object maxOccurs)Sets the "maxOccurs" attributevoidsetMinOccurs(java.math.BigInteger minOccurs)Sets the "minOccurs" attributevoidsetName(java.lang.String name)Sets the "name" attributevoidsetRef(javax.xml.namespace.QName ref)Sets the "ref" attributevoidsetSequenceArray(int i, ExplicitGroup sequence)Sets ith "sequence" elementvoidsetSequenceArray(ExplicitGroup[] sequenceArray)Sets array of all "sequence" elementintsizeOfAllArray()Returns number of "all" elementintsizeOfAnyArray()Returns number of "any" elementintsizeOfChoiceArray()Returns number of "choice" elementintsizeOfElementArray()Returns number of "element" elementintsizeOfGroupArray()Returns number of "group" elementintsizeOfSequenceArray()Returns number of "sequence" elementvoidunsetMaxOccurs()Unsets the "maxOccurs" attributevoidunsetMinOccurs()Unsets the "minOccurs" attributevoidunsetName()Unsets the "name" attributevoidunsetRef()Unsets the "ref" attributeAllNNIxgetMaxOccurs()Gets (as xml) the "maxOccurs" attributeXmlNonNegativeIntegerxgetMinOccurs()Gets (as xml) the "minOccurs" attributeXmlNCNamexgetName()Gets (as xml) the "name" attributeXmlQNamexgetRef()Gets (as xml) the "ref" attributevoidxsetMaxOccurs(AllNNI maxOccurs)Sets (as xml) the "maxOccurs" attributevoidxsetMinOccurs(XmlNonNegativeInteger minOccurs)Sets (as xml) the "minOccurs" attributevoidxsetName(XmlNCName name)Sets (as xml) the "name" attributevoidxsetRef(XmlQName ref)Sets (as xml) the "ref" attribute- 
Methods inherited from interface org.apache.xmlbeans.impl.xb.xsdschema.Annotated
addNewAnnotation, getAnnotation, getId, isSetAnnotation, isSetId, setAnnotation, setId, unsetAnnotation, unsetId, xgetId, xsetId 
- 
Methods inherited from interface org.apache.xmlbeans.XmlObject
changeType, compareTo, compareValue, copy, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCode 
- 
Methods inherited from interface org.apache.xmlbeans.XmlTokenSource
documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText 
 - 
 
 - 
 
- 
- 
Field Detail
- 
type
static final SchemaType type
 
 - 
 
- 
Method Detail
- 
getElementArray
LocalElement[] getElementArray()
Gets array of all "element" elements 
- 
getElementArray
LocalElement getElementArray(int i)
Gets ith "element" element 
- 
sizeOfElementArray
int sizeOfElementArray()
Returns number of "element" element 
- 
setElementArray
void setElementArray(LocalElement[] elementArray)
Sets array of all "element" element 
- 
setElementArray
void setElementArray(int i, LocalElement element)Sets ith "element" element 
- 
insertNewElement
LocalElement insertNewElement(int i)
Inserts and returns a new empty value (as xml) as the ith "element" element 
- 
addNewElement
LocalElement addNewElement()
Appends and returns a new empty value (as xml) as the last "element" element 
- 
removeElement
void removeElement(int i)
Removes the ith "element" element 
- 
getGroupArray
GroupRef[] getGroupArray()
Gets array of all "group" elements 
- 
getGroupArray
GroupRef getGroupArray(int i)
Gets ith "group" element 
- 
sizeOfGroupArray
int sizeOfGroupArray()
Returns number of "group" element 
- 
setGroupArray
void setGroupArray(GroupRef[] groupArray)
Sets array of all "group" element 
- 
setGroupArray
void setGroupArray(int i, GroupRef group)Sets ith "group" element 
- 
insertNewGroup
GroupRef insertNewGroup(int i)
Inserts and returns a new empty value (as xml) as the ith "group" element 
- 
addNewGroup
GroupRef addNewGroup()
Appends and returns a new empty value (as xml) as the last "group" element 
- 
removeGroup
void removeGroup(int i)
Removes the ith "group" element 
- 
getAllArray
All[] getAllArray()
Gets array of all "all" elements 
- 
getAllArray
All getAllArray(int i)
Gets ith "all" element 
- 
sizeOfAllArray
int sizeOfAllArray()
Returns number of "all" element 
- 
setAllArray
void setAllArray(All[] allArray)
Sets array of all "all" element 
- 
setAllArray
void setAllArray(int i, All all)Sets ith "all" element 
- 
insertNewAll
All insertNewAll(int i)
Inserts and returns a new empty value (as xml) as the ith "all" element 
- 
addNewAll
All addNewAll()
Appends and returns a new empty value (as xml) as the last "all" element 
- 
removeAll
void removeAll(int i)
Removes the ith "all" element 
- 
getChoiceArray
ExplicitGroup[] getChoiceArray()
Gets array of all "choice" elements 
- 
getChoiceArray
ExplicitGroup getChoiceArray(int i)
Gets ith "choice" element 
- 
sizeOfChoiceArray
int sizeOfChoiceArray()
Returns number of "choice" element 
- 
setChoiceArray
void setChoiceArray(ExplicitGroup[] choiceArray)
Sets array of all "choice" element 
- 
setChoiceArray
void setChoiceArray(int i, ExplicitGroup choice)Sets ith "choice" element 
- 
insertNewChoice
ExplicitGroup insertNewChoice(int i)
Inserts and returns a new empty value (as xml) as the ith "choice" element 
- 
addNewChoice
ExplicitGroup addNewChoice()
Appends and returns a new empty value (as xml) as the last "choice" element 
- 
removeChoice
void removeChoice(int i)
Removes the ith "choice" element 
- 
getSequenceArray
ExplicitGroup[] getSequenceArray()
Gets array of all "sequence" elements 
- 
getSequenceArray
ExplicitGroup getSequenceArray(int i)
Gets ith "sequence" element 
- 
sizeOfSequenceArray
int sizeOfSequenceArray()
Returns number of "sequence" element 
- 
setSequenceArray
void setSequenceArray(ExplicitGroup[] sequenceArray)
Sets array of all "sequence" element 
- 
setSequenceArray
void setSequenceArray(int i, ExplicitGroup sequence)Sets ith "sequence" element 
- 
insertNewSequence
ExplicitGroup insertNewSequence(int i)
Inserts and returns a new empty value (as xml) as the ith "sequence" element 
- 
addNewSequence
ExplicitGroup addNewSequence()
Appends and returns a new empty value (as xml) as the last "sequence" element 
- 
removeSequence
void removeSequence(int i)
Removes the ith "sequence" element 
- 
getAnyArray
AnyDocument.Any[] getAnyArray()
Gets array of all "any" elements 
- 
getAnyArray
AnyDocument.Any getAnyArray(int i)
Gets ith "any" element 
- 
sizeOfAnyArray
int sizeOfAnyArray()
Returns number of "any" element 
- 
setAnyArray
void setAnyArray(AnyDocument.Any[] anyArray)
Sets array of all "any" element 
- 
setAnyArray
void setAnyArray(int i, AnyDocument.Any any)Sets ith "any" element 
- 
insertNewAny
AnyDocument.Any insertNewAny(int i)
Inserts and returns a new empty value (as xml) as the ith "any" element 
- 
addNewAny
AnyDocument.Any addNewAny()
Appends and returns a new empty value (as xml) as the last "any" element 
- 
removeAny
void removeAny(int i)
Removes the ith "any" element 
- 
getName
java.lang.String getName()
Gets the "name" attribute 
- 
xgetName
XmlNCName xgetName()
Gets (as xml) the "name" attribute 
- 
isSetName
boolean isSetName()
True if has "name" attribute 
- 
setName
void setName(java.lang.String name)
Sets the "name" attribute 
- 
xsetName
void xsetName(XmlNCName name)
Sets (as xml) the "name" attribute 
- 
unsetName
void unsetName()
Unsets the "name" attribute 
- 
getRef
javax.xml.namespace.QName getRef()
Gets the "ref" attribute 
- 
xgetRef
XmlQName xgetRef()
Gets (as xml) the "ref" attribute 
- 
isSetRef
boolean isSetRef()
True if has "ref" attribute 
- 
setRef
void setRef(javax.xml.namespace.QName ref)
Sets the "ref" attribute 
- 
xsetRef
void xsetRef(XmlQName ref)
Sets (as xml) the "ref" attribute 
- 
unsetRef
void unsetRef()
Unsets the "ref" attribute 
- 
getMinOccurs
java.math.BigInteger getMinOccurs()
Gets the "minOccurs" attribute 
- 
xgetMinOccurs
XmlNonNegativeInteger xgetMinOccurs()
Gets (as xml) the "minOccurs" attribute 
- 
isSetMinOccurs
boolean isSetMinOccurs()
True if has "minOccurs" attribute 
- 
setMinOccurs
void setMinOccurs(java.math.BigInteger minOccurs)
Sets the "minOccurs" attribute 
- 
xsetMinOccurs
void xsetMinOccurs(XmlNonNegativeInteger minOccurs)
Sets (as xml) the "minOccurs" attribute 
- 
unsetMinOccurs
void unsetMinOccurs()
Unsets the "minOccurs" attribute 
- 
getMaxOccurs
java.lang.Object getMaxOccurs()
Gets the "maxOccurs" attribute 
- 
xgetMaxOccurs
AllNNI xgetMaxOccurs()
Gets (as xml) the "maxOccurs" attribute 
- 
isSetMaxOccurs
boolean isSetMaxOccurs()
True if has "maxOccurs" attribute 
- 
setMaxOccurs
void setMaxOccurs(java.lang.Object maxOccurs)
Sets the "maxOccurs" attribute 
- 
xsetMaxOccurs
void xsetMaxOccurs(AllNNI maxOccurs)
Sets (as xml) the "maxOccurs" attribute 
- 
unsetMaxOccurs
void unsetMaxOccurs()
Unsets the "maxOccurs" attribute 
 - 
 
 -