gr.uoa.di.madgik.commons.state.store.registry
Enum StateStoreRegistryKey.EntryType

java.lang.Object
  extended by java.lang.Enum<StateStoreRegistryKey.EntryType>
      extended by gr.uoa.di.madgik.commons.state.store.registry.StateStoreRegistryKey.EntryType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StateStoreRegistryKey.EntryType>
Enclosing class:
StateStoreRegistryKey

public static enum StateStoreRegistryKey.EntryType
extends java.lang.Enum<StateStoreRegistryKey.EntryType>

The type of data an entry persisted with the state repository holds


Enum Constant Summary
Alphanumeric
          Defines a plain alphanumeric sequence
Bytearray
          Defines a plain byte sequence
File
          Defines a file reachable within the local filesystem
ISerializable
          Defines any object that can be serialized and deserialized as defined by ISerializable
Serializable
          Defines any object that can be serialized and deserialized as defined by Serializable
 
Method Summary
static StateStoreRegistryKey.EntryType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StateStoreRegistryKey.EntryType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Alphanumeric

public static final StateStoreRegistryKey.EntryType Alphanumeric
Defines a plain alphanumeric sequence


File

public static final StateStoreRegistryKey.EntryType File
Defines a file reachable within the local filesystem


Bytearray

public static final StateStoreRegistryKey.EntryType Bytearray
Defines a plain byte sequence


Serializable

public static final StateStoreRegistryKey.EntryType Serializable
Defines any object that can be serialized and deserialized as defined by Serializable


ISerializable

public static final StateStoreRegistryKey.EntryType ISerializable
Defines any object that can be serialized and deserialized as defined by ISerializable

Method Detail

values

public static StateStoreRegistryKey.EntryType[] 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 (StateStoreRegistryKey.EntryType c : StateStoreRegistryKey.EntryType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static StateStoreRegistryKey.EntryType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null