org.apache.tuscany.sdo.impl
Class DataObjectBase

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
All Implemented Interfaces:
DataObject, Serializable, 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:
BaseDataGraphTypeImpl, DataObjectImpl, JavaInfoImpl, JavaMetaDataImpl, ModelsTypeImpl, PropertyImpl, SDOMetaDataGroupImpl, TextTypeImpl, TypeImpl, TypeMetaDataImpl, TypesImpl, XMLInfoImpl, XSDMetaDataImpl, XSDTypeImpl

public abstract class DataObjectBase
extends ExtensibleDataObjectImpl

Base implementation of the SDO DataObject interface. Used as base class for generated (static) SDO classes

See Also:
Serialized Form

Nested Class Summary
protected static interface DataObjectBase.ChangeContext
           
protected static interface DataObjectBase.ChangeKind
           
static interface 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
protected  int 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
DataObjectBase()
           
 
Method Summary
protected  DataObjectBase.ChangeContext addNotification(Object notifier, int eventType, int featureID, Object oldValue, Object newValue, boolean isSetChanged, DataObjectBase.ChangeContext changeContext)
           
protected  DataObjectBase.ChangeContext addNotification(Object notifier, int eventType, int featureID, Object oldValue, Object newValue, DataObjectBase.ChangeContext changeContext)
           
protected  DataObjectBase.ChangeContext basicAdd(Sequence seq, Type type, int propertyIndex, Object newValue, DataObjectBase.ChangeContext changeContext)
           
protected  void createChangeSummary(int property)
           
protected  List createPropertyList(int listKind, Class dataClass, int property)
          Deprecated.  
protected  List createPropertyList(int listKind, Class dataClass, int property, int reverseProperty)
           
protected  BasicSequence createSequence(int property)
           
protected  Sequence createSequence(Sequence sequence, Type type, int propertyIndex)
           
protected  void dispatch(DataObjectBase.ChangeContext changeContext)
           
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int internalIndex, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
 org.eclipse.emf.ecore.EClass eStaticClass()
           
 int eStaticFeatureCount()
           
 void eUnset(int featureID)
           
protected  Object get(Sequence seq, Type type, int propertyIndex)
           
protected  List getList(Sequence seq, Type type, int propertyIndex)
           
 int getStaticPropertyCount()
           
 Type getStaticType()
           
protected  int internalConvertIndex(int internalIndex)
           
protected  DataObjectBase.ChangeContext inverseAdd(Object otherEnd, int propertyIndex, DataObjectBase.ChangeContext changeContext)
           
protected  DataObjectBase.ChangeContext inverseAdd(Object thisEnd, Object otherEnd, int propertyIndex, Class baseClass, DataObjectBase.ChangeContext changeContext)
           
protected  DataObjectBase.ChangeContext inverseRemove(Object otherEnd, int propertyIndex, DataObjectBase.ChangeContext changeContext)
           
protected  DataObjectBase.ChangeContext inverseRemove(Object thisEnd, Object otherEnd, int propertyIndex, Class baseClass, DataObjectBase.ChangeContext changeContext)
           
protected  boolean isNotifying()
           
protected  boolean isProxy()
           
protected  boolean isProxy(Object object)
           
protected  boolean isSequenceEmpty(Sequence sequence)
           
protected  boolean isSet(Sequence seq, Type type, int propertyIndex)
           
protected  void notify(int changeKind, int property, boolean oldBooleanValue, boolean newBooleanValue)
          notify methods for types: boolean, byte, char, double, float, int, long, short, and Object
protected  void notify(int changeKind, int property, boolean oldBooleanValue, boolean newBooleanValue, boolean isSetChange)
           
protected  void notify(int changeKind, int property, byte oldByteValue, byte newByteValue)
           
protected  void notify(int changeKind, int property, byte oldByteValue, byte newByteValue, boolean isSetChange)
           
protected  void notify(int changeKind, int property, char oldCharValue, char newCharValue)
           
protected  void notify(int changeKind, int property, char oldCharValue, char newCharValue, boolean isSetChange)
           
protected  void notify(int changeKind, int property, double oldDoubleValue, double newDoubleValue)
           
protected  void notify(int changeKind, int property, double oldDoubleValue, double newDoubleValue, boolean isSetChange)
           
protected  void notify(int changeKind, int property, float oldFloatValue, float newFloatValue)
           
protected  void notify(int changeKind, int property, float oldFloatValue, float newFloatValue, boolean isSetChange)
           
protected  void notify(int changeKind, int property, int oldIntValue, int newIntValue)
           
protected  void notify(int changeKind, int property, int oldIntValue, int newIntValue, boolean isSetChange)
           
protected  void notify(int changeKind, int property, long oldLongValue, long newLongValue)
           
protected  void notify(int changeKind, int property, long oldLongValue, long newLongValue, boolean isSetChange)
           
protected  void notify(int changeKind, int property, Object oldValue, Object newValue)
           
protected  void notify(int changeKind, int property, Object oldValue, Object newValue, boolean isSetChange)
           
protected  void notify(int changeKind, int property, short oldShortValue, short newShortValue)
           
protected  void notify(int changeKind, int property, short oldShortValue, short newShortValue, boolean isSetChange)
           
protected  DataObjectBase.ChangeContext removeFromList(List propertyList, Object objectToRemove, DataObjectBase.ChangeContext changeContext)
           
protected  DataObjectBase.ChangeContext removeFromSequence(Sequence sequence, Object otherEnd, DataObjectBase.ChangeContext changeContext)
           
protected  Object resolveProxy(Object proxy)
           
protected  void set(Sequence seq, Type type, int propertyIndex, Object newValue)
           
protected  void setSequence(Sequence seq, Object newValue)
           
 String toString()
           
protected  void unset(Sequence seq, Type type, int propertyIndex)
           
protected  void unsetSequence(Sequence seq)
           
 
Methods inherited from class org.apache.tuscany.sdo.impl.ExtensibleDataObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eClass, eDerivedStructuralFeatureID, eDynamicClass, eDynamicGet, eDynamicIsSet, eDynamicSet, eDynamicUnset, eHasSettings, eSetClass, eSettings, get, get, isDynamic, isSet, set, unset
 
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, 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, 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, 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, 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

OPPOSITE_FEATURE_BASE

protected int OPPOSITE_FEATURE_BASE
Constructor Detail

DataObjectBase

public DataObjectBase()
Method Detail

isNotifying

protected boolean isNotifying()

notify

protected void notify(int changeKind,
                      int property,
                      boolean oldBooleanValue,
                      boolean newBooleanValue)
notify methods for types: boolean, byte, char, double, float, int, long, short, and Object


notify

protected void notify(int changeKind,
                      int property,
                      boolean oldBooleanValue,
                      boolean newBooleanValue,
                      boolean isSetChange)

notify

protected void notify(int changeKind,
                      int property,
                      byte oldByteValue,
                      byte newByteValue)

notify

protected void notify(int changeKind,
                      int property,
                      byte oldByteValue,
                      byte newByteValue,
                      boolean isSetChange)

notify

protected void notify(int changeKind,
                      int property,
                      char oldCharValue,
                      char newCharValue)

notify

protected void notify(int changeKind,
                      int property,
                      char oldCharValue,
                      char newCharValue,
                      boolean isSetChange)

notify

protected void notify(int changeKind,
                      int property,
                      double oldDoubleValue,
                      double newDoubleValue)

notify

protected void notify(int changeKind,
                      int property,
                      double oldDoubleValue,
                      double newDoubleValue,
                      boolean isSetChange)

notify

protected void notify(int changeKind,
                      int property,
                      float oldFloatValue,
                      float newFloatValue)

notify

protected void notify(int changeKind,
                      int property,
                      float oldFloatValue,
                      float newFloatValue,
                      boolean isSetChange)

notify

protected void notify(int changeKind,
                      int property,
                      int oldIntValue,
                      int newIntValue)

notify

protected void notify(int changeKind,
                      int property,
                      int oldIntValue,
                      int newIntValue,
                      boolean isSetChange)

notify

protected void notify(int changeKind,
                      int property,
                      long oldLongValue,
                      long newLongValue)

notify

protected void notify(int changeKind,
                      int property,
                      long oldLongValue,
                      long newLongValue,
                      boolean isSetChange)

notify

protected void notify(int changeKind,
                      int property,
                      short oldShortValue,
                      short newShortValue)

notify

protected void notify(int changeKind,
                      int property,
                      short oldShortValue,
                      short newShortValue,
                      boolean isSetChange)

notify

protected void notify(int changeKind,
                      int property,
                      Object oldValue,
                      Object newValue)

notify

protected void notify(int changeKind,
                      int property,
                      Object oldValue,
                      Object newValue,
                      boolean isSetChange)

createPropertyList

protected List createPropertyList(int listKind,
                                  Class dataClass,
                                  int property)
Deprecated. 


createPropertyList

protected List createPropertyList(int listKind,
                                  Class dataClass,
                                  int property,
                                  int reverseProperty)

createSequence

protected BasicSequence createSequence(int property)

createSequence

protected Sequence createSequence(Sequence sequence,
                                  Type type,
                                  int propertyIndex)

createChangeSummary

protected void createChangeSummary(int property)

get

protected Object get(Sequence seq,
                     Type type,
                     int propertyIndex)

getList

protected List getList(Sequence seq,
                       Type type,
                       int propertyIndex)

set

protected void set(Sequence seq,
                   Type type,
                   int propertyIndex,
                   Object newValue)

unset

protected void unset(Sequence seq,
                     Type type,
                     int propertyIndex)

isSet

protected boolean isSet(Sequence seq,
                        Type type,
                        int propertyIndex)

isSequenceEmpty

protected boolean isSequenceEmpty(Sequence sequence)

setSequence

protected void setSequence(Sequence seq,
                           Object newValue)

unsetSequence

protected void unsetSequence(Sequence seq)

basicAdd

protected DataObjectBase.ChangeContext basicAdd(Sequence seq,
                                                Type type,
                                                int propertyIndex,
                                                Object newValue,
                                                DataObjectBase.ChangeContext changeContext)

inverseRemove

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

inverseAdd

protected DataObjectBase.ChangeContext inverseAdd(Object otherEnd,
                                                  int propertyIndex,
                                                  DataObjectBase.ChangeContext changeContext)

inverseRemove

protected DataObjectBase.ChangeContext inverseRemove(Object thisEnd,
                                                     Object otherEnd,
                                                     int propertyIndex,
                                                     Class baseClass,
                                                     DataObjectBase.ChangeContext changeContext)

inverseAdd

protected DataObjectBase.ChangeContext inverseAdd(Object thisEnd,
                                                  Object otherEnd,
                                                  int propertyIndex,
                                                  Class baseClass,
                                                  DataObjectBase.ChangeContext changeContext)

addNotification

protected DataObjectBase.ChangeContext addNotification(Object notifier,
                                                       int eventType,
                                                       int featureID,
                                                       Object oldValue,
                                                       Object newValue,
                                                       boolean isSetChanged,
                                                       DataObjectBase.ChangeContext changeContext)

addNotification

protected DataObjectBase.ChangeContext addNotification(Object notifier,
                                                       int eventType,
                                                       int featureID,
                                                       Object oldValue,
                                                       Object newValue,
                                                       DataObjectBase.ChangeContext changeContext)

removeFromList

protected DataObjectBase.ChangeContext removeFromList(List propertyList,
                                                      Object objectToRemove,
                                                      DataObjectBase.ChangeContext changeContext)

removeFromSequence

protected DataObjectBase.ChangeContext removeFromSequence(Sequence sequence,
                                                          Object otherEnd,
                                                          DataObjectBase.ChangeContext changeContext)

dispatch

protected void dispatch(DataObjectBase.ChangeContext changeContext)

isProxy

protected boolean isProxy()

isProxy

protected boolean isProxy(Object object)

resolveProxy

protected Object resolveProxy(Object proxy)

eStaticClass

public org.eclipse.emf.ecore.EClass eStaticClass()
Description copied from class: ExtensibleDataObjectImpl

Overrides:
eStaticClass in class ExtensibleDataObjectImpl

getStaticType

public Type getStaticType()

eStaticFeatureCount

public int eStaticFeatureCount()
Overrides:
eStaticFeatureCount in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

getStaticPropertyCount

public int getStaticPropertyCount()

internalConvertIndex

protected int internalConvertIndex(int internalIndex)

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)
Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class DataObjectImpl

eSet

public void eSet(int featureID,
                 Object newValue)
Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class DataObjectImpl

eUnset

public void eUnset(int featureID)
Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class DataObjectImpl

eIsSet

public boolean eIsSet(int featureID)
Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class DataObjectImpl

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int internalIndex,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)
Overrides:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

toString

public String toString()
Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl


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