Rules
- Struct classes must have one or more attribute or aggregation, i.e. a struct cannot be empty.
- Struct classes are not allowed to have operations.
- Struct attribute types must be defined in terms of valid domain definitions.
- Struct classes may aggregate entity classes or other struct classes.
- Struct classes are not allowed to be involved in inheritance relationships.
- Struct classes used as key or details parameters to non-standard database operations must not aggregate other structs, i.e. they must be "flat".
- Two or more struct classes can have the same name provided that differentCODE_PACKAGE values have been specified for each, i.e. similarly named struct classes must be distinguishable by havingCODE_PACKAGE settings. See Options for more details.
- In most cases you will have to define a struct in order to use it as a parameter to an operation. The exception to this rule is standard key and details structs. These are generated automatically by the Cúram generator and are available for use by the developer.