Tuscany DAS for Relational Databases

org.apache.tuscany.das.rdb.config.impl
Class RelationshipImpl

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.das.rdb.config.impl.RelationshipImpl
All Implemented Interfaces:
DataObject, Serializable, Relationship, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class RelationshipImpl
extends org.apache.tuscany.sdo.impl.DataObjectImpl
implements Relationship

An implementation of the model object 'Relationship'.

The following features are implemented:

See Also:
Serialized Form

Nested Class Summary
 
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
protected  String config
          The cached value of the 'Config' attribute.
protected static String CONFIG_EDEFAULT
          The default value of the 'Config' attribute.
protected static String FOREIGN_KEY_TABLE_EDEFAULT
          The default value of the 'Foreign Key Table' attribute.
protected  String foreignKeyTable
          The cached value of the 'Foreign Key Table' attribute.
protected  org.eclipse.emf.common.util.EList keyPair
          The cached value of the 'Key Pair' containment reference list.
protected  boolean many
          The cached value of the 'Many' attribute.
protected static boolean MANY_EDEFAULT
          The default value of the 'Many' attribute.
protected  String name
          The cached value of the 'Name' attribute.
protected static String NAME_EDEFAULT
          The default value of the 'Name' attribute.
protected static String PRIMARY_KEY_TABLE_EDEFAULT
          The default value of the 'Primary Key Table' attribute.
protected  String primaryKeyTable
          The cached value of the 'Primary Key Table' attribute.
 
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
protected RelationshipImpl()
           
 
Method Summary
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 String getConfig()
           
 String getForeignKeyTable()
           
 List getKeyPair()
           
 String getName()
           
 String getPrimaryKeyTable()
           
 boolean isMany()
           
 void setConfig(String newConfig)
           
 void setForeignKeyTable(String newForeignKeyTable)
           
 void setMany(boolean newMany)
           
 void setName(String newName)
           
 void setPrimaryKeyTable(String newPrimaryKeyTable)
           
 String toString()
           
 
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, getInt, getInt, getInt, getList, getList, getList, getLong, getLong, getLong, getProperty, getRootObject, getSequence, getSequence, getSequence, getSequence, getShort, getShort, getShort, getString, getString, getString, getType, isSet, isSet, isSet, set, 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, 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

keyPair

protected org.eclipse.emf.common.util.EList keyPair
The cached value of the 'Key Pair' containment reference list.

See Also:
getKeyPair()

CONFIG_EDEFAULT

protected static final String CONFIG_EDEFAULT
The default value of the 'Config' attribute.

See Also:
getConfig()

config

protected String config
The cached value of the 'Config' attribute.

See Also:
getConfig()

FOREIGN_KEY_TABLE_EDEFAULT

protected static final String FOREIGN_KEY_TABLE_EDEFAULT
The default value of the 'Foreign Key Table' attribute.

See Also:
getForeignKeyTable()

foreignKeyTable

protected String foreignKeyTable
The cached value of the 'Foreign Key Table' attribute.

See Also:
getForeignKeyTable()

MANY_EDEFAULT

protected static final boolean MANY_EDEFAULT
The default value of the 'Many' attribute.

See Also:
isMany(), Constant Field Values

many

protected boolean many
The cached value of the 'Many' attribute.

See Also:
isMany()

NAME_EDEFAULT

protected static final String NAME_EDEFAULT
The default value of the 'Name' attribute.

See Also:
getName()

name

protected String name
The cached value of the 'Name' attribute.

See Also:
getName()

PRIMARY_KEY_TABLE_EDEFAULT

protected static final String PRIMARY_KEY_TABLE_EDEFAULT
The default value of the 'Primary Key Table' attribute.

See Also:
getPrimaryKeyTable()

primaryKeyTable

protected String primaryKeyTable
The cached value of the 'Primary Key Table' attribute.

See Also:
getPrimaryKeyTable()
Constructor Detail

RelationshipImpl

protected RelationshipImpl()

Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class org.apache.tuscany.sdo.impl.DataObjectImpl

getKeyPair

public List getKeyPair()

Specified by:
getKeyPair in interface Relationship
Returns:
the value of the 'Key Pair' containment reference list.

getConfig

public String getConfig()

Specified by:
getConfig in interface Relationship
Returns:
the value of the 'Config' attribute.
See Also:
Relationship.setConfig(String)

setConfig

public void setConfig(String newConfig)

Specified by:
setConfig in interface Relationship
Parameters:
newConfig - the new value of the 'Config' attribute.
See Also:
Relationship.getConfig()

getForeignKeyTable

public String getForeignKeyTable()

Specified by:
getForeignKeyTable in interface Relationship
Returns:
the value of the 'Foreign Key Table' attribute.
See Also:
Relationship.setForeignKeyTable(String)

setForeignKeyTable

public void setForeignKeyTable(String newForeignKeyTable)

Specified by:
setForeignKeyTable in interface Relationship
Parameters:
newForeignKeyTable - the new value of the 'Foreign Key Table' attribute.
See Also:
Relationship.getForeignKeyTable()

isMany

public boolean isMany()

Specified by:
isMany in interface Relationship
Returns:
the value of the 'Many' attribute.
See Also:
Relationship.setMany(boolean)

setMany

public void setMany(boolean newMany)

Specified by:
setMany in interface Relationship
Parameters:
newMany - the new value of the 'Many' attribute.
See Also:
Relationship.isMany()

getName

public String getName()

Specified by:
getName in interface Relationship
Returns:
the value of the 'Name' attribute.
See Also:
Relationship.setName(String)

setName

public void setName(String newName)

Specified by:
setName in interface Relationship
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
Relationship.getName()

getPrimaryKeyTable

public String getPrimaryKeyTable()

Specified by:
getPrimaryKeyTable in interface Relationship
Returns:
the value of the 'Primary Key Table' attribute.
See Also:
Relationship.setPrimaryKeyTable(String)

setPrimaryKeyTable

public void setPrimaryKeyTable(String newPrimaryKeyTable)

Specified by:
setPrimaryKeyTable in interface Relationship
Parameters:
newPrimaryKeyTable - the new value of the 'Primary Key Table' attribute.
See Also:
Relationship.getPrimaryKeyTable()

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class org.apache.tuscany.sdo.impl.DataObjectImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.apache.tuscany.sdo.impl.DataObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.apache.tuscany.sdo.impl.DataObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.apache.tuscany.sdo.impl.DataObjectImpl

toString

public String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

Tuscany DAS for Relational Databases

-