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 Details

    • 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
  • Field Details

    • key

      public final String key
    • defaultCacheName

      public final String defaultCacheName
  • Method Details

    • values

      public static DataType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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 name
      NullPointerException - if the argument is null
    • validate

      public void validate(org.infinispan.configuration.cache.Configuration configuration)