com.cafesoft.cams.oblig
Class StandardEvaluationResult
java.lang.Object
|
+--com.cafesoft.cams.oblig.StandardEvaluationResult
- All Implemented Interfaces:
- EvaluationResult
- public final class StandardEvaluationResult
- extends Object
- implements EvaluationResult
EvaluationResult defines the interface representing the
result of a security component evaluation. It provides a general way to
access the value returned by an evaluatable component including a possible
Exception thrown by he component.
- Since:
- 11/02/2004
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardEvaluationResult
public StandardEvaluationResult(String type,
Object result)
- Create a new StandardEvaluationResult object.
- Parameters:
type - the EvaluationResult's type.result - the Object representing the result of the evaluation.
getType
public String getType()
- Get the type.
- Specified by:
getType in interface EvaluationResult
- Returns:
- the type.
getResult
public Object getResult()
- Get the evaluation result value.
- Specified by:
getResult in interface EvaluationResult
- Returns:
- the Object representing the evaluation result.
Generated on 5:16:42 PM May 12, 2008, © 1996-2005 Cafésoft LLC. All rights reserved.