Each state will be represented by an instance of the State helper class.
You must create a map to hold your entity's State instances:
/**
* A map of the states for this entity
*/
private final Map<MYLIFECYCLEENTITYSTATEEntry,
State<MYLIFECYCLEENTITYSTATEEntry>> states =
new HashMap<MYLIFECYCLEENTITYSTATEEntry,
State<MYLIFECYCLEENTITYSTATEEntry>>();