Previous Topic: Patterns and InheritanceNext Topic: Add Functionality to the Project Entity


Use Inheritance to Define the Project Entity

You have now defined the fields in which the Project entity stores data and specified the pattern library fields that those fields inherit from. In the next step, you give the Project entity a user interface and functionality to interact with a database.

To define the project entity, you again use inheritance. You define the project entity with only two triples:

Project is a FOUNDATI/EditDetail
Project is a STORAGE/RelationalTable

The first inheritance triple gives your entity the ability to display and process a user interface. The second inheritance triple provides the functionality to read Project records from, and write Project records to, a relational database.

The step-by-step instructions that follow help you better understand the consequences of entering these two triples.