Overview

Entity classes have a stereotype of entity.

An entity is a collection of fields and their associated database operations. Entity classes are the fundamental building blocks of systems developed with the IBM Cúram Social Program Management framework. They correspond to database tables and are the type of construct for which the Cúram generator gives the most support in terms of automatic code generation.

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 reads, inserts, modifies, removes, readmultis (which read multiple records from a table based on a partial key), etc. Standard operations (e.g. read, insert, etc.) operate on one database table by default. For example, in a banking system you could have an Account entity class whose operations would include insert, read, update, etc.

Entities are allowed to have attributes, operations, dependencies, inherits relations, and aggregations. Each of these constructs has a set of rules associated with it, which are detailed below.

For more information, see Operations