Enum DataType
- java.lang.Object
-
- java.lang.Enum<DataType>
-
- org.infinispan.hibernate.cache.commons.DataType
-
- All Implemented Interfaces:
Serializable
,Comparable<DataType>
public enum DataType extends Enum<DataType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLLECTION
ENTITY
IMMUTABLE_ENTITY
NATURAL_ID
PENDING_PUTS
QUERY
TIMESTAMPS
-
Field Summary
Fields Modifier and Type Field Description String
defaultCacheName
String
key
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate(org.infinispan.configuration.cache.Configuration configuration)
static DataType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DataType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENTITY
public static final DataType ENTITY
-
NATURAL_ID
public static final DataType NATURAL_ID
-
COLLECTION
public static final DataType COLLECTION
-
IMMUTABLE_ENTITY
public static final DataType IMMUTABLE_ENTITY
-
TIMESTAMPS
public static final DataType TIMESTAMPS
-
QUERY
public static final DataType QUERY
-
PENDING_PUTS
public static final DataType PENDING_PUTS
-
-
Method Detail
-
values
public static DataType[] 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 (DataType c : DataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataType 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
-
validate
public void validate(org.infinispan.configuration.cache.Configuration configuration)
-
-