Reference attributes are persistent attributes that represent references to other persistent objects. In order to store the type of referenced object, you must assign a class identifier to the reference attribute, in addition to the object reference. This identifies the class of the referenced object and provides an implicit link to the storage location in which the required entry is kept. Without this link the system would have to search through all tables with GUIDs as primary keys.
Procedure
To determine the assignment of a reference attribute, you must:
The Editing Area is filled with the appropriate values. The attribute name and description are copied. The system places suggested values in the fields Visibility, Access, and Assignment type. The field Attribute type remains blank.
- For assignment type:
Copy the entry Object reference.
- For the attribute type:
Enter the name of the persistent class that the reference refers to.
- For the attribute name (if required).
- For the description (if required).
The Editing Area is filled with suggested values. The attribute name and description are copied. The system fills the fields Visibility, Access, and Assignment type with suggested values. The field Attribute type remains blank.