edu.stanford.smi.protege.util
Enum MessageError.Severity
java.lang.Object
java.lang.Enum<MessageError.Severity>
edu.stanford.smi.protege.util.MessageError.Severity
- All Implemented Interfaces:
- Serializable, Comparable<MessageError.Severity>
- Enclosing class:
- MessageError
public static enum MessageError.Severity
- extends Enum<MessageError.Severity>
WARNING
public static final MessageError.Severity WARNING
ERROR
public static final MessageError.Severity ERROR
FATAL
public static final MessageError.Severity FATAL
values
public static final MessageError.Severity[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(MessageError.Severity c : MessageError.Severity.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static MessageError.Severity valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2010 Stanford University.