org.decisiondeck.jmcda.persist.xmcda2.generated.impl
Class XAlternativeImpl

java.lang.Object
  extended by org.apache.xmlbeans.impl.values.XmlObjectBase
      extended by org.apache.xmlbeans.impl.values.XmlComplexContentImpl
          extended by org.decisiondeck.jmcda.persist.xmcda2.generated.impl.XAlternativeImpl
All Implemented Interfaces:
Serializable, org.apache.xmlbeans.impl.values.TypeStoreUser, SimpleValue, XmlObject, XmlTokenSource, XAlternative

public class XAlternativeImpl
extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl
implements XAlternative

An XML alternative(@http://www.decision-deck.org/2009/XMCDA-2.1.0). This is a complex type.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.decisiondeck.jmcda.persist.xmcda2.generated.XAlternative
XAlternative.Factory
 
Field Summary
 
Fields inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase
_voorVc, MAJOR_VERSION_NUMBER, MINOR_VERSION_NUMBER
 
Fields inherited from interface org.decisiondeck.jmcda.persist.xmcda2.generated.XAlternative
type
 
Fields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL
 
Constructor Summary
XAlternativeImpl(SchemaType sType)
           
 
Method Summary
 void addActive(boolean active)
          Appends the value as the last "active" element
 XmlBoolean addNewActive()
          Appends and returns a new empty value (as xml) as the last "active" element
 XDescription addNewDescription()
          Appends and returns a new empty value (as xml) as the last "description" element
 XmlBoolean addNewReference()
          Appends and returns a new empty value (as xml) as the last "reference" element
 XAlternativeType addNewType()
          Appends and returns a new empty value (as xml) as the last "type" element
 void addReference(boolean reference)
          Appends the value as the last "reference" element
 void addType(XAlternativeType.Enum type)
          Appends the value as the last "type" element
 boolean[] getActiveArray()
          Deprecated.  
 boolean getActiveArray(int i)
          Gets ith "active" element
 List<Boolean> getActiveList()
          Gets a List of "active" elements
 XDescription[] getDescriptionArray()
          Deprecated.  
 XDescription getDescriptionArray(int i)
          Gets ith "description" element
 List<XDescription> getDescriptionList()
          Gets a List of "description" elements
 String getId()
          Gets the "id" attribute
 String getMcdaConcept()
          Gets the "mcdaConcept" attribute
 String getName()
          Gets the "name" attribute
 boolean[] getReferenceArray()
          Deprecated.  
 boolean getReferenceArray(int i)
          Gets ith "reference" element
 List<Boolean> getReferenceList()
          Gets a List of "reference" elements
 XAlternativeType.Enum[] getTypeArray()
          Deprecated.  
 XAlternativeType.Enum getTypeArray(int i)
          Gets ith "type" element
 List<XAlternativeType.Enum> getTypeList()
          Gets a List of "type" elements
 void insertActive(int i, boolean active)
          Inserts the value as the ith "active" element
 XmlBoolean insertNewActive(int i)
          Inserts and returns a new empty value (as xml) as the ith "active" element
 XDescription insertNewDescription(int i)
          Inserts and returns a new empty value (as xml) as the ith "description" element
 XmlBoolean insertNewReference(int i)
          Inserts and returns a new empty value (as xml) as the ith "reference" element
 XAlternativeType insertNewType(int i)
          Inserts and returns a new empty value (as xml) as the ith "type" element
 void insertReference(int i, boolean reference)
          Inserts the value as the ith "reference" element
 void insertType(int i, XAlternativeType.Enum type)
          Inserts the value as the ith "type" element
 boolean isSetMcdaConcept()
          True if has "mcdaConcept" attribute
 boolean isSetName()
          True if has "name" attribute
 void removeActive(int i)
          Removes the ith "active" element
 void removeDescription(int i)
          Removes the ith "description" element
 void removeReference(int i)
          Removes the ith "reference" element
 void removeType(int i)
          Removes the ith "type" element
 void setActiveArray(boolean[] activeArray)
          Sets array of all "active" element
 void setActiveArray(int i, boolean active)
          Sets ith "active" element
 void setDescriptionArray(int i, XDescription description)
          Sets ith "description" element
 void setDescriptionArray(XDescription[] descriptionArray)
          Sets array of all "description" element
 void setId(String id)
          Sets the "id" attribute
 void setMcdaConcept(String mcdaConcept)
          Sets the "mcdaConcept" attribute
 void setName(String name)
          Sets the "name" attribute
 void setReferenceArray(boolean[] referenceArray)
          Sets array of all "reference" element
 void setReferenceArray(int i, boolean reference)
          Sets ith "reference" element
 void setTypeArray(int i, XAlternativeType.Enum type)
          Sets ith "type" element
 void setTypeArray(XAlternativeType.Enum[] typeArray)
          Sets array of all "type" element
 int sizeOfActiveArray()
          Returns number of "active" element
 int sizeOfDescriptionArray()
          Returns number of "description" element
 int sizeOfReferenceArray()
          Returns number of "reference" element
 int sizeOfTypeArray()
          Returns number of "type" element
 void unsetMcdaConcept()
          Unsets the "mcdaConcept" attribute
 void unsetName()
          Unsets the "name" attribute
 XmlBoolean[] xgetActiveArray()
          Deprecated.  
 XmlBoolean xgetActiveArray(int i)
          Gets (as xml) ith "active" element
 List<XmlBoolean> xgetActiveList()
          Gets (as xml) a List of "active" elements
 XmlString xgetId()
          Gets (as xml) the "id" attribute
 XmlString xgetMcdaConcept()
          Gets (as xml) the "mcdaConcept" attribute
 XmlString xgetName()
          Gets (as xml) the "name" attribute
 XmlBoolean[] xgetReferenceArray()
          Deprecated.  
 XmlBoolean xgetReferenceArray(int i)
          Gets (as xml) ith "reference" element
 List<XmlBoolean> xgetReferenceList()
          Gets (as xml) a List of "reference" elements
 XAlternativeType[] xgetTypeArray()
          Deprecated.  
 XAlternativeType xgetTypeArray(int i)
          Gets (as xml) ith "type" element
 List<XAlternativeType> xgetTypeList()
          Gets (as xml) a List of "type" elements
 void xsetActiveArray(int i, XmlBoolean active)
          Sets (as xml) ith "active" element
 void xsetActiveArray(XmlBoolean[] activeArray)
          Sets (as xml) array of all "active" element
 void xsetId(XmlString id)
          Sets (as xml) the "id" attribute
 void xsetMcdaConcept(XmlString mcdaConcept)
          Sets (as xml) the "mcdaConcept" attribute
 void xsetName(XmlString name)
          Sets (as xml) the "name" attribute
 void xsetReferenceArray(int i, XmlBoolean reference)
          Sets (as xml) ith "reference" element
 void xsetReferenceArray(XmlBoolean[] referenceArray)
          Sets (as xml) array of all "reference" element
 void xsetTypeArray(int i, XAlternativeType type)
          Sets (as xml) ith "type" element
 void xsetTypeArray(XAlternativeType[] typeArray)
          Sets (as xml) array of all "type" element
 
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, create_attribute_user, create_element_user, dateValue, disconnect_store, documentProperties, doubleValue, dump, enumValue, equals, execQuery, execQuery, floatValue, gDateValue, gDurationValue, 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_newValue, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, 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_now, validate, validate, valueEquals, valueHashCode, writeReplace, xgetListValue, xlistValue, xmlText, xmlText
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.xmlbeans.XmlObject
changeType, compareTo, compareValue, 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

XAlternativeImpl

public XAlternativeImpl(SchemaType sType)
Method Detail

getDescriptionList

public List<XDescription> getDescriptionList()
Gets a List of "description" elements

Specified by:
getDescriptionList in interface XAlternative

getDescriptionArray

public XDescription[] getDescriptionArray()
Deprecated. 

Gets array of all "description" elements

Specified by:
getDescriptionArray in interface XAlternative

getDescriptionArray

public XDescription getDescriptionArray(int i)
Gets ith "description" element

Specified by:
getDescriptionArray in interface XAlternative

sizeOfDescriptionArray

public int sizeOfDescriptionArray()
Returns number of "description" element

Specified by:
sizeOfDescriptionArray in interface XAlternative

setDescriptionArray

public void setDescriptionArray(XDescription[] descriptionArray)
Sets array of all "description" element

Specified by:
setDescriptionArray in interface XAlternative

setDescriptionArray

public void setDescriptionArray(int i,
                                XDescription description)
Sets ith "description" element

Specified by:
setDescriptionArray in interface XAlternative

insertNewDescription

public XDescription insertNewDescription(int i)
Inserts and returns a new empty value (as xml) as the ith "description" element

Specified by:
insertNewDescription in interface XAlternative

addNewDescription

public XDescription addNewDescription()
Appends and returns a new empty value (as xml) as the last "description" element

Specified by:
addNewDescription in interface XAlternative

removeDescription

public void removeDescription(int i)
Removes the ith "description" element

Specified by:
removeDescription in interface XAlternative

getTypeList

public List<XAlternativeType.Enum> getTypeList()
Gets a List of "type" elements

Specified by:
getTypeList in interface XAlternative

getTypeArray

public XAlternativeType.Enum[] getTypeArray()
Deprecated. 

Gets array of all "type" elements

Specified by:
getTypeArray in interface XAlternative

getTypeArray

public XAlternativeType.Enum getTypeArray(int i)
Gets ith "type" element

Specified by:
getTypeArray in interface XAlternative

xgetTypeList

public List<XAlternativeType> xgetTypeList()
Gets (as xml) a List of "type" elements

Specified by:
xgetTypeList in interface XAlternative

xgetTypeArray

public XAlternativeType[] xgetTypeArray()
Deprecated. 

Gets array of all "type" elements

Specified by:
xgetTypeArray in interface XAlternative

xgetTypeArray

public XAlternativeType xgetTypeArray(int i)
Gets (as xml) ith "type" element

Specified by:
xgetTypeArray in interface XAlternative

sizeOfTypeArray

public int sizeOfTypeArray()
Returns number of "type" element

Specified by:
sizeOfTypeArray in interface XAlternative

setTypeArray

public void setTypeArray(XAlternativeType.Enum[] typeArray)
Sets array of all "type" element

Specified by:
setTypeArray in interface XAlternative

setTypeArray

public void setTypeArray(int i,
                         XAlternativeType.Enum type)
Sets ith "type" element

Specified by:
setTypeArray in interface XAlternative

xsetTypeArray

public void xsetTypeArray(XAlternativeType[] typeArray)
Sets (as xml) array of all "type" element

Specified by:
xsetTypeArray in interface XAlternative

xsetTypeArray

public void xsetTypeArray(int i,
                          XAlternativeType type)
Sets (as xml) ith "type" element

Specified by:
xsetTypeArray in interface XAlternative

insertType

public void insertType(int i,
                       XAlternativeType.Enum type)
Inserts the value as the ith "type" element

Specified by:
insertType in interface XAlternative

addType

public void addType(XAlternativeType.Enum type)
Appends the value as the last "type" element

Specified by:
addType in interface XAlternative

insertNewType

public XAlternativeType insertNewType(int i)
Inserts and returns a new empty value (as xml) as the ith "type" element

Specified by:
insertNewType in interface XAlternative

addNewType

public XAlternativeType addNewType()
Appends and returns a new empty value (as xml) as the last "type" element

Specified by:
addNewType in interface XAlternative

removeType

public void removeType(int i)
Removes the ith "type" element

Specified by:
removeType in interface XAlternative

getActiveList

public List<Boolean> getActiveList()
Gets a List of "active" elements

Specified by:
getActiveList in interface XAlternative

getActiveArray

public boolean[] getActiveArray()
Deprecated. 

Gets array of all "active" elements

Specified by:
getActiveArray in interface XAlternative

getActiveArray

public boolean getActiveArray(int i)
Gets ith "active" element

Specified by:
getActiveArray in interface XAlternative

xgetActiveList

public List<XmlBoolean> xgetActiveList()
Gets (as xml) a List of "active" elements

Specified by:
xgetActiveList in interface XAlternative

xgetActiveArray

public XmlBoolean[] xgetActiveArray()
Deprecated. 

Gets array of all "active" elements

Specified by:
xgetActiveArray in interface XAlternative

xgetActiveArray

public XmlBoolean xgetActiveArray(int i)
Gets (as xml) ith "active" element

Specified by:
xgetActiveArray in interface XAlternative

sizeOfActiveArray

public int sizeOfActiveArray()
Returns number of "active" element

Specified by:
sizeOfActiveArray in interface XAlternative

setActiveArray

public void setActiveArray(boolean[] activeArray)
Sets array of all "active" element

Specified by:
setActiveArray in interface XAlternative

setActiveArray

public void setActiveArray(int i,
                           boolean active)
Sets ith "active" element

Specified by:
setActiveArray in interface XAlternative

xsetActiveArray

public void xsetActiveArray(XmlBoolean[] activeArray)
Sets (as xml) array of all "active" element

Specified by:
xsetActiveArray in interface XAlternative

xsetActiveArray

public void xsetActiveArray(int i,
                            XmlBoolean active)
Sets (as xml) ith "active" element

Specified by:
xsetActiveArray in interface XAlternative

insertActive

public void insertActive(int i,
                         boolean active)
Inserts the value as the ith "active" element

Specified by:
insertActive in interface XAlternative

addActive

public void addActive(boolean active)
Appends the value as the last "active" element

Specified by:
addActive in interface XAlternative

insertNewActive

public XmlBoolean insertNewActive(int i)
Inserts and returns a new empty value (as xml) as the ith "active" element

Specified by:
insertNewActive in interface XAlternative

addNewActive

public XmlBoolean addNewActive()
Appends and returns a new empty value (as xml) as the last "active" element

Specified by:
addNewActive in interface XAlternative

removeActive

public void removeActive(int i)
Removes the ith "active" element

Specified by:
removeActive in interface XAlternative

getReferenceList

public List<Boolean> getReferenceList()
Gets a List of "reference" elements

Specified by:
getReferenceList in interface XAlternative

getReferenceArray

public boolean[] getReferenceArray()
Deprecated. 

Gets array of all "reference" elements

Specified by:
getReferenceArray in interface XAlternative

getReferenceArray

public boolean getReferenceArray(int i)
Gets ith "reference" element

Specified by:
getReferenceArray in interface XAlternative

xgetReferenceList

public List<XmlBoolean> xgetReferenceList()
Gets (as xml) a List of "reference" elements

Specified by:
xgetReferenceList in interface XAlternative

xgetReferenceArray

public XmlBoolean[] xgetReferenceArray()
Deprecated. 

Gets array of all "reference" elements

Specified by:
xgetReferenceArray in interface XAlternative

xgetReferenceArray

public XmlBoolean xgetReferenceArray(int i)
Gets (as xml) ith "reference" element

Specified by:
xgetReferenceArray in interface XAlternative

sizeOfReferenceArray

public int sizeOfReferenceArray()
Returns number of "reference" element

Specified by:
sizeOfReferenceArray in interface XAlternative

setReferenceArray

public void setReferenceArray(boolean[] referenceArray)
Sets array of all "reference" element

Specified by:
setReferenceArray in interface XAlternative

setReferenceArray

public void setReferenceArray(int i,
                              boolean reference)
Sets ith "reference" element

Specified by:
setReferenceArray in interface XAlternative

xsetReferenceArray

public void xsetReferenceArray(XmlBoolean[] referenceArray)
Sets (as xml) array of all "reference" element

Specified by:
xsetReferenceArray in interface XAlternative

xsetReferenceArray

public void xsetReferenceArray(int i,
                               XmlBoolean reference)
Sets (as xml) ith "reference" element

Specified by:
xsetReferenceArray in interface XAlternative

insertReference

public void insertReference(int i,
                            boolean reference)
Inserts the value as the ith "reference" element

Specified by:
insertReference in interface XAlternative

addReference

public void addReference(boolean reference)
Appends the value as the last "reference" element

Specified by:
addReference in interface XAlternative

insertNewReference

public XmlBoolean insertNewReference(int i)
Inserts and returns a new empty value (as xml) as the ith "reference" element

Specified by:
insertNewReference in interface XAlternative

addNewReference

public XmlBoolean addNewReference()
Appends and returns a new empty value (as xml) as the last "reference" element

Specified by:
addNewReference in interface XAlternative

removeReference

public void removeReference(int i)
Removes the ith "reference" element

Specified by:
removeReference in interface XAlternative

getId

public String getId()
Gets the "id" attribute

Specified by:
getId in interface XAlternative

xgetId

public XmlString xgetId()
Gets (as xml) the "id" attribute

Specified by:
xgetId in interface XAlternative

setId

public void setId(String id)
Sets the "id" attribute

Specified by:
setId in interface XAlternative

xsetId

public void xsetId(XmlString id)
Sets (as xml) the "id" attribute

Specified by:
xsetId in interface XAlternative

getName

public String getName()
Gets the "name" attribute

Specified by:
getName in interface XAlternative

xgetName

public XmlString xgetName()
Gets (as xml) the "name" attribute

Specified by:
xgetName in interface XAlternative

isSetName

public boolean isSetName()
True if has "name" attribute

Specified by:
isSetName in interface XAlternative

setName

public void setName(String name)
Sets the "name" attribute

Specified by:
setName in interface XAlternative

xsetName

public void xsetName(XmlString name)
Sets (as xml) the "name" attribute

Specified by:
xsetName in interface XAlternative

unsetName

public void unsetName()
Unsets the "name" attribute

Specified by:
unsetName in interface XAlternative

getMcdaConcept

public String getMcdaConcept()
Gets the "mcdaConcept" attribute

Specified by:
getMcdaConcept in interface XAlternative

xgetMcdaConcept

public XmlString xgetMcdaConcept()
Gets (as xml) the "mcdaConcept" attribute

Specified by:
xgetMcdaConcept in interface XAlternative

isSetMcdaConcept

public boolean isSetMcdaConcept()
True if has "mcdaConcept" attribute

Specified by:
isSetMcdaConcept in interface XAlternative

setMcdaConcept

public void setMcdaConcept(String mcdaConcept)
Sets the "mcdaConcept" attribute

Specified by:
setMcdaConcept in interface XAlternative

xsetMcdaConcept

public void xsetMcdaConcept(XmlString mcdaConcept)
Sets (as xml) the "mcdaConcept" attribute

Specified by:
xsetMcdaConcept in interface XAlternative

unsetMcdaConcept

public void unsetMcdaConcept()
Unsets the "mcdaConcept" attribute

Specified by:
unsetMcdaConcept in interface XAlternative


Copyright © 2011. All Rights Reserved.