public Object getPersistentState() {
    Map<String, Object> persistentState = new HashMap<String, Object>();
    persistentState.put("suspensionState", this.suspensionState);
    persistentState.put("historyTimeToLive", this.historyTimeToLive);
    return persistentState;
  }
public Object getPersistentState ( ) { Map < String , Object > persistentState = new HashMap < String , Object > ( ) ; persistentState . put ( "suspensionState" , this . suspensionState ) ; persistentState . put ( "historyTimeToLive" , this . historyTimeToLive ) ; return persistentState ; }
getters and setters //////////////////////////////////////////////////////