R1610

Summary

A primitive GeneralClass cannot have state machines.

Details

A GeneralClass is primitive (also called elementary) if its value cannot be broken down and its instances are not handled by the application. For example, integer and boolean are elementary classes, whereas Human or Device are generally not.

Tips

If you have a primitive GeneralClass with a state machine, you should consider making the class non-primitive or moving the state machine into a non-primitive class.