Enum CVGroupTypeType
- java.lang.Object
-
- java.lang.Enum<CVGroupTypeType>
-
- org.bidib.jbidibc.decoder.schema.commontypes.CVGroupTypeType
-
- All Implemented Interfaces:
Serializable,Comparable<CVGroupTypeType>
public enum CVGroupTypeType extends Enum<CVGroupTypeType>
<p>Java class for CVGroupTypeType. <p>The following schema fragment specifies the expected content contained within this class. <pre> <simpleType name="CVGroupTypeType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="list"/> <enumeration value="dccLongAddr"/> <enumeration value="dccSpeedCurve"/> <enumeration value="dccAccAddr"/> <enumeration value="int"/> <enumeration value="long"/> <enumeration value="matrix"/> <enumeration value="string"/> <enumeration value="dccAddrRG"/> <enumeration value="dccLongConsist"/> <enumeration value="rgbColor"/> <enumeration value="centesimalInt"/> </restriction> </simpleType> </pre>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CENTESIMAL_INTDCC_ACC_ADDRDCC_ADDR_RGDCC_LONG_ADDRDCC_LONG_CONSISTDCC_SPEED_CURVEINTLISTLONGMATRIXRGB_COLORSTRING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CVGroupTypeTypefromValue(String v)Stringvalue()static CVGroupTypeTypevalueOf(String name)Returns the enum constant of this type with the specified name.static CVGroupTypeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LIST
public static final CVGroupTypeType LIST
-
DCC_LONG_ADDR
public static final CVGroupTypeType DCC_LONG_ADDR
-
DCC_SPEED_CURVE
public static final CVGroupTypeType DCC_SPEED_CURVE
-
DCC_ACC_ADDR
public static final CVGroupTypeType DCC_ACC_ADDR
-
INT
public static final CVGroupTypeType INT
-
LONG
public static final CVGroupTypeType LONG
-
MATRIX
public static final CVGroupTypeType MATRIX
-
STRING
public static final CVGroupTypeType STRING
-
DCC_ADDR_RG
public static final CVGroupTypeType DCC_ADDR_RG
-
DCC_LONG_CONSIST
public static final CVGroupTypeType DCC_LONG_CONSIST
-
RGB_COLOR
public static final CVGroupTypeType RGB_COLOR
-
CENTESIMAL_INT
public static final CVGroupTypeType CENTESIMAL_INT
-
-
Method Detail
-
values
public static CVGroupTypeType[] 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 (CVGroupTypeType c : CVGroupTypeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CVGroupTypeType 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
-
value
public String value()
-
fromValue
public static CVGroupTypeType fromValue(String v)
-
-