/** * Set the state model definition * * @param stateModelDefName a reference to the state model definition, e.g. "MasterSlave" */ public void setStateModelDef(StateModelDefId stateModelDefId) { if (stateModelDefId != null) { setStateModelDef(stateModelDefId.stringify()); } }
/** * Get the state model definition id * * @return a reference to the state model definition */ public StateModelDefId getStateModelDefId() { return StateModelDefId.from(getStateModelDef()); }