Oracle Data-aware Controls Reference

oracle.dacf.util.errormanager
Class ErrorSeverity

java.lang.Object
  extended byoracle.dacf.util.errormanager.ErrorSeverity
All Implemented Interfaces:
ErrorAttribute
Direct Known Subclasses:
DacfSeverity, StyleSeverity

public class ErrorSeverity
extends java.lang.Object
implements ErrorAttribute

The ErrorSeverity class definines the text to be used for a given error severity. Subclass ErrorSeverity to define your own severities. This class defines two severities:


Field Summary
protected  java.lang.String _severity
           
static ErrorSeverity ALL_SEVERITIES
          Used by filters to map all error severities.
static ErrorSeverity UNDEFINED
          Used to indicate an uncategorized severity.
 
Constructor Summary
protected ErrorSeverity(java.lang.String severity)
          Protected constructor--creates a severity using the default icon.
 
Method Summary
 java.lang.String getLabel()
          Returns the label to use when displaying the severity.
 java.lang.String toString()
          Returns the text string describing the error severity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ALL_SEVERITIES

public static final ErrorSeverity ALL_SEVERITIES
Used by filters to map all error severities.


UNDEFINED

public static final ErrorSeverity UNDEFINED
Used to indicate an uncategorized severity.


_severity

protected java.lang.String _severity
Constructor Detail

ErrorSeverity

protected ErrorSeverity(java.lang.String severity)
Protected constructor--creates a severity using the default icon.

Parameters:
severity - severity text
Method Detail

toString

public java.lang.String toString()
Returns the text string describing the error severity.

Specified by:
toString in interface ErrorAttribute
Returns:
error severity text as a String.

getLabel

public java.lang.String getLabel()
Returns the label to use when displaying the severity.

Specified by:
getLabel in interface ErrorAttribute
Returns:
the label to display for error severity.

Oracle Data-aware Controls Reference

 

Copyright © 1997, 2003, Oracle. All rights reserved.