public enum PassengerCarsSegment extends java.lang.Enum<PassengerCarsSegment> implements VehicleSegment
Enum Constant and Description |
---|
_2_STROKE |
LARGE_SUV_EXECUTIVE |
MEDIUM |
MINI |
RANDOM |
SMALL |
Modifier and Type | Method and Description |
---|---|
static PassengerCarsSegment |
getValue(java.lang.String string) |
java.lang.String |
matcher()
Name of the field used to read the Copert tree.
|
static PassengerCarsSegment |
randomSelector()
Special random Copert field
|
static PassengerCarsSegment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PassengerCarsSegment[] |
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
equals, hashCode
getValue, valueOf
public static final PassengerCarsSegment MINI
public static final PassengerCarsSegment SMALL
public static final PassengerCarsSegment MEDIUM
public static final PassengerCarsSegment LARGE_SUV_EXECUTIVE
public static final PassengerCarsSegment _2_STROKE
public static final PassengerCarsSegment RANDOM
public static PassengerCarsSegment[] values()
for (PassengerCarsSegment c : PassengerCarsSegment.values()) System.out.println(c);
public static PassengerCarsSegment valueOf(java.lang.String name)
valueOf
in interface VehicleSegment
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 PassengerCarsSegment getValue(java.lang.String string)
getValue
in interface VehicleSegment
public static PassengerCarsSegment randomSelector()
CopertField
randomSelector
in interface CopertField