public enum EuroNorm extends java.lang.Enum<EuroNorm> implements CopertField
Enum Constant and Description |
---|
CONVENTIONAL |
EURO1 |
EURO2 |
EURO3 |
EURO4 |
EURO5 |
EURO6 |
OLDER |
RANDOM |
Modifier and Type | Method and Description |
---|---|
static EuroNorm |
getValue(java.lang.String string) |
java.lang.String |
matcher()
Name of the field used to read the Copert tree.
|
static EuroNorm |
randomSelector()
Special random Copert field
|
static EuroNorm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EuroNorm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getValue, valueOf
public static final EuroNorm CONVENTIONAL
public static final EuroNorm OLDER
public static final EuroNorm EURO1
public static final EuroNorm EURO2
public static final EuroNorm EURO3
public static final EuroNorm EURO4
public static final EuroNorm EURO5
public static final EuroNorm EURO6
public static final EuroNorm RANDOM
public static EuroNorm[] values()
for (EuroNorm c : EuroNorm.values()) System.out.println(c);
public static EuroNorm 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 java.lang.String matcher()
CopertField
matcher
in interface CopertField
public static EuroNorm getValue(java.lang.String string)
public static EuroNorm randomSelector()
CopertField
randomSelector
in interface CopertField