com.cafesoft.cams.attr
Interface EvaluationStatus

All Known Implementing Classes:
StandardEvaluationStatus

public interface EvaluationStatus

EvaluationStatus represents the status after evaluation of an Evaluatable object.

Since:
4/16/2004

Field Summary
static String STATUS_MISSING_ATTRIBUTE
          Standard identifier for the MissingAttribute status
static String STATUS_OK
          Standard identifier for the OK status
static String STATUS_PROCESSING_ERROR
          Standard identifier for the ProcessingError status
static String STATUS_SYNTAX_ERROR
          Standard identifier for the SyntaxError status
 
Method Summary
 String getCode()
          Returns the status code.
 String getMessage()
          Returns the status message or null if there is none.
 List getMissingAttributes()
          Returns a List of missing attributes.
 EvaluationStatus getNestedEvalutionStatus()
          Return a nested EvaluationStatus if available.
 

Field Detail

STATUS_OK

public static final String STATUS_OK
Standard identifier for the OK status

See Also:
Constant Field Values

STATUS_MISSING_ATTRIBUTE

public static final String STATUS_MISSING_ATTRIBUTE
Standard identifier for the MissingAttribute status

See Also:
Constant Field Values

STATUS_SYNTAX_ERROR

public static final String STATUS_SYNTAX_ERROR
Standard identifier for the SyntaxError status

See Also:
Constant Field Values

STATUS_PROCESSING_ERROR

public static final String STATUS_PROCESSING_ERROR
Standard identifier for the ProcessingError status

See Also:
Constant Field Values
Method Detail

getCode

public String getCode()
Returns the status code.

Returns:
the status code.

getMessage

public String getMessage()
Returns the status message or null if there is none.

Returns:
the status message or null

getMissingAttributes

public List getMissingAttributes()
Returns a List of missing attributes.

Returns:
a List of missing Attribute instances if the code is STATUS_MISSING_ATTRIBUTE or null if any other status code.

getNestedEvalutionStatus

public EvaluationStatus getNestedEvalutionStatus()
Return a nested EvaluationStatus if available.

Returns:
a nested EvaluationStatus if one available or null if no nested EvaluationStatus.


Generated on 5:16:42 PM May 12, 2008, © 1996-2005 Cafésoft LLC. All rights reserved.