org.sintef.mofscript.MOFScriptModel
Interface VariableDeclaration

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

public interface VariableDeclaration
extends MOFScriptObject

A representation of the model object 'Variable Declaration'.

The following features are supported:

See Also:
MOFScriptModelPackage.getVariableDeclaration()

Method Summary
 java.lang.Object getCalculatedValue()
          Returns the value of the 'Calculated Value' attribute
 java.lang.String getName()
          Returns the value of the 'Name' attribute.
 java.lang.String getType()
          Returns the value of the 'Type' attribute.
 ValueExpression getValue()
          Returns the value of the 'Value' containment reference
 boolean isConstant()
          Returns the value of the 'Constant' attribute
 void setCalculatedValue(java.lang.Object value)
          Sets the value of the 'Calculated Value' attribute
 void setConstant(boolean value)
          Sets the value of the 'Constant' attribute
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute
 void setType(java.lang.String value)
          Sets the value of the 'Type' attribute
 void setValue(ValueExpression value)
          Sets the value of the 'Value' containment reference
 
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, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

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

getType

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

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

Returns:
the value of the 'Type' attribute.
See Also:
setType(String), MOFScriptModelPackage.getVariableDeclaration_Type()

setType

void setType(java.lang.String value)
Sets the value of the 'Type' attribute.

Parameters:
value - the new value of the 'Type' attribute.
See Also:
getType()

isConstant

boolean isConstant()
Returns the value of the 'Constant' attribute.

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

Returns:
the value of the 'Constant' attribute.
See Also:
setConstant(boolean), MOFScriptModelPackage.getVariableDeclaration_Constant()

setConstant

void setConstant(boolean value)
Sets the value of the 'Constant' attribute.

Parameters:
value - the new value of the 'Constant' attribute.
See Also:
isConstant()

getCalculatedValue

java.lang.Object getCalculatedValue()
Returns the value of the 'Calculated Value' attribute.

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

Returns:
the value of the 'Calculated Value' attribute.
See Also:
setCalculatedValue(Object), MOFScriptModelPackage.getVariableDeclaration_CalculatedValue()

setCalculatedValue

void setCalculatedValue(java.lang.Object value)
Sets the value of the 'Calculated Value' attribute.

Parameters:
value - the new value of the 'Calculated Value' attribute.
See Also:
getCalculatedValue()

getValue

ValueExpression getValue()
Returns the value of the 'Value' containment reference.

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

Returns:
the value of the 'Value' containment reference.
See Also:
setValue(ValueExpression), MOFScriptModelPackage.getVariableDeclaration_Value()

setValue

void setValue(ValueExpression value)
Sets the value of the 'Value' containment reference.

Parameters:
value - the new value of the 'Value' containment reference.
See Also:
getValue()