Create a New Identifier Domain
- Open Genus Studio.
- In the Directory tree, click the Object Classes folder.
- In the File menu, point to New, and then click Identifier Domain.
- Select the logical database where the table for the Object Class is located. Logical databases are defined in Genus Configuration.
- If your directory contains more than one data set, in the Read Database Dictionary from Data Set box, select which data set to access when reading the database dictionary. The database dictionary is used for reading the definitions for the tables stored in your database.
- Click Next.
- In the Database Table box, select the table containing data for the Object Class.
- In the Name box, type a name for the Object Class.
- In the Identifier Type box, select if identifiers are generated using a sequential counter, or extracted from a pool of predefined identifiers. Note that if identifiers are generated using a sequential counter, the table must contain one row with an initial value for the column containing the next available identifier.
- Click Next.
- If you have selected Sequential Counter as identifier type in step 8, in the Identifier Column box, select the column containing the counter value. You can only choose among columns with an integer data type.
- If you have selected Pool as identifier type in step 8, in the Identifier Column box, select the column containing the pool of identifiers. You can only choose among columns with an integer or a character based data type. The selected column will be defined as primary key for the Object Class. In the State Column box, select the column containing the identifier state. You can only choose among columns with an integer data type.
- Click Next.
- To modify the properties created for the identifier- and state column, click the property in the list, and then click Modify. More information on how to define a property is described in the article Modify an Object Class Property.
- To save the Object Class, click Finish.
See Also