org.openxma.dsl.dom.model.impl
Class DaoImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl
              extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
                  extended by org.openxma.dsl.core.model.impl.ModelElementImpl
                      extended by org.openxma.dsl.dom.model.impl.DaoImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject, org.openxma.dsl.core.model.IDocumentable, org.openxma.dsl.core.model.ModelElement, Dao, Dependant

public class DaoImpl
extends org.openxma.dsl.core.model.impl.ModelElementImpl
implements Dao

An implementation of the model object 'Dao'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
 
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<E extends Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  org.eclipse.emf.common.util.EList<Column> columns
          The cached value of the 'Columns' containment reference list.
protected  org.eclipse.emf.common.util.EList<DataBaseConstraint> dataBaseConstraints
          The cached value of the 'Data Base Constraints' containment reference list.
protected  String discriminator
          The cached value of the 'Discriminator' attribute.
protected static String DISCRIMINATOR_EDEFAULT
          The default value of the 'Discriminator' attribute.
protected  Entity entity
          The cached value of the 'Entity' reference.
protected  org.eclipse.emf.common.util.EList<ManyToMany> manyToManyAssociations
          The cached value of the 'Many To Many Associations' containment reference list.
protected  org.eclipse.emf.common.util.EList<ManyToOne> manyToOneAssociations
          The cached value of the 'Many To One Associations' containment reference list.
protected  DataBaseConstraint naturalKey
          The cached value of the 'DataBaseConstraint' reference.
protected  org.eclipse.emf.common.util.EList<OneToMany> oneToManyAssociations
          The cached value of the 'One To Many Associations' containment reference list.
protected  org.eclipse.emf.common.util.EList<OneToOne> oneToOneAssociations
          The cached value of the 'One To One Associations' containment reference list.
protected  org.eclipse.emf.common.util.EList<Operation> operations
          The cached value of the 'Operations' containment reference list.
protected  DataBaseConstraint primaryKey
          The cached value of the 'DataBaseConstraint' reference.
protected  Column primaryKeyColumn
          The cached value of the 'Column' reference.
protected  String qualifier
          The cached value of the 'Qualifier' attribute.
protected static String QUALIFIER_EDEFAULT
          The default value of the 'Qualifier' attribute.
protected  org.eclipse.emf.common.util.EList<QueryOperation> queryOperation
          The cached value of the 'Query Operation' containment reference list.
protected static String TABLE_NAME_EDEFAULT
          The default value of the 'Table Name' attribute.
protected  String tableName
          The cached value of the 'Table Name' attribute.
protected  Column versionColumn
          The cached value of the 'Column' reference.
 
Fields inherited from class org.openxma.dsl.core.model.impl.ModelElementImpl
name, NAME_EDEFAULT, TXT_DESCRIPTION_EDEFAULT, txtDescription
 
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
 
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
protected DaoImpl()
           
 
Method Summary
 Entity basicGetEntity()
           
 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)
           
 Column getColumnDefinition(Attribute attribute)
           
 org.eclipse.emf.common.util.EList<Column> getColumns()
           
 Collection<DataBaseConstraint> getDataBaseConstraintByType(DataBaseConstraintType type)
           
 org.eclipse.emf.common.util.EList<DataBaseConstraint> getDataBaseConstraints()
           
 String getDiscriminator()
           
 Entity getEntity()
           
 ManyToMany getManyToMany(Attribute feature)
           
 org.eclipse.emf.common.util.EList<ManyToMany> getManyToManyAssociations()
           
 ManyToOne getManyToOne(Attribute feature)
           
 org.eclipse.emf.common.util.EList<ManyToOne> getManyToOneAssociations()
           
 DataBaseConstraint getNaturalKey()
          Returns the value of the 'Natural Key' reference.
 org.eclipse.emf.common.util.EList<Column> getNaturalKeyColumns()
           
 OneToMany getOneToMany(Attribute feature)
           
 org.eclipse.emf.common.util.EList<OneToMany> getOneToManyAssociations()
           
 OneToOne getOneToOne(Attribute feature)
           
 org.eclipse.emf.common.util.EList<OneToOne> getOneToOneAssociations()
           
 org.eclipse.emf.common.util.EList<Operation> getOperations()
           
 DataBaseConstraint getPrimaryKey()
          Returns the value of the 'Primary Key' reference.
 Column getPrimaryKeyColumn()
           
 String getQualifier()
           
 org.eclipse.emf.common.util.EList<QueryOperation> getQueryOperation()
           
 String getTableName()
           
 Column getVersionColumn()
           
 void setDiscriminator(String newDiscriminator)
           
 void setEntity(Entity newEntity)
           
 void setQualifier(String newQualifier)
           
 void setTableName(String newTableName)
           
 String toString()
           
 
Methods inherited from class org.openxma.dsl.core.model.impl.ModelElementImpl
getName, getTxtDescription, setName, setTxtDescription
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, 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
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openxma.dsl.core.model.ModelElement
getName, setName
 
Methods inherited from interface org.openxma.dsl.core.model.IDocumentable
getTxtDescription, setTxtDescription
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

entity

protected Entity entity
The cached value of the 'Entity' reference.

See Also:
getEntity()

TABLE_NAME_EDEFAULT

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

See Also:
getTableName()

tableName

protected String tableName
The cached value of the 'Table Name' attribute.

See Also:
getTableName()

DISCRIMINATOR_EDEFAULT

protected static final String DISCRIMINATOR_EDEFAULT
The default value of the 'Discriminator' attribute.

See Also:
getDiscriminator()

discriminator

protected String discriminator
The cached value of the 'Discriminator' attribute.

See Also:
getDiscriminator()

QUALIFIER_EDEFAULT

protected static final String QUALIFIER_EDEFAULT
The default value of the 'Qualifier' attribute.

See Also:
getQualifier()

qualifier

protected String qualifier
The cached value of the 'Qualifier' attribute.

See Also:
getQualifier()

operations

protected org.eclipse.emf.common.util.EList<Operation> operations
The cached value of the 'Operations' containment reference list.

See Also:
getOperations()

queryOperation

protected org.eclipse.emf.common.util.EList<QueryOperation> queryOperation
The cached value of the 'Query Operation' containment reference list.

See Also:
getQueryOperation()

dataBaseConstraints

protected org.eclipse.emf.common.util.EList<DataBaseConstraint> dataBaseConstraints
The cached value of the 'Data Base Constraints' containment reference list.

See Also:
getDataBaseConstraints()

columns

protected org.eclipse.emf.common.util.EList<Column> columns
The cached value of the 'Columns' containment reference list.

See Also:
getColumns()

manyToOneAssociations

protected org.eclipse.emf.common.util.EList<ManyToOne> manyToOneAssociations
The cached value of the 'Many To One Associations' containment reference list.

See Also:
getManyToOneAssociations()

oneToOneAssociations

protected org.eclipse.emf.common.util.EList<OneToOne> oneToOneAssociations
The cached value of the 'One To One Associations' containment reference list.

See Also:
getOneToOneAssociations()

oneToManyAssociations

protected org.eclipse.emf.common.util.EList<OneToMany> oneToManyAssociations
The cached value of the 'One To Many Associations' containment reference list.

See Also:
getOneToManyAssociations()

manyToManyAssociations

protected org.eclipse.emf.common.util.EList<ManyToMany> manyToManyAssociations
The cached value of the 'Many To Many Associations' containment reference list.

See Also:
getManyToManyAssociations()

primaryKey

protected DataBaseConstraint primaryKey
The cached value of the 'DataBaseConstraint' reference.

See Also:
getPrimaryKey()

primaryKeyColumn

protected Column primaryKeyColumn
The cached value of the 'Column' reference.

See Also:
getPrimaryKeyColumn()

versionColumn

protected Column versionColumn
The cached value of the 'Column' reference.

See Also:
getVersionColumn()

naturalKey

protected DataBaseConstraint naturalKey
The cached value of the 'DataBaseConstraint' reference.

See Also:
getEntity()
Constructor Detail

DaoImpl

protected DaoImpl()

Method Detail

eStaticClass

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

Overrides:
eStaticClass in class org.openxma.dsl.core.model.impl.ModelElementImpl

getEntity

public Entity getEntity()

Specified by:
getEntity in interface Dao
Returns:
the value of the 'Entity' reference.
See Also:
Dao.setEntity(Entity), DomPackage.getDao_Entity()

basicGetEntity

public Entity basicGetEntity()


setEntity

public void setEntity(Entity newEntity)

Specified by:
setEntity in interface Dao
Parameters:
newEntity - the new value of the 'Entity' reference.
See Also:
Dao.getEntity()

getTableName

public String getTableName()

Specified by:
getTableName in interface Dao
Returns:
the value of the 'Table Name' attribute.
See Also:
Dao.setTableName(String), DomPackage.getDao_TableName()

setTableName

public void setTableName(String newTableName)

Specified by:
setTableName in interface Dao
Parameters:
newTableName - the new value of the 'Table Name' attribute.
See Also:
Dao.getTableName()

getDiscriminator

public String getDiscriminator()

Specified by:
getDiscriminator in interface Dao
Returns:
the value of the 'Discriminator' attribute.
See Also:
Dao.setDiscriminator(String), DomPackage.getDao_Discriminator()

setDiscriminator

public void setDiscriminator(String newDiscriminator)

Specified by:
setDiscriminator in interface Dao
Parameters:
newDiscriminator - the new value of the 'Discriminator' attribute.
See Also:
Dao.getDiscriminator()

getQualifier

public String getQualifier()

Specified by:
getQualifier in interface Dao
Returns:
the value of the 'Qualifier' attribute.
See Also:
Dao.setQualifier(String), DomPackage.getDao_Qualifier()

setQualifier

public void setQualifier(String newQualifier)

Specified by:
setQualifier in interface Dao
Parameters:
newQualifier - the new value of the 'Qualifier' attribute.
See Also:
Dao.getQualifier()

getDataBaseConstraints

public org.eclipse.emf.common.util.EList<DataBaseConstraint> getDataBaseConstraints()

Specified by:
getDataBaseConstraints in interface Dao
Returns:
the value of the 'Data Base Constraints' containment reference list.
See Also:
DomPackage.getDao_DataBaseConstraints()

getOperations

public org.eclipse.emf.common.util.EList<Operation> getOperations()

Specified by:
getOperations in interface Dao
Returns:
the value of the 'Operations' containment reference list.
See Also:
DomPackage.getDao_Operations()

getQueryOperation

public org.eclipse.emf.common.util.EList<QueryOperation> getQueryOperation()

Specified by:
getQueryOperation in interface Dao
Returns:
the value of the 'Query Operation' containment reference list.
See Also:
DomPackage.getDao_QueryOperation()

getColumns

public org.eclipse.emf.common.util.EList<Column> getColumns()

Specified by:
getColumns in interface Dao
Returns:
the value of the 'Columns' containment reference list.
See Also:
DomPackage.getDao_Columns()

getManyToOneAssociations

public org.eclipse.emf.common.util.EList<ManyToOne> getManyToOneAssociations()

Specified by:
getManyToOneAssociations in interface Dao
Returns:
the value of the 'Many To One Associations' containment reference list.
See Also:
DomPackage.getDao_ManyToOneAssociations()

getOneToOneAssociations

public org.eclipse.emf.common.util.EList<OneToOne> getOneToOneAssociations()

Specified by:
getOneToOneAssociations in interface Dao
Returns:
the value of the 'One To One Associations' containment reference list.
See Also:
DomPackage.getDao_OneToOneAssociations()

getOneToManyAssociations

public org.eclipse.emf.common.util.EList<OneToMany> getOneToManyAssociations()

Specified by:
getOneToManyAssociations in interface Dao
Returns:
the value of the 'One To Many Associations' containment reference list.
See Also:
DomPackage.getDao_OneToManyAssociations()

getManyToManyAssociations

public org.eclipse.emf.common.util.EList<ManyToMany> getManyToManyAssociations()

Specified by:
getManyToManyAssociations in interface Dao
Returns:
the value of the 'Many To Many Associations' containment reference list.
See Also:
DomPackage.getDao_ManyToManyAssociations()

getPrimaryKeyColumn

public Column getPrimaryKeyColumn()

Specified by:
getPrimaryKeyColumn in interface Dao
Returns:
the value of the 'Primary Key Column' reference.
See Also:
DomPackage.getDao_PrimaryKeyColumn()

getVersionColumn

public Column getVersionColumn()

Specified by:
getVersionColumn in interface Dao
Returns:
the value of the 'Version Column' reference.
See Also:
DomPackage.getDao_VersionColumn()

getPrimaryKey

public DataBaseConstraint getPrimaryKey()
Description copied from interface: Dao
Returns the value of the 'Primary Key' reference.

If the meaning of the 'Primary Key' reference isn't clear, there really should be more of a description here...

Specified by:
getPrimaryKey in interface Dao
Returns:
the value of the 'Primary Key' reference.
See Also:
DomPackage.getDao_PrimaryKey()

getNaturalKey

public DataBaseConstraint getNaturalKey()
Description copied from interface: Dao
Returns the value of the 'Natural Key' reference.

If the meaning of the 'Natural Key' reference isn't clear, there really should be more of a description here...

Specified by:
getNaturalKey in interface Dao
Returns:
the value of the 'Natural Key' reference.
See Also:
DomPackage.getDao_NaturalKey()

getNaturalKeyColumns

public org.eclipse.emf.common.util.EList<Column> getNaturalKeyColumns()

Specified by:
getNaturalKeyColumns in interface Dao
Returns:
the value of the 'Natural Key Columns' reference list.
See Also:
DomPackage.getDao_NaturalKeyColumns()

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.openxma.dsl.core.model.impl.ModelElementImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.openxma.dsl.core.model.impl.ModelElementImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.openxma.dsl.core.model.impl.ModelElementImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.openxma.dsl.core.model.impl.ModelElementImpl

toString

public String toString()

Overrides:
toString in class org.openxma.dsl.core.model.impl.ModelElementImpl

getColumnDefinition

public Column getColumnDefinition(Attribute attribute)
Specified by:
getColumnDefinition in interface Dao

getOneToMany

public OneToMany getOneToMany(Attribute feature)
Specified by:
getOneToMany in interface Dao

getManyToMany

public ManyToMany getManyToMany(Attribute feature)
Specified by:
getManyToMany in interface Dao

getManyToOne

public ManyToOne getManyToOne(Attribute feature)
Specified by:
getManyToOne in interface Dao

getOneToOne

public OneToOne getOneToOne(Attribute feature)
Specified by:
getOneToOne in interface Dao

getDataBaseConstraintByType

public Collection<DataBaseConstraint> getDataBaseConstraintByType(DataBaseConstraintType type)
Specified by:
getDataBaseConstraintByType in interface Dao


Copyright © 2013. All Rights Reserved.