Community
Participate
Working Groups
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* A simple state is a state without any regions.
* A simple state does not have any regions and it does not refer to any sub-machine state machine.
* result = region.isEmpty()
* result = region.isEmpty() && !isSubmachineState()
* @param state The receiving '<em><b>State</b></em>' model object.
* <!-- end-model-doc -->
* @generated NOT
*/
public static boolean isSimple(State state) {
return state.getRegions().isEmpty();
return state.getRegions().isEmpty() && !isSubmachineState(state);
}
/**