|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.cafesoft.cams.attr.StandardEvaluationResult
StandardEvaluationResult implements the standard Cams
result for an evaluated Evaluatable object.
| Constructor Summary | |
StandardEvaluationResult(AttributeValue value)
Create an EvaluationResult containing a single
AttributeValue. |
|
StandardEvaluationResult(EvaluationStatus status)
Constructor that creates an EvaluationResult of
Indeterminate, including Status data. |
|
| Method Summary | |
AttributeValue |
getAttributeValue()
Returns the attribute value. |
EvaluationStatus |
getEvaluationStatus()
Returns the status if there was an error, or null it no error occurred |
static EvaluationResult |
getInstance(boolean value)
Returns an EvaluationResult representing
the specified boolean value. |
boolean |
indeterminate()
Returns true if the result was indeterminate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StandardEvaluationResult(AttributeValue value)
EvaluationResult containing a single
AttributeValue.
value - the attribute valuepublic StandardEvaluationResult(EvaluationStatus status)
EvaluationResult of
Indeterminate, including Status data.
status - the error information| Method Detail |
public boolean indeterminate()
indeterminate in interface EvaluationResultpublic AttributeValue getAttributeValue()
getAttributeValue in interface EvaluationResultpublic EvaluationStatus getEvaluationStatus()
getEvaluationStatus in interface EvaluationResultpublic static EvaluationResult getInstance(boolean value)
EvaluationResult representing
the specified boolean value.
value - a boolean representing the desired value
EvaluationResult representing the
specified boolean value
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||