public enum ModuleUHFType extends java.lang.Enum<ModuleUHFType> implements IEnumType
Enum Constant and Description |
---|
None |
RM100 |
ST25RU3993 |
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Get the enum code value
|
static java.lang.String[] |
names()
Returns an array containing the name of this enum type.
|
java.lang.String |
toString()
Return the name of the enum
|
static ModuleUHFType |
valueOf(int code)
Returns the enum constant of this type with the specified code.
|
static ModuleUHFType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModuleUHFType |
valueOfName(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModuleUHFType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModuleUHFType None
public static final ModuleUHFType ST25RU3993
public static final ModuleUHFType RM100
public static ModuleUHFType[] values()
for (ModuleUHFType c : ModuleUHFType.values()) System.out.println(c);
public static ModuleUHFType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getCode()
IEnumType
public java.lang.String toString()
IEnumType
toString
in interface IEnumType
toString
in class java.lang.Enum<ModuleUHFType>
public static ModuleUHFType valueOf(int code)
code
- The code to checkpublic static ModuleUHFType valueOfName(java.lang.String name)
name
- The name to check.public static java.lang.String[] names()