public java.util.UUID Getstateid(final int p_Index) { Ooaofooa.log.println( ILogger.OPERATION, "Instance State Machine", " Operation entered: InstanceStateMachine::Getstateid"); final ModelRoot modelRoot = getModelRoot(); java.util.UUID v_id = Gd_c.Null_unique_id(); StateMachineState_c[] v_states = StateMachineState_c.getManySM_STATEsOnR501(StateMachine_c.getManySM_SMsOnR517(this)); int v_count = -1; StateMachineState_c v_state = null; for (int i37214 = 0; i37214 < v_states.length; i37214++) { v_state = v_states[i37214]; if (((v_state != null))) { v_count = v_count + 1; } if ((v_count == p_Index)) { return v_state.Get_ooa_id(); } } return v_id; } // End getStateId
public int Getstatecount() { Ooaofooa.log.println( ILogger.OPERATION, "Instance State Machine", " Operation entered: InstanceStateMachine::Getstatecount"); final ModelRoot modelRoot = getModelRoot(); StateMachineState_c[] v_states = StateMachineState_c.getManySM_STATEsOnR501(StateMachine_c.getManySM_SMsOnR517(this)); return (v_states.length); } // End getStateCount