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:
java.io.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
-
-
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 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" elementjava.util.List<All>getAllList()Gets a List of "all" elementsAnyDocument.Any[]getAnyArray()Gets array of all "any" elementsAnyDocument.AnygetAnyArray(int i)Gets ith "any" elementjava.util.List<AnyDocument.Any>getAnyList()Gets a List of "any" elementsExplicitGroup[]getChoiceArray()Gets array of all "choice" elementsExplicitGroupgetChoiceArray(int i)Gets ith "choice" elementjava.util.List<ExplicitGroup>getChoiceList()Gets a List of "choice" elementsLocalElement[]getElementArray()Gets array of all "element" elementsLocalElementgetElementArray(int i)Gets ith "element" elementjava.util.List<LocalElement>getElementList()Gets a List of "element" elementsGroupRef[]getGroupArray()Gets array of all "group" elementsGroupRefgetGroupArray(int i)Gets ith "group" elementjava.util.List<GroupRef>getGroupList()Gets a List of "group" elementsjava.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" elementjava.util.List<ExplicitGroup>getSequenceList()Gets a List of "sequence" elementsAllinsertNewAll(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" element WARNING: This method is not atomicaly synchronized.voidsetAnyArray(int i, AnyDocument.Any any)Sets ith "any" elementvoidsetAnyArray(AnyDocument.Any[] anyArray)Sets array of all "any" element WARNING: This method is not atomicaly synchronized.voidsetChoiceArray(int i, ExplicitGroup choice)Sets ith "choice" elementvoidsetChoiceArray(ExplicitGroup[] choiceArray)Sets array of all "choice" element WARNING: This method is not atomicaly synchronized.voidsetElementArray(int i, LocalElement element)Sets ith "element" elementvoidsetElementArray(LocalElement[] elementArray)Sets array of all "element" element WARNING: This method is not atomicaly synchronized.voidsetGroupArray(int i, GroupRef group)Sets ith "group" elementvoidsetGroupArray(GroupRef[] groupArray)Sets array of all "group" element WARNING: This method is not atomicaly synchronized.voidsetMaxOccurs(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" element WARNING: This method is not atomicaly synchronized.intsizeOfAllArray()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 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, build_nil, build_text, changeType, check_dated, compareTo, compareValue, copy, copy, create_attribute_user, create_element_user, disconnect_store, documentProperties, dump, equals, execQuery, execQuery, 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, invalidate_element_order, invalidate_nilvalue, invalidate_value, isDefault, isDefaultable, isFixed, isImmutable, isInstanceOf, isNil, isNillable, monitor, newCursor, newCursorForce, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, 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, substitute, toString, uses_invalidate_value, validate, validate, validate_now, valueEquals, valueHashCode, writeReplace, xgetListValue, 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, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
-
-
-
-
Constructor Detail
-
GroupImpl
public GroupImpl(SchemaType sType)
-
-
Method Detail
-
getElementList
public java.util.List<LocalElement> getElementList()
Gets a List of "element" elements- Specified by:
getElementListin interfaceGroup
-
getElementArray
public LocalElement[] getElementArray()
Gets array of all "element" elements- Specified by:
getElementArrayin interfaceGroup
-
getElementArray
public LocalElement getElementArray(int i)
Gets ith "element" element- Specified by:
getElementArrayin interfaceGroup
-
sizeOfElementArray
public int sizeOfElementArray()
Returns number of "element" element- Specified by:
sizeOfElementArrayin interfaceGroup
-
setElementArray
public void setElementArray(LocalElement[] elementArray)
Sets array of all "element" element WARNING: This method is not atomicaly synchronized.- Specified by:
setElementArrayin interfaceGroup
-
setElementArray
public void setElementArray(int i, LocalElement element)Sets ith "element" element- Specified by:
setElementArrayin interfaceGroup
-
insertNewElement
public LocalElement insertNewElement(int i)
Inserts and returns a new empty value (as xml) as the ith "element" element- Specified by:
insertNewElementin interfaceGroup
-
addNewElement
public LocalElement addNewElement()
Appends and returns a new empty value (as xml) as the last "element" element- Specified by:
addNewElementin interfaceGroup
-
removeElement
public void removeElement(int i)
Removes the ith "element" element- Specified by:
removeElementin interfaceGroup
-
getGroupList
public java.util.List<GroupRef> getGroupList()
Gets a List of "group" elements- Specified by:
getGroupListin interfaceGroup
-
getGroupArray
public GroupRef[] getGroupArray()
Gets array of all "group" elements- Specified by:
getGroupArrayin interfaceGroup
-
getGroupArray
public GroupRef getGroupArray(int i)
Gets ith "group" element- Specified by:
getGroupArrayin interfaceGroup
-
sizeOfGroupArray
public int sizeOfGroupArray()
Returns number of "group" element- Specified by:
sizeOfGroupArrayin interfaceGroup
-
setGroupArray
public void setGroupArray(GroupRef[] groupArray)
Sets array of all "group" element WARNING: This method is not atomicaly synchronized.- Specified by:
setGroupArrayin interfaceGroup
-
setGroupArray
public void setGroupArray(int i, GroupRef group)Sets ith "group" element- Specified by:
setGroupArrayin interfaceGroup
-
insertNewGroup
public GroupRef insertNewGroup(int i)
Inserts and returns a new empty value (as xml) as the ith "group" element- Specified by:
insertNewGroupin interfaceGroup
-
addNewGroup
public GroupRef addNewGroup()
Appends and returns a new empty value (as xml) as the last "group" element- Specified by:
addNewGroupin interfaceGroup
-
removeGroup
public void removeGroup(int i)
Removes the ith "group" element- Specified by:
removeGroupin interfaceGroup
-
getAllList
public java.util.List<All> getAllList()
Gets a List of "all" elements- Specified by:
getAllListin interfaceGroup
-
getAllArray
public All[] getAllArray()
Gets array of all "all" elements- Specified by:
getAllArrayin interfaceGroup
-
getAllArray
public All getAllArray(int i)
Gets ith "all" element- Specified by:
getAllArrayin interfaceGroup
-
sizeOfAllArray
public int sizeOfAllArray()
Returns number of "all" element- Specified by:
sizeOfAllArrayin interfaceGroup
-
setAllArray
public void setAllArray(All[] allArray)
Sets array of all "all" element WARNING: This method is not atomicaly synchronized.- Specified by:
setAllArrayin interfaceGroup
-
setAllArray
public void setAllArray(int i, All all)Sets ith "all" element- Specified by:
setAllArrayin interfaceGroup
-
insertNewAll
public All insertNewAll(int i)
Inserts and returns a new empty value (as xml) as the ith "all" element- Specified by:
insertNewAllin 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
-
getChoiceList
public java.util.List<ExplicitGroup> getChoiceList()
Gets a List of "choice" elements- Specified by:
getChoiceListin interfaceGroup
-
getChoiceArray
public ExplicitGroup[] getChoiceArray()
Gets array of all "choice" elements- Specified by:
getChoiceArrayin interfaceGroup
-
getChoiceArray
public ExplicitGroup getChoiceArray(int i)
Gets ith "choice" element- Specified by:
getChoiceArrayin interfaceGroup
-
sizeOfChoiceArray
public int sizeOfChoiceArray()
Returns number of "choice" element- Specified by:
sizeOfChoiceArrayin interfaceGroup
-
setChoiceArray
public void setChoiceArray(ExplicitGroup[] choiceArray)
Sets array of all "choice" element WARNING: This method is not atomicaly synchronized.- Specified by:
setChoiceArrayin interfaceGroup
-
setChoiceArray
public void setChoiceArray(int i, ExplicitGroup choice)Sets ith "choice" element- Specified by:
setChoiceArrayin interfaceGroup
-
insertNewChoice
public ExplicitGroup insertNewChoice(int i)
Inserts and returns a new empty value (as xml) as the ith "choice" element- Specified by:
insertNewChoicein interfaceGroup
-
addNewChoice
public ExplicitGroup addNewChoice()
Appends and returns a new empty value (as xml) as the last "choice" element- Specified by:
addNewChoicein interfaceGroup
-
removeChoice
public void removeChoice(int i)
Removes the ith "choice" element- Specified by:
removeChoicein interfaceGroup
-
getSequenceList
public java.util.List<ExplicitGroup> getSequenceList()
Gets a List of "sequence" elements- Specified by:
getSequenceListin interfaceGroup
-
getSequenceArray
public ExplicitGroup[] getSequenceArray()
Gets array of all "sequence" elements- Specified by:
getSequenceArrayin interfaceGroup
-
getSequenceArray
public ExplicitGroup getSequenceArray(int i)
Gets ith "sequence" element- Specified by:
getSequenceArrayin interfaceGroup
-
sizeOfSequenceArray
public int sizeOfSequenceArray()
Returns number of "sequence" element- Specified by:
sizeOfSequenceArrayin interfaceGroup
-
setSequenceArray
public void setSequenceArray(ExplicitGroup[] sequenceArray)
Sets array of all "sequence" element WARNING: This method is not atomicaly synchronized.- Specified by:
setSequenceArrayin interfaceGroup
-
setSequenceArray
public void setSequenceArray(int i, ExplicitGroup sequence)Sets ith "sequence" element- Specified by:
setSequenceArrayin interfaceGroup
-
insertNewSequence
public ExplicitGroup insertNewSequence(int i)
Inserts and returns a new empty value (as xml) as the ith "sequence" element- Specified by:
insertNewSequencein interfaceGroup
-
addNewSequence
public ExplicitGroup addNewSequence()
Appends and returns a new empty value (as xml) as the last "sequence" element- Specified by:
addNewSequencein interfaceGroup
-
removeSequence
public void removeSequence(int i)
Removes the ith "sequence" element- Specified by:
removeSequencein interfaceGroup
-
getAnyList
public java.util.List<AnyDocument.Any> getAnyList()
Gets a List of "any" elements- Specified by:
getAnyListin interfaceGroup
-
getAnyArray
public AnyDocument.Any[] getAnyArray()
Gets array of all "any" elements- Specified by:
getAnyArrayin interfaceGroup
-
getAnyArray
public AnyDocument.Any getAnyArray(int i)
Gets ith "any" element- Specified by:
getAnyArrayin interfaceGroup
-
sizeOfAnyArray
public int sizeOfAnyArray()
Returns number of "any" element- Specified by:
sizeOfAnyArrayin interfaceGroup
-
setAnyArray
public void setAnyArray(AnyDocument.Any[] anyArray)
Sets array of all "any" element WARNING: This method is not atomicaly synchronized.- Specified by:
setAnyArrayin interfaceGroup
-
setAnyArray
public void setAnyArray(int i, AnyDocument.Any any)Sets ith "any" element- Specified by:
setAnyArrayin interfaceGroup
-
insertNewAny
public AnyDocument.Any insertNewAny(int i)
Inserts and returns a new empty value (as xml) as the ith "any" element- Specified by:
insertNewAnyin 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
-
getName
public java.lang.String getName()
Gets the "name" attribute
-
xgetName
public XmlNCName xgetName()
Gets (as xml) the "name" attribute
-
isSetName
public boolean isSetName()
True if has "name" attribute
-
setName
public void setName(java.lang.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
-
getRef
public javax.xml.namespace.QName getRef()
Gets the "ref" attribute
-
xgetRef
public XmlQName xgetRef()
Gets (as xml) the "ref" attribute
-
isSetRef
public boolean isSetRef()
True if has "ref" attribute
-
setRef
public void setRef(javax.xml.namespace.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 java.math.BigInteger getMinOccurs()
Gets the "minOccurs" attribute- Specified by:
getMinOccursin interfaceGroup
-
xgetMinOccurs
public XmlNonNegativeInteger xgetMinOccurs()
Gets (as xml) the "minOccurs" attribute- Specified by:
xgetMinOccursin interfaceGroup
-
isSetMinOccurs
public boolean isSetMinOccurs()
True if has "minOccurs" attribute- Specified by:
isSetMinOccursin interfaceGroup
-
setMinOccurs
public void setMinOccurs(java.math.BigInteger minOccurs)
Sets the "minOccurs" attribute- Specified by:
setMinOccursin interfaceGroup
-
xsetMinOccurs
public void xsetMinOccurs(XmlNonNegativeInteger minOccurs)
Sets (as xml) the "minOccurs" attribute- Specified by:
xsetMinOccursin interfaceGroup
-
unsetMinOccurs
public void unsetMinOccurs()
Unsets the "minOccurs" attribute- Specified by:
unsetMinOccursin interfaceGroup
-
getMaxOccurs
public java.lang.Object getMaxOccurs()
Gets the "maxOccurs" attribute- Specified by:
getMaxOccursin interfaceGroup
-
xgetMaxOccurs
public AllNNI xgetMaxOccurs()
Gets (as xml) the "maxOccurs" attribute- Specified by:
xgetMaxOccursin interfaceGroup
-
isSetMaxOccurs
public boolean isSetMaxOccurs()
True if has "maxOccurs" attribute- Specified by:
isSetMaxOccursin interfaceGroup
-
setMaxOccurs
public void setMaxOccurs(java.lang.Object maxOccurs)
Sets the "maxOccurs" attribute- Specified by:
setMaxOccursin interfaceGroup
-
xsetMaxOccurs
public void xsetMaxOccurs(AllNNI maxOccurs)
Sets (as xml) the "maxOccurs" attribute- Specified by:
xsetMaxOccursin interfaceGroup
-
unsetMaxOccurs
public void unsetMaxOccurs()
Unsets the "maxOccurs" attribute- Specified by:
unsetMaxOccursin interfaceGroup
-
-