|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.nds.dirxml.driver.xds.StatusLevel
An enumeration of values for a <status>
element's
level
attribute.
Field Summary | |
static StatusLevel |
ERROR
"error" |
static StatusLevel |
FATAL
"fatal" |
static StatusLevel |
RETRY
"retry" |
static StatusLevel |
SUCCESS
"success" |
static StatusLevel |
WARNING
"warning" |
Method Summary | |
int |
compareTo(Object someLevel)
Compares this level to someLevel . |
boolean |
equals(Object someLevel)
Compares this level to someLevel . |
boolean |
equals(String someLevel)
Compares this level to string . |
static StatusLevel |
getLevel(String level)
Returns the status level corresponding to the passed string. |
String |
toString()
Returns a string representation of this version (e.g., "warning", "retry", "error"). |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final StatusLevel FATAL
public static final StatusLevel ERROR
public static final StatusLevel RETRY
public static final StatusLevel WARNING
public static final StatusLevel SUCCESS
Method Detail |
public static final StatusLevel getLevel(String level)
level
- the passed string
public boolean equals(Object someLevel)
someLevel
.
someLevel
- may be null
true
:someLevel
is
equal to this levelfalse
:someLevel
is not equal to this levelpublic boolean equals(String someLevel)
string
.
someLevel
- may be null
true
:string
is
equal to this levelfalse
:sting
is not equal to this levelpublic int compareTo(Object someLevel)
someLevel
.
compareTo
in interface Comparable
someLevel
- must not be null
XDS.LESS_THAN
:someLevel
XDS.EQUAL
:someLevel
XDS.GREATER_THAN
:someLevel
public String toString()
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |