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

Field Summary
 
Fields inherited from interface com.cafesoft.cams.oblig.EvaluationResult
ACCESS_CONTROL_RULE_EVALUATION_RESULT_TYPE
 
Constructor Summary
StandardEvaluationResult(String type, Object result)
          Create a new StandardEvaluationResult object.
 
Method Summary
 Object getResult()
          Get the evaluation result value.
 String getType()
          Get the type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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.