Implement getLifecycleState

You must implemented a getLifecycleState method, as required by the Lifecycle interface:

Figure 1. Implementing getLifecycleState
/**
   * {@inheritDoc}
   */
  public MYLIFECYCLEENTITYSTATEEntry getLifecycleState() {
    return MYLIFECYCLEENTITYSTATEEntry.get(getDtls().state);
  }