org.qi4j.spi.entitystore.helpers
Enum MapEntityStore.JSONKeys

java.lang.Object
  extended by java.lang.Enum<MapEntityStore.JSONKeys>
      extended by org.qi4j.spi.entitystore.helpers.MapEntityStore.JSONKeys
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MapEntityStore.JSONKeys>
Enclosing interface:
MapEntityStore

public static enum MapEntityStore.JSONKeys
extends java.lang.Enum<MapEntityStore.JSONKeys>

JSON keys for values in the stored data.


Enum Constant Summary
application_version
          Version of the application which last updated the entity.
associations
          Map of associations.
identity
          Identity of the entity.
manyassociations
          Map of manyassociations.
modified
          When entity was last modified according to System.currentTimeMillis().
properties
          Map of properties.
type
          Type of the entity.
version
          Version of the entity.
 
Method Summary
static MapEntityStore.JSONKeys valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MapEntityStore.JSONKeys[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

identity

public static final MapEntityStore.JSONKeys identity
Identity of the entity.


application_version

public static final MapEntityStore.JSONKeys application_version
Version of the application which last updated the entity.


type

public static final MapEntityStore.JSONKeys type
Type of the entity.


version

public static final MapEntityStore.JSONKeys version
Version of the entity.


modified

public static final MapEntityStore.JSONKeys modified
When entity was last modified according to System.currentTimeMillis().


properties

public static final MapEntityStore.JSONKeys properties
Map of properties.


associations

public static final MapEntityStore.JSONKeys associations
Map of associations.


manyassociations

public static final MapEntityStore.JSONKeys manyassociations
Map of manyassociations.

Method Detail

values

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

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

valueOf

public static MapEntityStore.JSONKeys 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