Example #1
0
 /**
  * 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());
   }
 }
Example #2
0
 /**
  * Get the state model definition id
  *
  * @return a reference to the state model definition
  */
 public StateModelDefId getStateModelDefId() {
   return StateModelDefId.from(getStateModelDef());
 }