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

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.DataViewImpl
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, DataView

public class DataViewImpl
extends ComplexTypeImpl
implements DataView

An implementation of the model object ' Data View'.

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<FeatureReference> featureReferences
          The cached value of the 'Feature References' containment reference list.
protected  DataView 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 DataViewImpl()
           
 
Method Summary
 List<Attribute> allAttributeHolders(FeatureReference featureReference)
           
 DataView basicGetSuperType()
           
 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
 org.eclipse.emf.common.util.EList<FeatureReference> getFeatureReferences()
           
 String getOriginalContainerName()
           
 String getOriginalName()
           
 org.eclipse.emf.common.util.EList<Attribute> getReferencedAssociations()
           
 DataView getSuperType()
           
 boolean includesAllRequiredFeaturesFor(Entity entity)
           
 boolean includesIdentifierFor(Entity entity)
           
 boolean includesKeyFor(Entity entity)
           
 boolean includesVersionFor(Entity entity)
           
 void setOriginalContainerName(String originalContainerName)
           
 void setOriginalName(String originalName)
           
 void setSuperType(DataView 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 DataView superType
The cached value of the 'Super Type' reference.

See Also:
getSuperType()

featureReferences

protected org.eclipse.emf.common.util.EList<FeatureReference> featureReferences
The cached value of the 'Feature References' containment reference list.

See Also:
getFeatureReferences()
Constructor Detail

DataViewImpl

protected DataViewImpl()

Method Detail

eStaticClass

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

Overrides:
eStaticClass in class ComplexTypeImpl

getSuperType

public DataView getSuperType()

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

basicGetSuperType

public DataView basicGetSuperType()


setSuperType

public void setSuperType(DataView newSuperType)

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

getFeatureReferences

public org.eclipse.emf.common.util.EList<FeatureReference> getFeatureReferences()

Specified by:
getFeatureReferences in interface DataView
Returns:
the value of the 'Feature References' containment reference list.
See Also:
DomPackage.getDataView_FeatureReferences()

getReferencedAssociations

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

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()

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

allAttributeHolders

public List<Attribute> allAttributeHolders(FeatureReference featureReference)

includesAllRequiredFeaturesFor

public boolean includesAllRequiredFeaturesFor(Entity entity)
Specified by:
includesAllRequiredFeaturesFor in interface DataView
Returns:
true or false whether all required features of the given entity are included

includesIdentifierFor

public boolean includesIdentifierFor(Entity entity)
Specified by:
includesIdentifierFor in interface DataView
Returns:
true or false whether this dataview includes the identifier attribute of the given entity

includesKeyFor

public boolean includesKeyFor(Entity entity)
Specified by:
includesKeyFor in interface DataView
Returns:
true or false whether this dataview includes the key attribute of the given entity

includesVersionFor

public boolean includesVersionFor(Entity entity)
Specified by:
includesVersionFor in interface DataView
Returns:
true or false whether this dataview includes the version attribute of the given entity

getOriginalName

public String getOriginalName()

setOriginalName

public void setOriginalName(String originalName)

getOriginalContainerName

public String getOriginalContainerName()

setOriginalContainerName

public void setOriginalContainerName(String originalContainerName)


Copyright © 2013. All Rights Reserved.