org.cassandraunit.type
Enum GenericTypeEnum
java.lang.Object
java.lang.Enum<GenericTypeEnum>
org.cassandraunit.type.GenericTypeEnum
- All Implemented Interfaces:
- Serializable, Comparable<GenericTypeEnum>
public enum GenericTypeEnum
- extends Enum<GenericTypeEnum>
- Author:
- Jeremy Sevellec
BYTES_TYPE
public static final GenericTypeEnum BYTES_TYPE
INTEGER_TYPE
public static final GenericTypeEnum INTEGER_TYPE
LEXICAL_UUID_TYPE
public static final GenericTypeEnum LEXICAL_UUID_TYPE
LONG_TYPE
public static final GenericTypeEnum LONG_TYPE
TIME_UUID_TYPE
public static final GenericTypeEnum TIME_UUID_TYPE
UTF_8_TYPE
public static final GenericTypeEnum UTF_8_TYPE
UUID_TYPE
public static final GenericTypeEnum UUID_TYPE
COUNTER_TYPE
public static final GenericTypeEnum COUNTER_TYPE
COMPOSITE_TYPE
public static final GenericTypeEnum COMPOSITE_TYPE
values
public static GenericTypeEnum[] 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 (GenericTypeEnum c : GenericTypeEnum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GenericTypeEnum 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
value
public String value()
fromValue
public static GenericTypeEnum fromValue(String v)
toString
public String toString()
- Overrides:
toString in class Enum<GenericTypeEnum>
Copyright © 2012. All Rights Reserved.