ch.javasoft.smx.ops
Enum Hsl.Info_mc66
java.lang.Object
java.lang.Enum<Hsl.Info_mc66>
ch.javasoft.smx.ops.Hsl.Info_mc66
- All Implemented Interfaces:
- Serializable, Comparable<Hsl.Info_mc66>
- Enclosing class:
- Hsl
public static enum Hsl.Info_mc66
- extends Enum<Hsl.Info_mc66>
OK
public static final Hsl.Info_mc66 OK
ERR_MEM_ALLOC
public static final Hsl.Info_mc66 ERR_MEM_ALLOC
ERR_MEM_DEALLOC
public static final Hsl.Info_mc66 ERR_MEM_DEALLOC
ERR_NBLOCKS
public static final Hsl.Info_mc66 ERR_NBLOCKS
ERR_M
public static final Hsl.Info_mc66 ERR_M
ERR_N
public static final Hsl.Info_mc66 ERR_N
ERR_NZ
public static final Hsl.Info_mc66 ERR_NZ
WRN_KBLOCKS
public static final Hsl.Info_mc66 WRN_KBLOCKS
WRN_IRN
public static final Hsl.Info_mc66 WRN_IRN
WRN_JCN
public static final Hsl.Info_mc66 WRN_JCN
WRN_DUP
public static final Hsl.Info_mc66 WRN_DUP
WRN_EMPTY
public static final Hsl.Info_mc66 WRN_EMPTY
values
public static Hsl.Info_mc66[] 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 (Hsl.Info_mc66 c : Hsl.Info_mc66.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Hsl.Info_mc66 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
NullPointerException - if the argument is null
getCode
public int getCode()
getMessage
public String getMessage()
toString
public String toString()
- Overrides:
toString in class Enum<Hsl.Info_mc66>
isOk
public boolean isOk()
isError
public boolean isError()
isWarning
public boolean isWarning()
valueByCode
public static Hsl.Info_mc66 valueByCode(int code)
- Returns the constant by code, or throws an exception if no such
constant exists