org.apache.tuscany.sdo.model.impl
Class BaseDataGraphTypeImpl

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.ExtensibleDataObjectImpl
                  extended by org.apache.tuscany.sdo.impl.DataObjectBase
                      extended by org.apache.tuscany.sdo.model.impl.BaseDataGraphTypeImpl
All Implemented Interfaces:
DataObject, Serializable, BaseDataGraphType, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject
Direct Known Subclasses:
DataGraphTypeImpl

public abstract class BaseDataGraphTypeImpl
extends DataObjectBase
implements BaseDataGraphType

An implementation of the model object 'Base Data Graph Type'.

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.apache.tuscany.sdo.impl.ExtensibleDataObjectImpl
ExtensibleDataObjectImpl.FactoryImpl
 
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, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
static int ANY_ATTRIBUTE
           
protected  Sequence anyAttribute
          The cached value of the 'Any Attribute' attribute list.
static int CHANGE_SUMMARY
           
protected static ChangeSummary CHANGE_SUMMARY_DEFAULT_
          The default value of the 'Change Summary' attribute.
protected  ChangeSummary changeSummary
          The cached value of the 'Change Summary' attribute.
protected  boolean changeSummary_set_
          This is true if the Change Summary attribute has been set.
static int EXTENDED_PROPERTY_COUNT
           
static int INTERNAL_ANY_ATTRIBUTE
          The internal feature id for the 'Any Attribute' attribute list.
static int INTERNAL_CHANGE_SUMMARY
          The internal feature id for the 'Change Summary' attribute.
static int INTERNAL_MODELS
          The internal feature id for the 'Models' containment reference.
static int INTERNAL_PROPERTY_COUNT
          The number of properties for this type.
static int INTERNAL_XSD
          The internal feature id for the 'Xsd' containment reference.
protected  ModelsType models
          The cached value of the 'Models' containment reference.
static int MODELS
           
protected  boolean models_set_
          This is true if the Models containment reference has been set.
static int SDO_PROPERTY_COUNT
           
protected  XSDType xsd
          The cached value of the 'Xsd' containment reference.
static int XSD
           
protected  boolean xsd_set_
          This is true if the Xsd containment reference 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.ExtensibleDataObjectImpl
eClass, ENO_SETTINGS, eSettings
 
Fields inherited from class org.apache.tuscany.sdo.impl.DataObjectImpl
changeRecorder, eAdapters, eContainer, eContainerFeatureID, location, sequence
 
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.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
BaseDataGraphTypeImpl()
           
 
Method Summary
 DataObjectBase.ChangeContext basicSetModels(ModelsType newModels, DataObjectBase.ChangeContext changeContext)
           
 DataObjectBase.ChangeContext basicSetXsd(XSDType newXsd, DataObjectBase.ChangeContext changeContext)
           
 DataObjectBase.ChangeContext basicUnsetModels(DataObjectBase.ChangeContext changeContext)
           
 DataObjectBase.ChangeContext basicUnsetXsd(DataObjectBase.ChangeContext changeContext)
           
 Object get(int propertyIndex, boolean resolve)
           
 Sequence getAnyAttribute()
           
 ChangeSummary getChangeSummary()
           
 ModelsType getModels()
           
 Type getStaticType()
           
 XSDType getXsd()
           
protected  int internalConvertIndex(int internalIndex)
           
 DataObjectBase.ChangeContext inverseRemove(Object otherEnd, int propertyIndex, DataObjectBase.ChangeContext changeContext)
           
 boolean isSet(int propertyIndex)
           
 boolean isSetChangeSummary()
           
 boolean isSetModels()
           
 boolean isSetXsd()
           
 void set(int propertyIndex, Object newValue)
           
 void setChangeSummary(ChangeSummary newChangeSummary)
           
 void setModels(ModelsType newModels)
           
 void setXsd(XSDType newXsd)
           
 String toString()
           
 void unset(int propertyIndex)
           
 void unsetChangeSummary()
           
 void unsetModels()
           
 void unsetXsd()
           
 
Methods inherited from class org.apache.tuscany.sdo.impl.DataObjectBase
addNotification, addNotification, basicAdd, createChangeSummary, createPropertyList, createPropertyList, createSequence, createSequence, dispatch, eGet, eInverseRemove, eIsSet, eSet, eStaticClass, eStaticFeatureCount, eUnset, get, getList, getStaticPropertyCount, inverseAdd, inverseAdd, inverseRemove, isNotifying, isProxy, isProxy, isSequenceEmpty, isSet, notify, notify, notify, notify, notify, notify, notify, notify, notify, notify, notify, notify, notify, notify, notify, notify, notify, notify, removeFromList, removeFromSequence, resolveProxy, set, setSequence, unset, unsetSequence
 
Methods inherited from class org.apache.tuscany.sdo.impl.ExtensibleDataObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eClass, eDerivedStructuralFeatureID, eDynamicClass, eDynamicGet, eDynamicIsSet, eDynamicSet, eDynamicUnset, eHasSettings, eSetClass, eSettings, get, isDynamic
 
Methods inherited from class org.apache.tuscany.sdo.impl.DataObjectImpl
createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, detach, eAdapters, eBasicAdapters, eBasicSetContainer, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eInternalContainer, eIsProxy, eNotificationRequired, eNotify, eProxyURI, eSetDirectResource, eSetProxyURI, get, get, get, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getBytes, getBytes, getBytes, 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, getType, 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, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProperties, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eSetDeliver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface commonj.sdo.DataObject
createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, detach, get, get, get, getBigDecimal, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getBytes, getBytes, getBytes, 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, getType, isSet, isSet, set, set, setBigDecimal, setBigDecimal, setBigDecimal, setBigInteger, setBigInteger, setBigInteger, setBoolean, setBoolean, setBoolean, setByte, setByte, setByte, setBytes, setBytes, setBytes, 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
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eSetDeliver
 

Field Detail

MODELS

public static final int MODELS
See Also:
Constant Field Values

XSD

public static final int XSD
See Also:
Constant Field Values

CHANGE_SUMMARY

public static final int CHANGE_SUMMARY
See Also:
Constant Field Values

ANY_ATTRIBUTE

public static final int ANY_ATTRIBUTE
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_MODELS

public static final int INTERNAL_MODELS
The internal feature id for the 'Models' containment reference.

See Also:
Constant Field Values

INTERNAL_XSD

public static final int INTERNAL_XSD
The internal feature id for the 'Xsd' containment reference.

See Also:
Constant Field Values

INTERNAL_CHANGE_SUMMARY

public static final int INTERNAL_CHANGE_SUMMARY
The internal feature id for the 'Change Summary' attribute.

See Also:
Constant Field Values

INTERNAL_ANY_ATTRIBUTE

public static final int INTERNAL_ANY_ATTRIBUTE
The internal feature id for the 'Any Attribute' attribute list.

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

models

protected ModelsType models
The cached value of the 'Models' containment reference.

See Also:
getModels()

models_set_

protected boolean models_set_
This is true if the Models containment reference has been set.


xsd

protected XSDType xsd
The cached value of the 'Xsd' containment reference.

See Also:
getXsd()

xsd_set_

protected boolean xsd_set_
This is true if the Xsd containment reference has been set.


CHANGE_SUMMARY_DEFAULT_

protected static final ChangeSummary CHANGE_SUMMARY_DEFAULT_
The default value of the 'Change Summary' attribute.

See Also:
getChangeSummary()

changeSummary

protected ChangeSummary changeSummary
The cached value of the 'Change Summary' attribute.

See Also:
getChangeSummary()

changeSummary_set_

protected boolean changeSummary_set_
This is true if the Change Summary attribute has been set.


anyAttribute

protected Sequence anyAttribute
The cached value of the 'Any Attribute' attribute list.

See Also:
getAnyAttribute()
Constructor Detail

BaseDataGraphTypeImpl

public BaseDataGraphTypeImpl()

Method Detail

internalConvertIndex

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

getStaticType

public Type getStaticType()

Overrides:
getStaticType in class DataObjectBase

getModels

public ModelsType getModels()

Specified by:
getModels in interface BaseDataGraphType
Returns:
the value of the 'Models' containment reference.
See Also:
BaseDataGraphType.isSetModels(), BaseDataGraphType.unsetModels(), BaseDataGraphType.setModels(ModelsType)

basicSetModels

public DataObjectBase.ChangeContext basicSetModels(ModelsType newModels,
                                                   DataObjectBase.ChangeContext changeContext)


setModels

public void setModels(ModelsType newModels)

Specified by:
setModels in interface BaseDataGraphType
Parameters:
newModels - the new value of the 'Models' containment reference.
See Also:
BaseDataGraphType.isSetModels(), BaseDataGraphType.unsetModels(), BaseDataGraphType.getModels()

basicUnsetModels

public DataObjectBase.ChangeContext basicUnsetModels(DataObjectBase.ChangeContext changeContext)


unsetModels

public void unsetModels()

Specified by:
unsetModels in interface BaseDataGraphType
See Also:
BaseDataGraphType.isSetModels(), BaseDataGraphType.getModels(), BaseDataGraphType.setModels(ModelsType)

isSetModels

public boolean isSetModels()

Specified by:
isSetModels in interface BaseDataGraphType
Returns:
whether the value of the 'Models' containment reference is set.
See Also:
BaseDataGraphType.unsetModels(), BaseDataGraphType.getModels(), BaseDataGraphType.setModels(ModelsType)

getXsd

public XSDType getXsd()

Specified by:
getXsd in interface BaseDataGraphType
Returns:
the value of the 'Xsd' containment reference.
See Also:
BaseDataGraphType.isSetXsd(), BaseDataGraphType.unsetXsd(), BaseDataGraphType.setXsd(XSDType)

basicSetXsd

public DataObjectBase.ChangeContext basicSetXsd(XSDType newXsd,
                                                DataObjectBase.ChangeContext changeContext)


setXsd

public void setXsd(XSDType newXsd)

Specified by:
setXsd in interface BaseDataGraphType
Parameters:
newXsd - the new value of the 'Xsd' containment reference.
See Also:
BaseDataGraphType.isSetXsd(), BaseDataGraphType.unsetXsd(), BaseDataGraphType.getXsd()

basicUnsetXsd

public DataObjectBase.ChangeContext basicUnsetXsd(DataObjectBase.ChangeContext changeContext)


unsetXsd

public void unsetXsd()

Specified by:
unsetXsd in interface BaseDataGraphType
See Also:
BaseDataGraphType.isSetXsd(), BaseDataGraphType.getXsd(), BaseDataGraphType.setXsd(XSDType)

isSetXsd

public boolean isSetXsd()

Specified by:
isSetXsd in interface BaseDataGraphType
Returns:
whether the value of the 'Xsd' containment reference is set.
See Also:
BaseDataGraphType.unsetXsd(), BaseDataGraphType.getXsd(), BaseDataGraphType.setXsd(XSDType)

getChangeSummary

public ChangeSummary getChangeSummary()

Specified by:
getChangeSummary in interface DataObject
Specified by:
getChangeSummary in interface BaseDataGraphType
Overrides:
getChangeSummary in class DataObjectImpl
Returns:
the ChangeSummary with scope covering this dataObject, or null.
See Also:
BaseDataGraphType.isSetChangeSummary(), BaseDataGraphType.unsetChangeSummary(), BaseDataGraphType.setChangeSummary(ChangeSummary)

setChangeSummary

public void setChangeSummary(ChangeSummary newChangeSummary)

Specified by:
setChangeSummary in interface BaseDataGraphType
Parameters:
newChangeSummary - the new value of the 'Change Summary' attribute.
See Also:
BaseDataGraphType.isSetChangeSummary(), BaseDataGraphType.unsetChangeSummary(), BaseDataGraphType.getChangeSummary()

unsetChangeSummary

public void unsetChangeSummary()

Specified by:
unsetChangeSummary in interface BaseDataGraphType
See Also:
BaseDataGraphType.isSetChangeSummary(), BaseDataGraphType.getChangeSummary(), BaseDataGraphType.setChangeSummary(ChangeSummary)

isSetChangeSummary

public boolean isSetChangeSummary()

Specified by:
isSetChangeSummary in interface BaseDataGraphType
Returns:
whether the value of the 'Change Summary' attribute is set.
See Also:
BaseDataGraphType.unsetChangeSummary(), BaseDataGraphType.getChangeSummary(), BaseDataGraphType.setChangeSummary(ChangeSummary)

getAnyAttribute

public Sequence getAnyAttribute()

Specified by:
getAnyAttribute in interface BaseDataGraphType
Returns:
the value of the 'Any Attribute' attribute list.

inverseRemove

public DataObjectBase.ChangeContext inverseRemove(Object otherEnd,
                                                  int propertyIndex,
                                                  DataObjectBase.ChangeContext changeContext)

Overrides:
inverseRemove in class DataObjectBase

get

public Object get(int propertyIndex,
                  boolean resolve)

Overrides:
get in class ExtensibleDataObjectImpl

set

public void set(int propertyIndex,
                Object newValue)

Specified by:
set in interface DataObject
Overrides:
set in class ExtensibleDataObjectImpl
Parameters:
propertyIndex - the index of the property.
newValue - the new value for the property.
See Also:
DataObject.set(Property, Object)

unset

public void unset(int propertyIndex)

Specified by:
unset in interface DataObject
Overrides:
unset in class ExtensibleDataObjectImpl
Parameters:
propertyIndex - the index of the property.
See Also:
DataObject.unset(Property)

isSet

public boolean isSet(int propertyIndex)

Specified by:
isSet in interface DataObject
Overrides:
isSet in class ExtensibleDataObjectImpl
Parameters:
propertyIndex - the index of the property.
Returns:
whether the specified property is set.
See Also:
DataObject.isSet(Property)

toString

public String toString()

Overrides:
toString in class DataObjectBase


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.