org.eclipse.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.eclipse.mofscript.MOFScriptModel.impl.MOFScriptObjectImpl
                  extended by org.eclipse.mofscript.MOFScriptModel.impl.MOFScriptStatementOwnerImpl
                      extended by org.eclipse.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.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.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
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
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 basicSetOwner(MOFScriptTransformation newOwner, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 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, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 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.eclipse.mofscript.MOFScriptModel.impl.MOFScriptStatementOwnerImpl
getBlocks, getStatements, getVariables
 
Methods inherited from class org.eclipse.mofscript.MOFScriptModel.impl.MOFScriptObjectImpl
getColumn, getComment, getLine, setColumn, setLine
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.mofscript.MOFScriptModel.MOFScriptStatementOwner
getBlocks, getStatements, getVariables
 
Methods inherited from interface org.eclipse.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, 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
 

Method Detail

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

basicSetOwner

public org.eclipse.emf.common.notify.NotificationChain basicSetOwner(MOFScriptTransformation newOwner,
                                                                     org.eclipse.emf.common.notify.NotificationChain msgs)


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,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseAdd in class MOFScriptStatementOwnerImpl

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 MOFScriptStatementOwnerImpl

eBasicRemoveFromContainerFeature

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

Overrides:
eBasicRemoveFromContainerFeature in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

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

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

Overrides:
toString in class MOFScriptObjectImpl