org.apache.tuscany.sdo.model.xml.impl
Class XMLInfoImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.apache.tuscany.sdo.impl.DataObjectImpl
              extended by org.apache.tuscany.sdo.impl.DataObjectBase
                  extended by org.apache.tuscany.sdo.model.xml.impl.XMLInfoImpl
All Implemented Interfaces:
commonj.sdo.DataObject, java.io.Serializable, XMLInfo, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class XMLInfoImpl
extends DataObjectBase
implements XMLInfo

An implementation of the model object 'Info'.

The following features are implemented:

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.tuscany.sdo.impl.DataObjectBase
DataObjectBase.ChangeContext, DataObjectBase.ChangeKind, DataObjectBase.ListKind
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
static int EXTENDED_PROPERTY_COUNT
           
static int INTERNAL_PROPERTY_COUNT
          The number of properties for this type.
static int INTERNAL_XML_ELEMENT
          The internal feature id for the 'Xml Element' attribute.
static int SDO_PROPERTY_COUNT
           
static int XML_ELEMENT
           
protected static boolean XML_ELEMENT_DEFAULT_
          The default value of the 'Xml Element' attribute.
protected  boolean xmlElement
          The cached value of the 'Xml Element' attribute.
protected  boolean xmlElement_set_
          This is true if the Xml Element attribute has been set.
 
Fields inherited from class org.apache.tuscany.sdo.impl.DataObjectBase
OPPOSITE_FEATURE_BASE
 
Fields inherited from class org.apache.tuscany.sdo.impl.DataObjectImpl
changeRecorder, eContainer, eContainerFeatureID, location
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
XMLInfoImpl()
           
 
Method Summary
 java.lang.Object get(int propertyIndex, boolean resolve)
           
 commonj.sdo.Type getType()
           
protected  int internalConvertIndex(int internalIndex)
           
 boolean isSet(int propertyIndex)
           
 boolean isSetXmlElement()
           
 boolean isXmlElement()
           
 void set(int propertyIndex, java.lang.Object newValue)
           
 void setXmlElement(boolean newXmlElement)
           
 java.lang.String toString()
           
 void unset(int propertyIndex)
           
 void unsetXmlElement()
           
 
Methods inherited from class org.apache.tuscany.sdo.impl.DataObjectBase
addNotification, addNotification, basicAdd, createChangeSummary, createPropertyList, createPropertyList, createSequence, createSequence, dispatch, eGet, eInverseRemove, eIsSet, eSet, eStaticClass, eUnset, get, getList, inverseAdd, inverseAdd, inverseRemove, inverseRemove, isNotifying, isProxy, isProxy, isSequenceEmpty, isSet, notify, notify, notify, notify, removeFromList, removeFromSequence, resolveProxy, set, setSequence, unset, unsetSequence
 
Methods inherited from class org.apache.tuscany.sdo.impl.DataObjectImpl
createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, detach, eBasicSetContainer, eClass, eContainerFeatureID, eContents, eCrossReferences, eDirectResource, eDynamicClass, eDynamicGet, eDynamicIsSet, eDynamicSet, eDynamicUnset, eHasSettings, eInternalContainer, eIsProxy, eNotificationRequired, eNotify, eProxyURI, eSetClass, eSetDirectResource, eSetProxyURI, eSettings, get, get, get, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getBytes, getBytes, getBytes, getChangeSummary, getChar, getChar, getChar, getContainer, getContainmentProperty, getDataGraph, getDataObject, getDataObject, getDataObject, getDate, getDate, getDate, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInstanceProperties, getInstanceProperty, getInt, getInt, getInt, getList, getList, getList, getLong, getLong, getLong, getProperty, getRootObject, getSequence, getSequence, getSequence, getSequence, getShort, getShort, getShort, getString, getString, getString, isSet, isSet, set, set, setBigDecimal, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBigInteger, setBoolean, setBoolean, setBoolean, setByte, setByte, setByte, setBytes, setBytes, setBytes, setChangeRecorder, setChar, setChar, setChar, setDataObject, setDataObject, setDataObject, setDate, setDate, setDate, setDouble, setDouble, setDouble, setFloat, setFloat, setFloat, setInt, setInt, setInt, setList, setList, setList, setLong, setLong, setLong, setShort, setShort, setShort, setString, setString, setString, unset, unset, writeReplace
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicProperties, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProperties, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eAdapters, eBasicAdapters, eDeliver, eSetDeliver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

XML_ELEMENT

public static final int XML_ELEMENT
See Also:
Constant Field Values

SDO_PROPERTY_COUNT

public static final int SDO_PROPERTY_COUNT
See Also:
Constant Field Values

EXTENDED_PROPERTY_COUNT

public static final int EXTENDED_PROPERTY_COUNT
See Also:
Constant Field Values

INTERNAL_XML_ELEMENT

public static final int INTERNAL_XML_ELEMENT
The internal feature id for the 'Xml Element' attribute.

See Also:
Constant Field Values

INTERNAL_PROPERTY_COUNT

public static final int INTERNAL_PROPERTY_COUNT
The number of properties for this type.

See Also:
Constant Field Values

XML_ELEMENT_DEFAULT_

protected static final boolean XML_ELEMENT_DEFAULT_
The default value of the 'Xml Element' attribute.

See Also:
isXmlElement(), Constant Field Values

xmlElement

protected boolean xmlElement
The cached value of the 'Xml Element' attribute.

See Also:
isXmlElement()

xmlElement_set_

protected boolean xmlElement_set_
This is true if the Xml Element attribute has been set.

Constructor Detail

XMLInfoImpl

public XMLInfoImpl()

Method Detail

internalConvertIndex

protected int internalConvertIndex(int internalIndex)
Overrides:
internalConvertIndex in class DataObjectBase

getType

public commonj.sdo.Type getType()

Specified by:
getType in interface commonj.sdo.DataObject
Overrides:
getType in class DataObjectBase

isXmlElement

public boolean isXmlElement()

Specified by:
isXmlElement in interface XMLInfo
Returns:
the value of the 'Xml Element' attribute.
See Also:
XMLInfo.isSetXmlElement(), XMLInfo.unsetXmlElement(), XMLInfo.setXmlElement(boolean)

setXmlElement

public void setXmlElement(boolean newXmlElement)

Specified by:
setXmlElement in interface XMLInfo
Parameters:
newXmlElement - the new value of the 'Xml Element' attribute.
See Also:
XMLInfo.isSetXmlElement(), XMLInfo.unsetXmlElement(), XMLInfo.isXmlElement()

unsetXmlElement

public void unsetXmlElement()

Specified by:
unsetXmlElement in interface XMLInfo
See Also:
XMLInfo.isSetXmlElement(), XMLInfo.isXmlElement(), XMLInfo.setXmlElement(boolean)

isSetXmlElement

public boolean isSetXmlElement()

Specified by:
isSetXmlElement in interface XMLInfo
Returns:
whether the value of the 'Xml Element' attribute is set.
See Also:
XMLInfo.unsetXmlElement(), XMLInfo.isXmlElement(), XMLInfo.setXmlElement(boolean)

get

public java.lang.Object get(int propertyIndex,
                            boolean resolve)

Overrides:
get in class DataObjectBase

set

public void set(int propertyIndex,
                java.lang.Object newValue)

Specified by:
set in interface commonj.sdo.DataObject
Overrides:
set in class DataObjectImpl

unset

public void unset(int propertyIndex)

Specified by:
unset in interface commonj.sdo.DataObject
Overrides:
unset in class DataObjectImpl

isSet

public boolean isSet(int propertyIndex)

Specified by:
isSet in interface commonj.sdo.DataObject
Overrides:
isSet in class DataObjectImpl

toString

public java.lang.String toString()

Overrides:
toString in class DataObjectBase


Copyright © 2007 Apache Software Foundation. All Rights Reserved.