Class GroupImpl
- java.lang.Object
-
- org.apache.xmlbeans.impl.values.XmlObjectBase
-
- org.apache.xmlbeans.impl.values.XmlComplexContentImpl
-
- org.apache.xmlbeans.impl.xb.xsdschema.impl.OpenAttrsImpl
-
- org.apache.xmlbeans.impl.xb.xsdschema.impl.AnnotatedImpl
-
- org.apache.xmlbeans.impl.xb.xsdschema.impl.GroupImpl
-
- All Implemented Interfaces:
Serializable
,TypeStoreUser
,Annotated
,Group
,OpenAttrs
,SimpleValue
,XmlObject
,XmlTokenSource
- Direct Known Subclasses:
ExplicitGroupImpl
,RealGroupImpl
public class GroupImpl extends AnnotatedImpl implements Group
An XML group(@http://www.w3.org/2001/XMLSchema). This is a complex type.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.xmlbeans.impl.xb.xsdschema.Annotated
Annotated.Factory
-
Nested classes/interfaces inherited from interface org.apache.xmlbeans.impl.xb.xsdschema.Group
Group.Factory
-
Nested classes/interfaces inherited from interface org.apache.xmlbeans.impl.xb.xsdschema.OpenAttrs
OpenAttrs.Factory
-
Nested classes/interfaces inherited from interface org.apache.xmlbeans.XmlObject
XmlObject.Factory
-
-
Field Summary
-
Fields inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase
_voorVc, KIND_SETTERHELPER_ARRAYITEM, KIND_SETTERHELPER_SINGLETON, MAJOR_VERSION_NUMBER, MINOR_VERSION_NUMBER
-
-
Constructor Summary
Constructors Constructor Description GroupImpl(SchemaType sType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description All
addNewAll()
Appends and returns a new empty value (as xml) as the last "all" elementAnyDocument.Any
addNewAny()
Appends and returns a new empty value (as xml) as the last "any" elementExplicitGroup
addNewChoice()
Appends and returns a new empty value (as xml) as the last "choice" elementLocalElement
addNewElement()
Appends and returns a new empty value (as xml) as the last "element" elementGroupRef
addNewGroup()
Appends and returns a new empty value (as xml) as the last "group" elementExplicitGroup
addNewSequence()
Appends and returns a new empty value (as xml) as the last "sequence" elementAll[]
getAllArray()
Gets array of all "all" elementsAll
getAllArray(int i)
Gets ith "all" elementAnyDocument.Any[]
getAnyArray()
Gets array of all "any" elementsAnyDocument.Any
getAnyArray(int i)
Gets ith "any" elementExplicitGroup[]
getChoiceArray()
Gets array of all "choice" elementsExplicitGroup
getChoiceArray(int i)
Gets ith "choice" elementLocalElement[]
getElementArray()
Gets array of all "element" elementsLocalElement
getElementArray(int i)
Gets ith "element" elementGroupRef[]
getGroupArray()
Gets array of all "group" elementsGroupRef
getGroupArray(int i)
Gets ith "group" elementObject
getMaxOccurs()
Gets the "maxOccurs" attributeBigInteger
getMinOccurs()
Gets the "minOccurs" attributeString
getName()
Gets the "name" attributeQName
getRef()
Gets the "ref" attributeExplicitGroup[]
getSequenceArray()
Gets array of all "sequence" elementsExplicitGroup
getSequenceArray(int i)
Gets ith "sequence" elementAll
insertNewAll(int i)
Inserts and returns a new empty value (as xml) as the ith "all" elementAnyDocument.Any
insertNewAny(int i)
Inserts and returns a new empty value (as xml) as the ith "any" elementExplicitGroup
insertNewChoice(int i)
Inserts and returns a new empty value (as xml) as the ith "choice" elementLocalElement
insertNewElement(int i)
Inserts and returns a new empty value (as xml) as the ith "element" elementGroupRef
insertNewGroup(int i)
Inserts and returns a new empty value (as xml) as the ith "group" elementExplicitGroup
insertNewSequence(int i)
Inserts and returns a new empty value (as xml) as the ith "sequence" elementboolean
isSetMaxOccurs()
True if has "maxOccurs" attributeboolean
isSetMinOccurs()
True if has "minOccurs" attributeboolean
isSetName()
True if has "name" attributeboolean
isSetRef()
True if has "ref" attributevoid
removeAll(int i)
Removes the ith "all" elementvoid
removeAny(int i)
Removes the ith "any" elementvoid
removeChoice(int i)
Removes the ith "choice" elementvoid
removeElement(int i)
Removes the ith "element" elementvoid
removeGroup(int i)
Removes the ith "group" elementvoid
removeSequence(int i)
Removes the ith "sequence" elementvoid
setAllArray(int i, All all)
Sets ith "all" elementvoid
setAllArray(All[] allArray)
Sets array of all "all" element WARNING: This method is not atomicaly synchronized.void
setAnyArray(int i, AnyDocument.Any any)
Sets ith "any" elementvoid
setAnyArray(AnyDocument.Any[] anyArray)
Sets array of all "any" element WARNING: This method is not atomicaly synchronized.void
setChoiceArray(int i, ExplicitGroup choice)
Sets ith "choice" elementvoid
setChoiceArray(ExplicitGroup[] choiceArray)
Sets array of all "choice" element WARNING: This method is not atomicaly synchronized.void
setElementArray(int i, LocalElement element)
Sets ith "element" elementvoid
setElementArray(LocalElement[] elementArray)
Sets array of all "element" element WARNING: This method is not atomicaly synchronized.void
setGroupArray(int i, GroupRef group)
Sets ith "group" elementvoid
setGroupArray(GroupRef[] groupArray)
Sets array of all "group" element WARNING: This method is not atomicaly synchronized.void
setMaxOccurs(Object maxOccurs)
Sets the "maxOccurs" attributevoid
setMinOccurs(BigInteger minOccurs)
Sets the "minOccurs" attributevoid
setName(String name)
Sets the "name" attributevoid
setRef(QName ref)
Sets the "ref" attributevoid
setSequenceArray(int i, ExplicitGroup sequence)
Sets ith "sequence" elementvoid
setSequenceArray(ExplicitGroup[] sequenceArray)
Sets array of all "sequence" element WARNING: This method is not atomicaly synchronized.int
sizeOfAllArray()
Returns number of "all" elementint
sizeOfAnyArray()
Returns number of "any" elementint
sizeOfChoiceArray()
Returns number of "choice" elementint
sizeOfElementArray()
Returns number of "element" elementint
sizeOfGroupArray()
Returns number of "group" elementint
sizeOfSequenceArray()
Returns number of "sequence" elementvoid
unsetMaxOccurs()
Unsets the "maxOccurs" attributevoid
unsetMinOccurs()
Unsets the "minOccurs" attributevoid
unsetName()
Unsets the "name" attributevoid
unsetRef()
Unsets the "ref" attributeAllNNI
xgetMaxOccurs()
Gets (as xml) the "maxOccurs" attributeXmlNonNegativeInteger
xgetMinOccurs()
Gets (as xml) the "minOccurs" attributeXmlNCName
xgetName()
Gets (as xml) the "name" attributeXmlQName
xgetRef()
Gets (as xml) the "ref" attributevoid
xsetMaxOccurs(AllNNI maxOccurs)
Sets (as xml) the "maxOccurs" attributevoid
xsetMinOccurs(XmlNonNegativeInteger minOccurs)
Sets (as xml) the "minOccurs" attributevoid
xsetName(XmlNCName name)
Sets (as xml) the "name" attributevoid
xsetRef(XmlQName ref)
Sets (as xml) the "ref" attribute-
Methods inherited from class org.apache.xmlbeans.impl.xb.xsdschema.impl.AnnotatedImpl
addNewAnnotation, getAnnotation, getId, isSetAnnotation, isSetId, setAnnotation, setId, unsetAnnotation, unsetId, xgetId, xsetId
-
Methods inherited from class org.apache.xmlbeans.impl.values.XmlComplexContentImpl
compute_text, equal_to, get_default_attribute_text, get_default_element_text, get_elementflags, is_child_element_order_sensitive, new_visitor, schemaType, set_nil, set_text
-
Methods inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase
_copy, _copy, _set, attach_store, bigDecimalValue, bigIntegerValue, booleanValue, build_nil, build_text, byteArrayValue, byteValue, calendarValue, changeType, check_dated, compareTo, compareValue, copy, copy, create_attribute_user, create_element_user, dateValue, disconnect_store, documentProperties, doubleValue, dump, enumValue, equals, execQuery, execQuery, floatValue, gDateValue, gDurationValue, generatedSetterHelperImpl, get_attribute_field, get_attribute_type, get_attributeflags, get_element_ending_delimiters, get_element_type, get_schema_type, get_store, get_wscanon_text, getBigDecimalValue, getBigIntegerValue, getBooleanValue, getByteArrayValue, getByteValue, getCalendarValue, getDateValue, getDomNode, getDoubleValue, getEnumValue, getFloatValue, getGDateValue, getGDurationValue, getIntValue, getListValue, getLongValue, getObjectValue, getQNameValue, getShortValue, getStringValue, getXmlLocale, hashCode, init_flags, instanceType, intValue, invalidate_element_order, invalidate_nilvalue, invalidate_value, isDefault, isDefaultable, isFixed, isImmutable, isInstanceOf, isNil, isNillable, listValue, longValue, monitor, newCursor, newCursorForce, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, objectSet, objectValue, qNameValue, save, save, save, save, save, save, save, save, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set_newValue, setBigDecimalValue, setBigIntegerValue, setBooleanValue, setByteArrayValue, setByteValue, setCalendarValue, setDateValue, setDoubleValue, setEnumValue, setFloatValue, setGDateValue, setGDateValue, setGDurationValue, setGDurationValue, setImmutable, setIntValue, setListValue, setLongValue, setNil, setObjectValue, setQNameValue, setShortValue, setStringValue, setValidateOnSet, shortValue, stringValue, substitute, toString, uses_invalidate_value, validate, validate, validate_now, valueEquals, valueHashCode, writeReplace, xgetListValue, xlistValue, xmlText, xmlText
-
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
-
-
-
-
Constructor Detail
-
GroupImpl
public GroupImpl(SchemaType sType)
-
-
Method Detail
-
getElementArray
public LocalElement[] getElementArray()
Gets array of all "element" elements- Specified by:
getElementArray
in interfaceGroup
-
getElementArray
public LocalElement getElementArray(int i)
Gets ith "element" element- Specified by:
getElementArray
in interfaceGroup
-
sizeOfElementArray
public int sizeOfElementArray()
Returns number of "element" element- Specified by:
sizeOfElementArray
in interfaceGroup
-
setElementArray
public void setElementArray(LocalElement[] elementArray)
Sets array of all "element" element WARNING: This method is not atomicaly synchronized.- Specified by:
setElementArray
in interfaceGroup
-
setElementArray
public void setElementArray(int i, LocalElement element)
Sets ith "element" element- Specified by:
setElementArray
in interfaceGroup
-
insertNewElement
public LocalElement insertNewElement(int i)
Inserts and returns a new empty value (as xml) as the ith "element" element- Specified by:
insertNewElement
in interfaceGroup
-
addNewElement
public LocalElement addNewElement()
Appends and returns a new empty value (as xml) as the last "element" element- Specified by:
addNewElement
in interfaceGroup
-
removeElement
public void removeElement(int i)
Removes the ith "element" element- Specified by:
removeElement
in interfaceGroup
-
getGroupArray
public GroupRef[] getGroupArray()
Gets array of all "group" elements- Specified by:
getGroupArray
in interfaceGroup
-
getGroupArray
public GroupRef getGroupArray(int i)
Gets ith "group" element- Specified by:
getGroupArray
in interfaceGroup
-
sizeOfGroupArray
public int sizeOfGroupArray()
Returns number of "group" element- Specified by:
sizeOfGroupArray
in interfaceGroup
-
setGroupArray
public void setGroupArray(GroupRef[] groupArray)
Sets array of all "group" element WARNING: This method is not atomicaly synchronized.- Specified by:
setGroupArray
in interfaceGroup
-
setGroupArray
public void setGroupArray(int i, GroupRef group)
Sets ith "group" element- Specified by:
setGroupArray
in interfaceGroup
-
insertNewGroup
public GroupRef insertNewGroup(int i)
Inserts and returns a new empty value (as xml) as the ith "group" element- Specified by:
insertNewGroup
in interfaceGroup
-
addNewGroup
public GroupRef addNewGroup()
Appends and returns a new empty value (as xml) as the last "group" element- Specified by:
addNewGroup
in interfaceGroup
-
removeGroup
public void removeGroup(int i)
Removes the ith "group" element- Specified by:
removeGroup
in interfaceGroup
-
getAllArray
public All[] getAllArray()
Gets array of all "all" elements- Specified by:
getAllArray
in interfaceGroup
-
getAllArray
public All getAllArray(int i)
Gets ith "all" element- Specified by:
getAllArray
in interfaceGroup
-
sizeOfAllArray
public int sizeOfAllArray()
Returns number of "all" element- Specified by:
sizeOfAllArray
in interfaceGroup
-
setAllArray
public void setAllArray(All[] allArray)
Sets array of all "all" element WARNING: This method is not atomicaly synchronized.- Specified by:
setAllArray
in interfaceGroup
-
setAllArray
public void setAllArray(int i, All all)
Sets ith "all" element- Specified by:
setAllArray
in interfaceGroup
-
insertNewAll
public All insertNewAll(int i)
Inserts and returns a new empty value (as xml) as the ith "all" element- Specified by:
insertNewAll
in interfaceGroup
-
addNewAll
public All addNewAll()
Appends and returns a new empty value (as xml) as the last "all" element
-
removeAll
public void removeAll(int i)
Removes the ith "all" element
-
getChoiceArray
public ExplicitGroup[] getChoiceArray()
Gets array of all "choice" elements- Specified by:
getChoiceArray
in interfaceGroup
-
getChoiceArray
public ExplicitGroup getChoiceArray(int i)
Gets ith "choice" element- Specified by:
getChoiceArray
in interfaceGroup
-
sizeOfChoiceArray
public int sizeOfChoiceArray()
Returns number of "choice" element- Specified by:
sizeOfChoiceArray
in interfaceGroup
-
setChoiceArray
public void setChoiceArray(ExplicitGroup[] choiceArray)
Sets array of all "choice" element WARNING: This method is not atomicaly synchronized.- Specified by:
setChoiceArray
in interfaceGroup
-
setChoiceArray
public void setChoiceArray(int i, ExplicitGroup choice)
Sets ith "choice" element- Specified by:
setChoiceArray
in interfaceGroup
-
insertNewChoice
public ExplicitGroup insertNewChoice(int i)
Inserts and returns a new empty value (as xml) as the ith "choice" element- Specified by:
insertNewChoice
in interfaceGroup
-
addNewChoice
public ExplicitGroup addNewChoice()
Appends and returns a new empty value (as xml) as the last "choice" element- Specified by:
addNewChoice
in interfaceGroup
-
removeChoice
public void removeChoice(int i)
Removes the ith "choice" element- Specified by:
removeChoice
in interfaceGroup
-
getSequenceArray
public ExplicitGroup[] getSequenceArray()
Gets array of all "sequence" elements- Specified by:
getSequenceArray
in interfaceGroup
-
getSequenceArray
public ExplicitGroup getSequenceArray(int i)
Gets ith "sequence" element- Specified by:
getSequenceArray
in interfaceGroup
-
sizeOfSequenceArray
public int sizeOfSequenceArray()
Returns number of "sequence" element- Specified by:
sizeOfSequenceArray
in interfaceGroup
-
setSequenceArray
public void setSequenceArray(ExplicitGroup[] sequenceArray)
Sets array of all "sequence" element WARNING: This method is not atomicaly synchronized.- Specified by:
setSequenceArray
in interfaceGroup
-
setSequenceArray
public void setSequenceArray(int i, ExplicitGroup sequence)
Sets ith "sequence" element- Specified by:
setSequenceArray
in interfaceGroup
-
insertNewSequence
public ExplicitGroup insertNewSequence(int i)
Inserts and returns a new empty value (as xml) as the ith "sequence" element- Specified by:
insertNewSequence
in interfaceGroup
-
addNewSequence
public ExplicitGroup addNewSequence()
Appends and returns a new empty value (as xml) as the last "sequence" element- Specified by:
addNewSequence
in interfaceGroup
-
removeSequence
public void removeSequence(int i)
Removes the ith "sequence" element- Specified by:
removeSequence
in interfaceGroup
-
getAnyArray
public AnyDocument.Any[] getAnyArray()
Gets array of all "any" elements- Specified by:
getAnyArray
in interfaceGroup
-
getAnyArray
public AnyDocument.Any getAnyArray(int i)
Gets ith "any" element- Specified by:
getAnyArray
in interfaceGroup
-
sizeOfAnyArray
public int sizeOfAnyArray()
Returns number of "any" element- Specified by:
sizeOfAnyArray
in interfaceGroup
-
setAnyArray
public void setAnyArray(AnyDocument.Any[] anyArray)
Sets array of all "any" element WARNING: This method is not atomicaly synchronized.- Specified by:
setAnyArray
in interfaceGroup
-
setAnyArray
public void setAnyArray(int i, AnyDocument.Any any)
Sets ith "any" element- Specified by:
setAnyArray
in interfaceGroup
-
insertNewAny
public AnyDocument.Any insertNewAny(int i)
Inserts and returns a new empty value (as xml) as the ith "any" element- Specified by:
insertNewAny
in interfaceGroup
-
addNewAny
public AnyDocument.Any addNewAny()
Appends and returns a new empty value (as xml) as the last "any" element
-
removeAny
public void removeAny(int i)
Removes the ith "any" element
-
xgetName
public XmlNCName xgetName()
Gets (as xml) the "name" attribute
-
isSetName
public boolean isSetName()
True if has "name" attribute
-
setName
public void setName(String name)
Sets the "name" attribute
-
xsetName
public void xsetName(XmlNCName name)
Sets (as xml) the "name" attribute
-
unsetName
public void unsetName()
Unsets the "name" attribute
-
xgetRef
public XmlQName xgetRef()
Gets (as xml) the "ref" attribute
-
isSetRef
public boolean isSetRef()
True if has "ref" attribute
-
setRef
public void setRef(QName ref)
Sets the "ref" attribute
-
xsetRef
public void xsetRef(XmlQName ref)
Sets (as xml) the "ref" attribute
-
unsetRef
public void unsetRef()
Unsets the "ref" attribute
-
getMinOccurs
public BigInteger getMinOccurs()
Gets the "minOccurs" attribute- Specified by:
getMinOccurs
in interfaceGroup
-
xgetMinOccurs
public XmlNonNegativeInteger xgetMinOccurs()
Gets (as xml) the "minOccurs" attribute- Specified by:
xgetMinOccurs
in interfaceGroup
-
isSetMinOccurs
public boolean isSetMinOccurs()
True if has "minOccurs" attribute- Specified by:
isSetMinOccurs
in interfaceGroup
-
setMinOccurs
public void setMinOccurs(BigInteger minOccurs)
Sets the "minOccurs" attribute- Specified by:
setMinOccurs
in interfaceGroup
-
xsetMinOccurs
public void xsetMinOccurs(XmlNonNegativeInteger minOccurs)
Sets (as xml) the "minOccurs" attribute- Specified by:
xsetMinOccurs
in interfaceGroup
-
unsetMinOccurs
public void unsetMinOccurs()
Unsets the "minOccurs" attribute- Specified by:
unsetMinOccurs
in interfaceGroup
-
getMaxOccurs
public Object getMaxOccurs()
Gets the "maxOccurs" attribute- Specified by:
getMaxOccurs
in interfaceGroup
-
xgetMaxOccurs
public AllNNI xgetMaxOccurs()
Gets (as xml) the "maxOccurs" attribute- Specified by:
xgetMaxOccurs
in interfaceGroup
-
isSetMaxOccurs
public boolean isSetMaxOccurs()
True if has "maxOccurs" attribute- Specified by:
isSetMaxOccurs
in interfaceGroup
-
setMaxOccurs
public void setMaxOccurs(Object maxOccurs)
Sets the "maxOccurs" attribute- Specified by:
setMaxOccurs
in interfaceGroup
-
xsetMaxOccurs
public void xsetMaxOccurs(AllNNI maxOccurs)
Sets (as xml) the "maxOccurs" attribute- Specified by:
xsetMaxOccurs
in interfaceGroup
-
unsetMaxOccurs
public void unsetMaxOccurs()
Unsets the "maxOccurs" attribute- Specified by:
unsetMaxOccurs
in interfaceGroup
-
-