|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.apache.tuscany.sdo.impl.DataObjectImpl
org.apache.tuscany.sdo.impl.ExtensibleDataObjectImpl
org.apache.tuscany.sdo.impl.DataObjectBase
org.apache.tuscany.das.rdb.config.impl.RelationshipImpl
public class RelationshipImpl
An implementation of the model object 'Relationship'.
The following features are implemented:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.tuscany.sdo.impl.DataObjectBase |
---|
org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext, org.apache.tuscany.sdo.impl.DataObjectBase.ChangeKind, org.apache.tuscany.sdo.impl.DataObjectBase.ListKind |
Nested classes/interfaces inherited from class org.apache.tuscany.sdo.impl.ExtensibleDataObjectImpl |
---|
org.apache.tuscany.sdo.impl.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 |
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 |
FOREIGN_KEY_TABLE
|
protected static java.lang.String |
FOREIGN_KEY_TABLE_DEFAULT_
The default value of the ' Foreign Key Table ' attribute. |
protected java.lang.String |
foreignKeyTable
The cached value of the ' Foreign Key Table ' attribute. |
static int |
INTERNAL_FOREIGN_KEY_TABLE
The internal feature id for the 'Foreign Key Table' attribute. |
static int |
INTERNAL_KEY_PAIR
The internal feature id for the 'Key Pair' containment reference list. |
static int |
INTERNAL_KEY_RESTRICTED
The internal feature id for the 'Key Restricted' attribute. |
static int |
INTERNAL_MANY
The internal feature id for the 'Many' attribute. |
static int |
INTERNAL_NAME
The internal feature id for the 'Name' attribute. |
static int |
INTERNAL_PRIMARY_KEY_TABLE
The internal feature id for the 'Primary Key Table' attribute. |
static int |
INTERNAL_PROPERTY_COUNT
The number of properties for this type. |
static int |
KEY_PAIR
|
static int |
KEY_RESTRICTED
|
protected static boolean |
KEY_RESTRICTED_DEFAULT_
The default value of the ' Key Restricted ' attribute. |
protected java.util.List |
keyPair
The cached value of the ' Key Pair ' containment reference list. |
protected boolean |
keyRestricted
The cached value of the ' Key Restricted ' attribute. |
protected boolean |
many
The cached value of the ' Many ' attribute. |
static int |
MANY
|
protected static boolean |
MANY_DEFAULT_
The default value of the ' Many ' attribute. |
protected java.lang.String |
name
The cached value of the ' Name ' attribute. |
static int |
NAME
|
protected static java.lang.String |
NAME_DEFAULT_
The default value of the ' Name ' attribute. |
static int |
PRIMARY_KEY_TABLE
|
protected static java.lang.String |
PRIMARY_KEY_TABLE_DEFAULT_
The default value of the ' Primary Key Table ' attribute. |
protected java.lang.String |
primaryKeyTable
The cached value of the ' Primary Key Table ' attribute. |
static int |
SDO_PROPERTY_COUNT
|
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, 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 | |
---|---|
RelationshipImpl()
|
Method Summary | |
---|---|
java.lang.Object |
get(int propertyIndex,
boolean resolve)
|
java.lang.String |
getForeignKeyTable()
|
java.util.List |
getKeyPair()
|
java.lang.String |
getName()
|
java.lang.String |
getPrimaryKeyTable()
|
commonj.sdo.Type |
getStaticType()
|
protected int |
internalConvertIndex(int internalIndex)
|
org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext |
inverseRemove(java.lang.Object otherEnd,
int propertyIndex,
org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext changeContext)
|
boolean |
isKeyRestricted()
|
boolean |
isMany()
|
boolean |
isSet(int propertyIndex)
|
void |
set(int propertyIndex,
java.lang.Object newValue)
|
void |
setForeignKeyTable(java.lang.String newForeignKeyTable)
|
void |
setKeyRestricted(boolean newKeyRestricted)
|
void |
setMany(boolean newMany)
|
void |
setName(java.lang.String newName)
|
void |
setPrimaryKeyTable(java.lang.String newPrimaryKeyTable)
|
java.lang.String |
toString()
|
void |
unset(int propertyIndex)
|
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, isNotifying, isProxy, isProxy, isSequenceEmpty, isSet, 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, isDynamic |
Methods inherited from class org.apache.tuscany.sdo.impl.DataObjectImpl |
---|
createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, createDataObject, delete, detach, eBasicSetContainer, eContainerFeatureID, eContents, eCrossReferences, 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, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, 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 |
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 |
Field Detail |
---|
public static final int KEY_PAIR
public static final int NAME
public static final int PRIMARY_KEY_TABLE
public static final int FOREIGN_KEY_TABLE
public static final int MANY
public static final int KEY_RESTRICTED
public static final int SDO_PROPERTY_COUNT
public static final int EXTENDED_PROPERTY_COUNT
public static final int INTERNAL_KEY_PAIR
public static final int INTERNAL_NAME
public static final int INTERNAL_PRIMARY_KEY_TABLE
public static final int INTERNAL_FOREIGN_KEY_TABLE
public static final int INTERNAL_MANY
public static final int INTERNAL_KEY_RESTRICTED
public static final int INTERNAL_PROPERTY_COUNT
protected java.util.List keyPair
Key Pair
' containment reference list.
getKeyPair()
protected static final java.lang.String NAME_DEFAULT_
Name
' attribute.
getName()
protected java.lang.String name
Name
' attribute.
getName()
protected static final java.lang.String PRIMARY_KEY_TABLE_DEFAULT_
Primary Key Table
' attribute.
getPrimaryKeyTable()
protected java.lang.String primaryKeyTable
Primary Key Table
' attribute.
getPrimaryKeyTable()
protected static final java.lang.String FOREIGN_KEY_TABLE_DEFAULT_
Foreign Key Table
' attribute.
getForeignKeyTable()
protected java.lang.String foreignKeyTable
Foreign Key Table
' attribute.
getForeignKeyTable()
protected static final boolean MANY_DEFAULT_
Many
' attribute.
isMany()
,
Constant Field Valuesprotected boolean many
Many
' attribute.
isMany()
protected static final boolean KEY_RESTRICTED_DEFAULT_
Key Restricted
' attribute.
isKeyRestricted()
,
Constant Field Valuesprotected boolean keyRestricted
Key Restricted
' attribute.
isKeyRestricted()
Constructor Detail |
---|
public RelationshipImpl()
Method Detail |
---|
protected int internalConvertIndex(int internalIndex)
internalConvertIndex
in class org.apache.tuscany.sdo.impl.DataObjectBase
public commonj.sdo.Type getStaticType()
getStaticType
in class org.apache.tuscany.sdo.impl.DataObjectBase
public java.util.List getKeyPair()
getKeyPair
in interface Relationship
public java.lang.String getName()
getName
in interface Relationship
Relationship.setName(String)
public void setName(java.lang.String newName)
setName
in interface Relationship
newName
- the new value of the 'Name' attribute.Relationship.getName()
public java.lang.String getPrimaryKeyTable()
getPrimaryKeyTable
in interface Relationship
Relationship.setPrimaryKeyTable(String)
public void setPrimaryKeyTable(java.lang.String newPrimaryKeyTable)
setPrimaryKeyTable
in interface Relationship
newPrimaryKeyTable
- the new value of the 'Primary Key Table' attribute.Relationship.getPrimaryKeyTable()
public java.lang.String getForeignKeyTable()
getForeignKeyTable
in interface Relationship
Relationship.setForeignKeyTable(String)
public void setForeignKeyTable(java.lang.String newForeignKeyTable)
setForeignKeyTable
in interface Relationship
newForeignKeyTable
- the new value of the 'Foreign Key Table' attribute.Relationship.getForeignKeyTable()
public boolean isMany()
isMany
in interface Relationship
Relationship.setMany(boolean)
public void setMany(boolean newMany)
setMany
in interface Relationship
newMany
- the new value of the 'Many' attribute.Relationship.isMany()
public boolean isKeyRestricted()
isKeyRestricted
in interface Relationship
Relationship.setKeyRestricted(boolean)
public void setKeyRestricted(boolean newKeyRestricted)
setKeyRestricted
in interface Relationship
newKeyRestricted
- the new value of the 'Key Restricted' attribute.Relationship.isKeyRestricted()
public org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext inverseRemove(java.lang.Object otherEnd, int propertyIndex, org.apache.tuscany.sdo.impl.DataObjectBase.ChangeContext changeContext)
inverseRemove
in class org.apache.tuscany.sdo.impl.DataObjectBase
public java.lang.Object get(int propertyIndex, boolean resolve)
get
in class org.apache.tuscany.sdo.impl.DataObjectBase
public void set(int propertyIndex, java.lang.Object newValue)
set
in interface commonj.sdo.DataObject
set
in class org.apache.tuscany.sdo.impl.DataObjectBase
public void unset(int propertyIndex)
unset
in interface commonj.sdo.DataObject
unset
in class org.apache.tuscany.sdo.impl.DataObjectBase
public boolean isSet(int propertyIndex)
isSet
in interface commonj.sdo.DataObject
isSet
in class org.apache.tuscany.sdo.impl.DataObjectImpl
public java.lang.String toString()
toString
in class org.apache.tuscany.sdo.impl.DataObjectBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |