|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Assignment
Interface for parameter assignments. Used for storing parameter values.
Method Summary | |
---|---|
void |
clear()
Clear all values stored in this assignment. |
Object |
getParameterValue(Parameter param)
Get the value assigned to a parameter. |
List<Object> |
getParameterValues()
Get all parameter values. |
Unit |
getUnit()
Get the unit that this assignment refers to. |
boolean |
isEmpty()
Check whether this assignment is empty. |
boolean |
isResult()
Checks whether this is an assignment for a result of a unit application. |
void |
setParameterValue(Parameter param,
Object value)
Set the assigned value for a parameter. |
Method Detail |
---|
Unit getUnit()
Object getParameterValue(Parameter param)
param
- The parameter.
null
.void setParameterValue(Parameter param, Object value)
param
- The parameter.value
- The value to be assigned with the parameter.List<Object> getParameterValues()
boolean isEmpty()
true
of no values are assigned.void clear()
boolean isResult()
true
if it is a result assignment.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |