Entity classes

An entity is a collection of fields and associated database operations. Entity classes are the fundamental building blocks of systems that are developed with Cúram. They correspond to database tables. The Cúram generator supports automatic code generation for entity classes.

Entity classes have a stereotype of entity. An entity class is essentially an object wrapper for a database table. The attributes of an entity are transformed to columns on the database table. Entities can have various data maintenance operations such as read, insert, modify, remove, readmulti (read multi reads multiple records from a table based on a partial key).

Standard operations such as read or insert operate on a single database table by default.

Entities can have attributes, operations, dependencies, inherits relations, and aggregations. A set of rules is associated with each of these constructs.