You must implemented a getLifecycleState method, as required by the Lifecycle interface:
/** * {@inheritDoc} */ public MYLIFECYCLEENTITYSTATEEntry getLifecycleState() { return MYLIFECYCLEENTITYSTATEEntry.get(getDtls().state); }