Package org.teiid.adminapi.impl
Enum ModelMetaData.Message.Severity
- java.lang.Object
-
- java.lang.Enum<ModelMetaData.Message.Severity>
-
- org.teiid.adminapi.impl.ModelMetaData.Message.Severity
-
- All Implemented Interfaces:
Serializable
,Comparable<ModelMetaData.Message.Severity>
- Enclosing class:
- ModelMetaData.Message
public static enum ModelMetaData.Message.Severity extends Enum<ModelMetaData.Message.Severity>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ModelMetaData.Message.Severity
valueOf(String name)
Returns the enum constant of this type with the specified name.static ModelMetaData.Message.Severity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ERROR
public static final ModelMetaData.Message.Severity ERROR
-
WARNING
public static final ModelMetaData.Message.Severity WARNING
-
INFO
public static final ModelMetaData.Message.Severity INFO
-
-
Method Detail
-
values
public static ModelMetaData.Message.Severity[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ModelMetaData.Message.Severity c : ModelMetaData.Message.Severity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ModelMetaData.Message.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 nameNullPointerException
- if the argument is null
-
-