|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsophware.home.logic.VariableAssignment
public class VariableAssignment
VariableAssignement sets the value of a Variable.
| Constructor Summary | |
|---|---|
VariableAssignment(Variable var,
java.lang.String value)
Constructs a VariableAssignment |
|
| Method Summary | |
|---|---|
void |
assign()
Assigns value to the variable |
void |
execute()
the method to execute this step |
java.lang.Object |
getValue()
|
Variable |
getVariable()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VariableAssignment(Variable var,
java.lang.String value)
VariableAssignment
var - the variablevalue - the value to be assigned| Method Detail |
|---|
public Variable getVariable()
Variablepublic java.lang.Object getValue()
public void assign()
public void execute()
MacroStep
execute in interface MacroStepMacroStep
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||