- java.lang.Object
- 
- org.mal_lang.langspec.Variable
 
- 
 public final class Variable extends Object Immutable class representing a variable of an asset in a MAL language.- Since:
- 1.0.0
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AssetgetAsset()Returns the asset of thisVariableobject.StringgetName()Returns the name of thisVariableobject.StepExpressiongetStepExpression()Returns the step expression of thisVariableobject.VariablegetSuperVariable()Returns the super variable of thisVariableobject.booleanhasSuperVariable()Returns whether thisVariableobject has a super variable.
 
- 
- 
- 
Method Detail- 
getNamepublic String getName() Returns the name of thisVariableobject.- Returns:
- the name of this Variableobject
- Since:
- 1.0.0
 
 - 
getAssetpublic Asset getAsset() Returns the asset of thisVariableobject.- Returns:
- the asset of this Variableobject
- Since:
- 1.0.0
 
 - 
getStepExpressionpublic StepExpression getStepExpression() Returns the step expression of thisVariableobject.- Returns:
- the step expression of this Variableobject.
- Since:
- 1.0.0
 
 - 
hasSuperVariablepublic boolean hasSuperVariable() Returns whether thisVariableobject has a super variable.- Returns:
- whether this Variableobject has a super variable
- Since:
- 1.*.0
 
 - 
getSuperVariablepublic Variable getSuperVariable() Returns the super variable of thisVariableobject.- Returns:
- the super variable of this Variableobject
- Throws:
- UnsupportedOperationException- if this- Variableobject does not have a super variable
- Since:
- 1.0.0
 
 
- 
 
-