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

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.ComplexTypeImpl
                          extended by org.openxma.dsl.dom.model.impl.EntityImpl
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, org.openxma.dsl.core.model.Type, ComplexType, Dependant, Entity

public class EntityImpl
extends ComplexTypeImpl
implements Entity

An implementation of the model object ' Entity'.

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<AttributeGroup> attributeGroups
          The cached value of the 'Attribute Groups' containment reference list.
protected  org.openxma.dsl.core.model.ConditionsBlock conditionsBlock
          The cached value of the 'Conditions Block' containment reference.
protected  Entity superType
          The cached value of the 'Super Type' reference.
 
Fields inherited from class org.openxma.dsl.dom.model.impl.ComplexTypeImpl
attributes
 
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 EntityImpl()
           
 
Method Summary
 Entity basicGetSuperType()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetConditionsBlock(org.openxma.dsl.core.model.ConditionsBlock newConditionsBlock, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 Collection<Attribute> copyAttributes()
          Returns a collection of the self-contained copies of each attribute.
 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)
           
 org.eclipse.emf.common.util.EList<Attribute> getAllAttributes()
           
 List<PresentableFeature> getAllPresentableFeaturesIncludingSuperType()
          return the list of all Attributes including the Attributes of the SuperType
 Attribute getAttributeByName(String name)
           
 org.eclipse.emf.common.util.EList<AttributeGroup> getAttributeGroups()
           
 org.openxma.dsl.core.model.ConditionsBlock getConditionsBlock()
           
 DataView getDefaultDataView()
           
 String getDefaultDataViewName()
           
 Attribute getIdentifier()
           
 AttributeGroup getKey()
           
 Entity getObject()
           
 Dao getRepository()
           
 org.eclipse.emf.common.util.EList<Attribute> getRequiredAttributes()
           
 org.eclipse.emf.common.util.EList<Attribute> getRequiredReferences()
           
 org.eclipse.emf.common.util.EList<Attribute> getResolvedAttributeList()
           
 org.eclipse.emf.common.util.EList<AttributeGroup> getSortOrders()
           
 Entity getSuperType()
           
 Attribute getVersion()
           
 void setConditionsBlock(org.openxma.dsl.core.model.ConditionsBlock newConditionsBlock)
           
 void setDas(Dao das)
           
 void setSuperType(Entity newSuperType)
           
 
Methods inherited from class org.openxma.dsl.dom.model.impl.ComplexTypeImpl
getAttributes
 
Methods inherited from class org.openxma.dsl.core.model.impl.ModelElementImpl
getName, getTxtDescription, setName, setTxtDescription, toString
 
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.dom.model.ComplexType
getAttributes
 
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

superType

protected Entity superType
The cached value of the 'Super Type' reference.

See Also:
getSuperType()

attributeGroups

protected org.eclipse.emf.common.util.EList<AttributeGroup> attributeGroups
The cached value of the 'Attribute Groups' containment reference list.

See Also:
getAttributeGroups()

conditionsBlock

protected org.openxma.dsl.core.model.ConditionsBlock conditionsBlock
The cached value of the 'Conditions Block' containment reference.

See Also:
getConditionsBlock()
Constructor Detail

EntityImpl

protected EntityImpl()

Method Detail

eStaticClass

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

Overrides:
eStaticClass in class ComplexTypeImpl

getObject

public Entity getObject()


getSuperType

public Entity getSuperType()

Specified by:
getSuperType in interface Entity
Returns:
the value of the 'Super Type' reference.
See Also:
Entity.setSuperType(Entity), DomPackage.getEntity_SuperType()

basicGetSuperType

public Entity basicGetSuperType()


setSuperType

public void setSuperType(Entity newSuperType)

Specified by:
setSuperType in interface Entity
Parameters:
newSuperType - the new value of the 'Super Type' reference.
See Also:
Entity.getSuperType()

getAttributeGroups

public org.eclipse.emf.common.util.EList<AttributeGroup> getAttributeGroups()

Specified by:
getAttributeGroups in interface Entity
Returns:
the value of the 'Attribute Groups' containment reference list.
See Also:
DomPackage.getEntity_AttributeGroups()

getConditionsBlock

public org.openxma.dsl.core.model.ConditionsBlock getConditionsBlock()

Specified by:
getConditionsBlock in interface Entity
Returns:
the value of the 'Conditions Block' containment reference.
See Also:
Entity.setConditionsBlock(ConditionsBlock), DomPackage.getEntity_ConditionsBlock()

basicSetConditionsBlock

public org.eclipse.emf.common.notify.NotificationChain basicSetConditionsBlock(org.openxma.dsl.core.model.ConditionsBlock newConditionsBlock,
                                                                               org.eclipse.emf.common.notify.NotificationChain msgs)


setConditionsBlock

public void setConditionsBlock(org.openxma.dsl.core.model.ConditionsBlock newConditionsBlock)

Specified by:
setConditionsBlock in interface Entity
Parameters:
newConditionsBlock - the new value of the 'Conditions Block' containment reference.
See Also:
Entity.getConditionsBlock()

getRepository

public Dao getRepository()

Specified by:
getRepository in interface Entity
Returns:
the value of the 'Repository' reference.
See Also:
DomPackage.getEntity_Repository()

getKey

public AttributeGroup getKey()

Specified by:
getKey in interface Entity
Returns:
the value of the 'Key' reference.
See Also:
DomPackage.getEntity_Key()

getSortOrders

public org.eclipse.emf.common.util.EList<AttributeGroup> getSortOrders()

Specified by:
getSortOrders in interface Entity
Returns:
the value of the 'Sort Orders' reference list.
See Also:
DomPackage.getEntity_SortOrders()

getIdentifier

public Attribute getIdentifier()

Specified by:
getIdentifier in interface Entity
Returns:
the value of the 'Identifier' reference.
See Also:
DomPackage.getEntity_Identifier()

getVersion

public Attribute getVersion()

Specified by:
getVersion in interface Entity
Returns:
the value of the 'Version' reference.
See Also:
DomPackage.getEntity_Version()

getRequiredReferences

public org.eclipse.emf.common.util.EList<Attribute> getRequiredReferences()

Specified by:
getRequiredReferences in interface Entity
Returns:
the value of the 'Required References' reference list.
See Also:
DomPackage.getEntity_RequiredReferences()

getRequiredAttributes

public org.eclipse.emf.common.util.EList<Attribute> getRequiredAttributes()

Specified by:
getRequiredAttributes in interface Entity
Returns:
the value of the 'Required Attributes' reference list.
See Also:
DomPackage.getEntity_RequiredAttributes()

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 ComplexTypeImpl

eGet

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

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class ComplexTypeImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class ComplexTypeImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class ComplexTypeImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class ComplexTypeImpl

getAllAttributes

public org.eclipse.emf.common.util.EList<Attribute> getAllAttributes()
Description copied from class: ComplexTypeImpl

Specified by:
getAllAttributes in interface ComplexType
Overrides:
getAllAttributes in class ComplexTypeImpl
Returns:
the value of the 'All Attributes' reference list.
See Also:
DomPackage.getComplexType_AllAttributes()

setDas

public void setDas(Dao das)
Specified by:
setDas in interface Entity

copyAttributes

public Collection<Attribute> copyAttributes()
Description copied from interface: Entity
Returns a collection of the self-contained copies of each attribute.

Specified by:
copyAttributes in interface Entity
Returns:

getAttributeByName

public Attribute getAttributeByName(String name)
Specified by:
getAttributeByName in interface Entity
Parameters:
name - the name of the attribute to match
Returns:
the attribute matching the given name

getDefaultDataView

public DataView getDefaultDataView()
Specified by:
getDefaultDataView in interface Entity

getDefaultDataViewName

public String getDefaultDataViewName()
Specified by:
getDefaultDataViewName in interface Entity
Returns:
the name of the default created DataView for the given entity

getResolvedAttributeList

public org.eclipse.emf.common.util.EList<Attribute> getResolvedAttributeList()
Specified by:
getResolvedAttributeList in interface Entity

getAllPresentableFeaturesIncludingSuperType

public List<PresentableFeature> getAllPresentableFeaturesIncludingSuperType()
Description copied from interface: ComplexType
return the list of all Attributes including the Attributes of the SuperType

Specified by:
getAllPresentableFeaturesIncludingSuperType in interface ComplexType


Copyright © 2013. All Rights Reserved.