All Packages Class Hierarchy This Package Previous Next Index
Class designer.Assignment
java.lang.Object
|
+----designer.Assignment
- public class Assignment
- extends Object
- implements Step
Class Name: Assignment
Purpose: This class encapsulates the database assignment
feature.
-
Assignment(String)
- Method Name: Constructor
Purpose: Obvious.
-
execute()
- Method Name: execute()
Purpose: This method will execute the assignment, even if it means executing
a calculation.
-
getName()
- Method Name: getName()
Purpose: This method will return the class name to the caller.
-
setResult(String)
- Method Name: setResult()
Purpose: Sets the result, or DB variable to assign (right hand side).
-
setValue(Calculation)
- Method name: setValue()
Purpose: Sets the right hand of the assignment.
-
setValue(LogicalOperation)
- Method name: setValue()
Purpose: Sets the right hand of the assignment.
-
setValue(Number)
- Method name: setValue()
Purpose: Sets the right hand of the assignment.
-
setValue(String)
- Method name: setValue()
Purpose: Sets the right hand of the assignment.
Assignment
public Assignment(String name)
- Method Name: Constructor
Purpose: Obvious.
PRE: name is the name of this object.
POST: new "Assignment" object is created.
getName
public String getName()
- Method Name: getName()
Purpose: This method will return the class name to the caller.
PRE: Nothing
POST: Nothing
setResult
public void setResult(String dbVar)
- Method Name: setResult()
Purpose: Sets the result, or DB variable to assign (right hand side).
PRE: dbVar must not be null or equal to ""
POST: Ensure the assignment occurred.
setValue
public void setValue(String dbString)
- Method name: setValue()
Purpose: Sets the right hand of the assignment. String version.
PRE: dbString must not be null.
POST: Assignment occurred.
setValue
public void setValue(Number dbValue)
- Method name: setValue()
Purpose: Sets the right hand of the assignment. Number version.
PRE: dbValue must not be null.
POST: Assignment occurred.
setValue
public void setValue(Calculation dbValue)
- Method name: setValue()
Purpose: Sets the right hand of the assignment. Calculation version.
PRE: dbValue must not be null.
POST: Assignment occurred.
setValue
public void setValue(LogicalOperation dbValue)
- Method name: setValue()
Purpose: Sets the right hand of the assignment. LogicalOperation version.
PRE: dbValue must not be null.
POST: Assignment occurred.
execute
public boolean execute()
- Method Name: execute()
Purpose: This method will execute the assignment, even if it means executing
a calculation.
PRE: Result and Value must be setup. Type of Value is equal to type of
variable.
POST: Database assignment is made.
All Packages Class Hierarchy This Package Previous Next Index