Entity
An Entity is an abstract data type that defines a logical data aggregation and its associated default characteristics and behavior. It may be mapped to a table in a DBMS, and is most frequently used to represent the application data, but it can also represent transient data, a collection of controls, or constant data.
Entities have properties that can be used to declare basic data storage behavior and validation rules. They also have associated triggers for scripting behavior, such as retrieving data, adding or removing records (known as occurrences), and storing data.
The term entity is often used generically, and depending on the context, may refer to modeled entities, component entities, or even to occurrences. For more information, see Modeled Entities, Component Entities and Fields and Occurrences.
Characteristics
Characteristics |
|
---|---|
Icon: |
|
Object type code: |
ent |
Main Development Object? |
No |
Part of: |
|
Contains: |
|
Generalization: |
|
Specializations: |
Modeled Entity, Component Entity
|
Compilation Output: |
— |
URI format: |
|
Specialization
Entity specializes Development Object in the following ways:
-
It can contain fields, keys, and relationships
Properties
Object Properties:
Source Properties:
- Date Modified
Configuration Properties:
- Inherits
- Inherits From
- Is Generic (only in modeled components)
- Is Bound (only in derived components)
- Bound To (only in derived components)
Data I/O Properties:
- Database Behavior
- Data Access
- Database Path
- Locking
- Entity Service
- Minimum Occurrences
- Maximum Occurrences
- Database Interface (Entities)
- Field List (Derived Component Entity)
Presentation Properties:
- FRM Widget Type (Field)
- FRM Widget Properties
- DSP Widget Type
- DSP Widget Properties
- USP Widget Type
- USP Widget Properties
- Pop-up Menu
- Border (small)
Printing properties:
Triggers
- trigger create
- trigger delete
- trigger deleteUp
- trigger detail
- trigger error
- trigger getFocus (Entity)
- trigger help
- trigger leaveModified
- trigger help
- trigger leaveModifiedKey
- trigger leavePrinted
- trigger lock
- trigger menu
- trigger postDeserialize
- trigger preDeserialize
- trigger postSerialize
- trigger preSerialize
- trigger read
- trigger remove
- trigger write
- trigger writeUp
- trigger validate (Entity)
- trigger validateKey