org.eclipse.mofscript.MOFScriptModel
Interface TransformationRule

All Superinterfaces:
org.eclipse.emf.ecore.EObject, MOFScriptObject, MOFScriptStatementOwner, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
TransformationRuleImpl

public interface TransformationRule
extends MOFScriptStatementOwner

A representation of the model object 'Transformation Rule'.

The following features are supported:

See Also:
MOFScriptModelPackage.getTransformationRule()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 AccessLevel getAccessLevel()
          Returns the value of the 'Access Level' attribute.
 MOFScriptParameter getContext()
          Returns the value of the 'Context' containment reference
 TransformationRule getExtends()
          Returns the value of the 'Extends' reference
 java.lang.String getName()
          Returns the value of the 'Name' attribute.
 MOFScriptTransformation getOwner()
          Returns the value of the 'Owner' container reference.
 org.eclipse.emf.common.util.EList<MOFScriptParameter> getParameters()
          Returns the value of the 'Parameters' containment reference list.
 java.lang.String getReturn()
          Returns the value of the 'Return' attribute.
 boolean isIsAbstract()
          Returns the value of the 'Is Abstract' attribute
 boolean isIsEntryPoint()
          Returns the value of the 'Is Entry Point' attribute
 void setAccessLevel(AccessLevel value)
          Sets the value of the 'Access Level' attribute
 void setContext(MOFScriptParameter value)
          Sets the value of the 'Context' containment reference
 void setExtends(TransformationRule value)
          Sets the value of the 'Extends' reference
 void setIsAbstract(boolean value)
          Sets the value of the 'Is Abstract' attribute
 void setIsEntryPoint(boolean value)
          Sets the value of the 'Is Entry Point' attribute
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute
 void setOwner(MOFScriptTransformation value)
          Sets the value of the 'Owner' container reference
 void setReturn(java.lang.String value)
          Sets the value of the 'Return' attribute
 
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, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

copyright

static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

isIsEntryPoint

boolean isIsEntryPoint()
Returns the value of the 'Is Entry Point' attribute.

If the meaning of the 'Is Entry Point' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Is Entry Point' attribute.
See Also:
setIsEntryPoint(boolean), MOFScriptModelPackage.getTransformationRule_IsEntryPoint()

setIsEntryPoint

void setIsEntryPoint(boolean value)
Sets the value of the 'Is Entry Point' attribute.

Parameters:
value - the new value of the 'Is Entry Point' attribute.
See Also:
isIsEntryPoint()

getName

java.lang.String getName()
Returns the value of the 'Name' attribute. The default value is "".

If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), MOFScriptModelPackage.getTransformationRule_Name()

setName

void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getReturn

java.lang.String getReturn()
Returns the value of the 'Return' attribute. The default value is "".

If the meaning of the 'Return' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Return' attribute.
See Also:
setReturn(String), MOFScriptModelPackage.getTransformationRule_Return()

setReturn

void setReturn(java.lang.String value)
Sets the value of the 'Return' attribute.

Parameters:
value - the new value of the 'Return' attribute.
See Also:
getReturn()

getOwner

MOFScriptTransformation getOwner()
Returns the value of the 'Owner' container reference. It is bidirectional and its opposite is 'Transformationrules'.

If the meaning of the 'Owner' container reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Owner' container reference.
See Also:
setOwner(MOFScriptTransformation), MOFScriptModelPackage.getTransformationRule_Owner(), MOFScriptTransformation.getTransformationrules()

setOwner

void setOwner(MOFScriptTransformation value)
Sets the value of the 'Owner' container reference.

Parameters:
value - the new value of the 'Owner' container reference.
See Also:
getOwner()

getExtends

TransformationRule getExtends()
Returns the value of the 'Extends' reference.

If the meaning of the 'Extends' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Extends' reference.
See Also:
setExtends(TransformationRule), MOFScriptModelPackage.getTransformationRule_Extends()

setExtends

void setExtends(TransformationRule value)
Sets the value of the 'Extends' reference.

Parameters:
value - the new value of the 'Extends' reference.
See Also:
getExtends()

getParameters

org.eclipse.emf.common.util.EList<MOFScriptParameter> getParameters()
Returns the value of the 'Parameters' containment reference list. The list contents are of type MOFScriptParameter.

If the meaning of the 'Parameters' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Parameters' containment reference list.
See Also:
MOFScriptModelPackage.getTransformationRule_Parameters()

getContext

MOFScriptParameter getContext()
Returns the value of the 'Context' containment reference.

If the meaning of the 'Context' containment reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Context' containment reference.
See Also:
setContext(MOFScriptParameter), MOFScriptModelPackage.getTransformationRule_Context()

setContext

void setContext(MOFScriptParameter value)
Sets the value of the 'Context' containment reference.

Parameters:
value - the new value of the 'Context' containment reference.
See Also:
getContext()

isIsAbstract

boolean isIsAbstract()
Returns the value of the 'Is Abstract' attribute.

If the meaning of the 'Is Abstract' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Is Abstract' attribute.
See Also:
setIsAbstract(boolean), MOFScriptModelPackage.getTransformationRule_IsAbstract()

setIsAbstract

void setIsAbstract(boolean value)
Sets the value of the 'Is Abstract' attribute.

Parameters:
value - the new value of the 'Is Abstract' attribute.
See Also:
isIsAbstract()

getAccessLevel

AccessLevel getAccessLevel()
Returns the value of the 'Access Level' attribute. The literals are from the enumeration AccessLevel.

If the meaning of the 'Access Level' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Access Level' attribute.
See Also:
AccessLevel, setAccessLevel(AccessLevel), MOFScriptModelPackage.getTransformationRule_AccessLevel()

setAccessLevel

void setAccessLevel(AccessLevel value)
Sets the value of the 'Access Level' attribute.

Parameters:
value - the new value of the 'Access Level' attribute.
See Also:
AccessLevel, getAccessLevel()