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

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.dom.model.impl.PresentableFeatureImpl
                      extended by org.openxma.dsl.dom.model.impl.FeatureReferenceImpl
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, FeatureReference, PresentableFeature

public class FeatureReferenceImpl
extends PresentableFeatureImpl
implements FeatureReference

An implementation of the model object ' Feature Reference'.

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  boolean all
          The cached value of the 'All' attribute.
protected static boolean ALL_EDEFAULT
          The default value of the 'All' attribute.
protected  Attribute attribute
          The cached value of the 'Attribute' reference.
protected  org.eclipse.emf.common.util.EList<AttributeProperty> properties
          The cached value of the 'Properties' containment reference list.
protected  Entity source
          The cached value of the 'Source' reference.
 Attribute structuralFeature
           
protected static String TXT_DESCRIPTION_EDEFAULT
          The default value of the 'Txt Description' attribute.
protected  String txtDescription
          The cached value of the 'Txt Description' attribute.
protected  DataView view
          The cached value of the 'View' reference.
 
Fields inherited from class org.openxma.dsl.dom.model.impl.PresentableFeatureImpl
name, NAME_EDEFAULT
 
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 FeatureReferenceImpl()
           
 
Method Summary
 Attribute basicGetAttribute()
           
 Entity basicGetSource()
           
 DataView basicGetView()
           
 int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
           
 int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
           
 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)
           
 Attribute getAttribute()
           
 org.eclipse.emf.common.util.EList<AttributeProperty> getAttributProperties()
           
 String getCalculatedName()
           
 org.openxma.dsl.core.model.ValidatorReference getFormat()
           
 String getLabelText()
           
 org.eclipse.emf.common.util.EList<AttributeProperty> getProperties()
           
 Entity getSource()
           
 Attribute getTarget()
           
 String getTooltipText()
           
 String getTxtDescription()
           
 Attribute getUnitAttribute()
           
 String getUnitText()
           
 DataView getView()
           
 boolean isAll()
           
 void setAll(boolean newAll)
           
 void setAttribute(Attribute newAttribute)
           
 void setSource(Entity newSource)
           
 void setTarget(Attribute attribute)
           
 void setTxtDescription(String newTxtDescription)
           
 void setView(DataView newView)
           
 String toString()
           
 
Methods inherited from class org.openxma.dsl.dom.model.impl.PresentableFeatureImpl
getName, setName
 
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, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, 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.PresentableFeature
getName, setName
 
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

TXT_DESCRIPTION_EDEFAULT

protected static final String TXT_DESCRIPTION_EDEFAULT
The default value of the 'Txt Description' attribute.

See Also:
getTxtDescription()

txtDescription

protected String txtDescription
The cached value of the 'Txt Description' attribute.

See Also:
getTxtDescription()

source

protected Entity source
The cached value of the 'Source' reference.

See Also:
getSource()

attribute

protected Attribute attribute
The cached value of the 'Attribute' reference.

See Also:
getAttribute()

view

protected DataView view
The cached value of the 'View' reference.

See Also:
getView()

ALL_EDEFAULT

protected static final boolean ALL_EDEFAULT
The default value of the 'All' attribute.

See Also:
isAll(), Constant Field Values

all

protected boolean all
The cached value of the 'All' attribute.

See Also:
isAll()

properties

protected org.eclipse.emf.common.util.EList<AttributeProperty> properties
The cached value of the 'Properties' containment reference list.

See Also:
getProperties()

structuralFeature

public Attribute structuralFeature
Constructor Detail

FeatureReferenceImpl

protected FeatureReferenceImpl()

Method Detail

eStaticClass

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

Overrides:
eStaticClass in class PresentableFeatureImpl

getTxtDescription

public String getTxtDescription()

Specified by:
getTxtDescription in interface org.openxma.dsl.core.model.IDocumentable

setTxtDescription

public void setTxtDescription(String newTxtDescription)

Specified by:
setTxtDescription in interface org.openxma.dsl.core.model.IDocumentable

getSource

public Entity getSource()

Specified by:
getSource in interface FeatureReference
Returns:
the value of the 'Source' reference.
See Also:
FeatureReference.setSource(Entity), DomPackage.getFeatureReference_Source()

basicGetSource

public Entity basicGetSource()


setSource

public void setSource(Entity newSource)

Specified by:
setSource in interface FeatureReference
Parameters:
newSource - the new value of the 'Source' reference.
See Also:
FeatureReference.getSource()

getAttribute

public Attribute getAttribute()

Specified by:
getAttribute in interface FeatureReference
Specified by:
getAttribute in interface PresentableFeature
Returns:
the value of the 'Attribute' reference.
See Also:
FeatureReference.setAttribute(Attribute), DomPackage.getFeatureReference_Attribute()

basicGetAttribute

public Attribute basicGetAttribute()


setAttribute

public void setAttribute(Attribute newAttribute)

Specified by:
setAttribute in interface FeatureReference
Parameters:
newAttribute - the new value of the 'Attribute' reference.
See Also:
FeatureReference.getAttribute()

getView

public DataView getView()

Specified by:
getView in interface FeatureReference
Returns:
the value of the 'View' reference.
See Also:
FeatureReference.setView(DataView), DomPackage.getFeatureReference_View()

basicGetView

public DataView basicGetView()


setView

public void setView(DataView newView)

Specified by:
setView in interface FeatureReference
Parameters:
newView - the new value of the 'View' reference.
See Also:
FeatureReference.getView()

getProperties

public org.eclipse.emf.common.util.EList<AttributeProperty> getProperties()

Specified by:
getProperties in interface FeatureReference
Returns:
the value of the 'Properties' containment reference list.
See Also:
DomPackage.getFeatureReference_Properties()

isAll

public boolean isAll()

Specified by:
isAll in interface FeatureReference
Returns:
the value of the 'All' attribute.
See Also:
FeatureReference.setAll(boolean), DomPackage.getFeatureReference_All()

setAll

public void setAll(boolean newAll)

Specified by:
setAll in interface FeatureReference
Parameters:
newAll - the new value of the 'All' attribute.
See Also:
FeatureReference.isAll()

getTarget

public Attribute getTarget()

Specified by:
getTarget in interface FeatureReference
Returns:
the value of the 'Target' reference.
See Also:
DomPackage.getFeatureReference_Target()

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 PresentableFeatureImpl

eSet

public void eSet(int featureID,
                 Object newValue)

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

eBaseStructuralFeatureID

public int eBaseStructuralFeatureID(int derivedFeatureID,
                                    Class<?> baseClass)

Specified by:
eBaseStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eBaseStructuralFeatureID in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eDerivedStructuralFeatureID

public int eDerivedStructuralFeatureID(int baseFeatureID,
                                       Class<?> baseClass)

Specified by:
eDerivedStructuralFeatureID in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eDerivedStructuralFeatureID in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

toString

public String toString()

Overrides:
toString in class PresentableFeatureImpl

setTarget

public void setTarget(Attribute attribute)
Specified by:
setTarget in interface FeatureReference

getLabelText

public String getLabelText()
Specified by:
getLabelText in interface PresentableFeature
Returns:
the attribute

getTooltipText

public String getTooltipText()
Specified by:
getTooltipText in interface PresentableFeature
Returns:
the attribute

getUnitText

public String getUnitText()
Specified by:
getUnitText in interface PresentableFeature
Returns:
the attribute

getUnitAttribute

public Attribute getUnitAttribute()
Specified by:
getUnitAttribute in interface PresentableFeature
Returns:
the attribute

getCalculatedName

public String getCalculatedName()
Specified by:
getCalculatedName in interface PresentableFeature
Returns:
the attribute

getAttributProperties

public org.eclipse.emf.common.util.EList<AttributeProperty> getAttributProperties()
Specified by:
getAttributProperties in interface PresentableFeature

getFormat

public org.openxma.dsl.core.model.ValidatorReference getFormat()
Specified by:
getFormat in interface PresentableFeature


Copyright © 2013. All Rights Reserved.