| Table Name: | cls_ref |
| Table Number: | 137 |
| Group: | Task Mgr |
| Description: | Defines references to a tree of objects which will be generated by a template |
| Flags: | |
| Baseline/Custom: | Baseline |
| Field Name | Common Type | Database Type | Generic Field ID | Array Size | Default | Flags | Comment | Field Used in Views |
|---|---|---|---|---|---|---|---|---|
| dev | LONG | int | 151 | 1 | DIRECT, ALLOW_NULL | Row version number for mobile distribution purposes | ||
| from_type | LONG | smallint | DIRECT | Object type ID on the FROM side of the reference | ||||
| objid | LONG | int | 3 | DIRECT | Internal record number | |||
| path | CHAR | varchar | 80 | Relation to be used for the traversal from the from_type to the to_type | ||||
| sequence_num | LONG | smallint | DIRECT | Sequence number of the reference. Can determine order of execution | ||||
| to_type | LONG | smallint | DIRECT | Object type ID on the TO side of the reference |
| Relation | Type | Target Object | Inverse Relation | Comment | Flags | MTM Table | Used in Views |
|---|---|---|---|---|---|---|---|
| cls_ref2cls_factory | MTO | cls_factory | factory2cls_ref | Templates using the reference | |||
| ref2cls_opn | OTM | cls_opn | opn2cls_ref | Class operations generated from the reference | |||
| cls_ref2cls_prop | OTM | cls_prop | cls_prop2cls_ref | Properties generated from the reference |
| Index Name | Fields | Flags |
|---|---|---|
| cls_ref_index | cls_ref2cls_factory:from_type:to_type:path | UNIQUE |
| Index Name | Fields | Additional Information |
|---|---|---|
| cls_ref_index | cls_ref2cls_factory, from_type, to_type, path | nonclustered, unique located on PRIMARY |
| ind_cls_ref2cls_factory | cls_ref2cls_factory | nonclustered located on PRIMARY |
| objindex | objid | clustered, unique located on PRIMARY |
| View ID | View Name | Tables |
|---|
| cls_ref | |||