org.sintef.mofscript.MOFScriptModel.impl
Class TransformationRuleImpl

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.EObjectImpl
              extended by org.sintef.mofscript.MOFScriptModel.impl.MOFScriptObjectImpl
                  extended by org.sintef.mofscript.MOFScriptModel.impl.MOFScriptStatementOwnerImpl
                      extended by org.sintef.mofscript.MOFScriptModel.impl.TransformationRuleImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, MOFScriptObject, MOFScriptStatementOwner, TransformationRule

public class TransformationRuleImpl
extends MOFScriptStatementOwnerImpl
implements TransformationRule

An implementation of the model object 'Transformation Rule'.

The following features are implemented:


Nested Class Summary
 
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.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
protected static AccessLevel ACCESS_LEVEL_EDEFAULT
          The default value of the 'Access Level' attribute
protected  AccessLevel accessLevel
          The cached value of the 'Access Level' attribute
protected  MOFScriptParameter context
          The cached value of the 'Context' containment reference
protected  TransformationRule extends_
          The cached value of the 'Extends' reference
protected static boolean IS_ABSTRACT_EDEFAULT
          The default value of the 'Is Abstract' attribute
protected static boolean IS_ENTRY_POINT_EDEFAULT
          The default value of the 'Is Entry Point' attribute
protected  boolean isAbstract
          The cached value of the 'Is Abstract' attribute
protected  boolean isEntryPoint
          The cached value of the 'Is Entry Point' attribute
protected  java.lang.String name
          The cached value of the 'Name' attribute
protected static java.lang.String NAME_EDEFAULT
          The default value of the 'Name' attribute
protected  org.eclipse.emf.common.util.EList parameters
          The cached value of the 'Parameters' containment reference list
protected  java.lang.String return_
          The cached value of the 'Return' attribute
protected static java.lang.String RETURN_EDEFAULT
          The default value of the 'Return' attribute
 
Fields inherited from class org.sintef.mofscript.MOFScriptModel.impl.MOFScriptStatementOwnerImpl
statements, variables
 
Fields inherited from class org.sintef.mofscript.MOFScriptModel.impl.MOFScriptObjectImpl
column, COLUMN_EDEFAULT, comment, line, LINE_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected TransformationRuleImpl()
           
 
Method Summary
 TransformationRule basicGetExtends()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetContext(MOFScriptParameter newContext, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainer(org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 AccessLevel getAccessLevel()
           
 MOFScriptParameter getContext()
           
 TransformationRule getExtends()
           
 java.lang.String getName()
           
 MOFScriptTransformation getOwner()
           
 org.eclipse.emf.common.util.EList getParameters()
           
 java.lang.String getReturn()
           
 boolean isIsAbstract()
           
 boolean isIsEntryPoint()
           
 void setAccessLevel(AccessLevel newAccessLevel)
           
 void setContext(MOFScriptParameter newContext)
           
 void setExtends(TransformationRule newExtends)
           
 void setIsAbstract(boolean newIsAbstract)
           
 void setIsEntryPoint(boolean newIsEntryPoint)
           
 void setName(java.lang.String newName)
           
 void setOwner(MOFScriptTransformation newOwner)
           
 void setReturn(java.lang.String newReturn)
           
 java.lang.String toString()
           
 
Methods inherited from class org.sintef.mofscript.MOFScriptModel.impl.MOFScriptStatementOwnerImpl
getStatements, getVariables
 
Methods inherited from class org.sintef.mofscript.MOFScriptModel.impl.MOFScriptObjectImpl
getColumn, getComment, getLine, setColumn, setLine
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore, eURIFragmentSegment
 
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.sintef.mofscript.MOFScriptModel.MOFScriptStatementOwner
getStatements, getVariables
 
Methods inherited from interface org.sintef.mofscript.MOFScriptModel.MOFScriptObject
getColumn, getComment, getLine, setColumn, setLine
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource
 
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

IS_ENTRY_POINT_EDEFAULT

protected static final boolean IS_ENTRY_POINT_EDEFAULT
The default value of the 'Is Entry Point' attribute.

See Also:
isIsEntryPoint(), Constant Field Values

isEntryPoint

protected boolean isEntryPoint
The cached value of the 'Is Entry Point' attribute.

See Also:
isIsEntryPoint()

NAME_EDEFAULT

protected static final java.lang.String NAME_EDEFAULT
The default value of the 'Name' attribute.

See Also:
getName()

name

protected java.lang.String name
The cached value of the 'Name' attribute.

See Also:
getName()

RETURN_EDEFAULT

protected static final java.lang.String RETURN_EDEFAULT
The default value of the 'Return' attribute.

See Also:
getReturn()

return_

protected java.lang.String return_
The cached value of the 'Return' attribute.

See Also:
getReturn()

extends_

protected TransformationRule extends_
The cached value of the 'Extends' reference.

See Also:
getExtends()

parameters

protected org.eclipse.emf.common.util.EList parameters
The cached value of the 'Parameters' containment reference list.

See Also:
getParameters()

context

protected MOFScriptParameter context
The cached value of the 'Context' containment reference.

See Also:
getContext()

IS_ABSTRACT_EDEFAULT

protected static final boolean IS_ABSTRACT_EDEFAULT
The default value of the 'Is Abstract' attribute.

See Also:
isIsAbstract(), Constant Field Values

isAbstract

protected boolean isAbstract
The cached value of the 'Is Abstract' attribute.

See Also:
isIsAbstract()

ACCESS_LEVEL_EDEFAULT

protected static final AccessLevel ACCESS_LEVEL_EDEFAULT
The default value of the 'Access Level' attribute.

See Also:
getAccessLevel()

accessLevel

protected AccessLevel accessLevel
The cached value of the 'Access Level' attribute.

See Also:
getAccessLevel()
Constructor Detail

TransformationRuleImpl

protected TransformationRuleImpl()

Method Detail

eStaticClass

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

Overrides:
eStaticClass in class MOFScriptStatementOwnerImpl

isIsEntryPoint

public boolean isIsEntryPoint()

Specified by:
isIsEntryPoint in interface TransformationRule
Returns:
the value of the 'Is Entry Point' attribute.
See Also:
TransformationRule.setIsEntryPoint(boolean), MOFScriptModelPackage.getTransformationRule_IsEntryPoint()

setIsEntryPoint

public void setIsEntryPoint(boolean newIsEntryPoint)

Specified by:
setIsEntryPoint in interface TransformationRule
Parameters:
newIsEntryPoint - the new value of the 'Is Entry Point' attribute.
See Also:
TransformationRule.isIsEntryPoint()

getName

public java.lang.String getName()

Specified by:
getName in interface TransformationRule
Returns:
the value of the 'Name' attribute.
See Also:
TransformationRule.setName(String), MOFScriptModelPackage.getTransformationRule_Name()

setName

public void setName(java.lang.String newName)

Specified by:
setName in interface TransformationRule
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
TransformationRule.getName()

getReturn

public java.lang.String getReturn()

Specified by:
getReturn in interface TransformationRule
Returns:
the value of the 'Return' attribute.
See Also:
TransformationRule.setReturn(String), MOFScriptModelPackage.getTransformationRule_Return()

setReturn

public void setReturn(java.lang.String newReturn)

Specified by:
setReturn in interface TransformationRule
Parameters:
newReturn - the new value of the 'Return' attribute.
See Also:
TransformationRule.getReturn()

getOwner

public MOFScriptTransformation getOwner()

Specified by:
getOwner in interface TransformationRule
Returns:
the value of the 'Owner' container reference.
See Also:
TransformationRule.setOwner(MOFScriptTransformation), MOFScriptModelPackage.getTransformationRule_Owner(), MOFScriptTransformation.getTransformationrules()

setOwner

public void setOwner(MOFScriptTransformation newOwner)

Specified by:
setOwner in interface TransformationRule
Parameters:
newOwner - the new value of the 'Owner' container reference.
See Also:
TransformationRule.getOwner()

getExtends

public TransformationRule getExtends()

Specified by:
getExtends in interface TransformationRule
Returns:
the value of the 'Extends' reference.
See Also:
TransformationRule.setExtends(TransformationRule), MOFScriptModelPackage.getTransformationRule_Extends()

basicGetExtends

public TransformationRule basicGetExtends()


setExtends

public void setExtends(TransformationRule newExtends)

Specified by:
setExtends in interface TransformationRule
Parameters:
newExtends - the new value of the 'Extends' reference.
See Also:
TransformationRule.getExtends()

getParameters

public org.eclipse.emf.common.util.EList getParameters()

Specified by:
getParameters in interface TransformationRule
Returns:
the value of the 'Parameters' containment reference list.
See Also:
MOFScriptModelPackage.getTransformationRule_Parameters()

getContext

public MOFScriptParameter getContext()

Specified by:
getContext in interface TransformationRule
Returns:
the value of the 'Context' containment reference.
See Also:
TransformationRule.setContext(MOFScriptParameter), MOFScriptModelPackage.getTransformationRule_Context()

basicSetContext

public org.eclipse.emf.common.notify.NotificationChain basicSetContext(MOFScriptParameter newContext,
                                                                       org.eclipse.emf.common.notify.NotificationChain msgs)


setContext

public void setContext(MOFScriptParameter newContext)

Specified by:
setContext in interface TransformationRule
Parameters:
newContext - the new value of the 'Context' containment reference.
See Also:
TransformationRule.getContext()

isIsAbstract

public boolean isIsAbstract()

Specified by:
isIsAbstract in interface TransformationRule
Returns:
the value of the 'Is Abstract' attribute.
See Also:
TransformationRule.setIsAbstract(boolean), MOFScriptModelPackage.getTransformationRule_IsAbstract()

setIsAbstract

public void setIsAbstract(boolean newIsAbstract)

Specified by:
setIsAbstract in interface TransformationRule
Parameters:
newIsAbstract - the new value of the 'Is Abstract' attribute.
See Also:
TransformationRule.isIsAbstract()

getAccessLevel

public AccessLevel getAccessLevel()

Specified by:
getAccessLevel in interface TransformationRule
Returns:
the value of the 'Access Level' attribute.
See Also:
AccessLevel, TransformationRule.setAccessLevel(AccessLevel), MOFScriptModelPackage.getTransformationRule_AccessLevel()

setAccessLevel

public void setAccessLevel(AccessLevel newAccessLevel)

Specified by:
setAccessLevel in interface TransformationRule
Parameters:
newAccessLevel - the new value of the 'Access Level' attribute.
See Also:
AccessLevel, TransformationRule.getAccessLevel()

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   java.lang.Class baseClass,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

Specified by:
eInverseAdd in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eInverseAdd in class MOFScriptStatementOwnerImpl

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      java.lang.Class baseClass,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Specified by:
eInverseRemove in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eInverseRemove in class MOFScriptStatementOwnerImpl

eBasicRemoveFromContainer

public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainer(org.eclipse.emf.common.notify.NotificationChain msgs)

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

eGet

public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                             boolean resolve)

Specified by:
eGet in interface org.eclipse.emf.ecore.EObject
Overrides:
eGet in class MOFScriptStatementOwnerImpl

eSet

public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eSet in class MOFScriptStatementOwnerImpl

eUnset

public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)

Specified by:
eUnset in interface org.eclipse.emf.ecore.EObject
Overrides:
eUnset in class MOFScriptStatementOwnerImpl

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eIsSet in class MOFScriptStatementOwnerImpl

toString

public java.lang.String toString()

Overrides:
toString in class MOFScriptObjectImpl