Changes

UBIK Studio Manual

76 bytes added, Monday at 05:14
/* 4. Create References and Links */
==4. Create References and Links==
References define which object types a connection (link) may point to, while links, implemented as a property of type Guid, actually establish this connection between two instances. Both elements are required to model directed relationships between objects within the UBIK® data model, e.g. to point from one object to another without needing a fixed parent-child structure.
To create a referenceReference, navigate to Custom->Reference and drag Custom->Reference->REFERENCE into the BulkEditor (to access the content view, you must switch to the content area in the ClassBrowser). Then, specify the Name, Description, Namespace, and TargetType. When creating a new reference—for example, REF_ANLEITUNG—the corresponding metaclass ANLEITUNG must be set as the TargetType.
[[File:createReferencesAndLinks1.png|thumb|400px|left]]
<br>
<br>
To create link propertiesProperties, drag CUSTOMMETAPROPERTY into a [[Bulk_Editor|BulkEditor]]. Select "Guid" as the data type. Then, assign the previously created reference—for Reference—for example, REF_ANLEITUNG to the reference Reference field.
<div style="margin-top: 10px;">
</div>
<br>
The metaclass Metaclass referenced by the link property Property must be dragged into a ClassDetails editor. Subsequently, the link property Property is assigned to the corresponding metaclass under MetaProperties.
<div style="margin-top: 10px;">
</div>
[[Category:Pages with broken file links|UBIK Studio Manual]]
==5. [[HowTo:Create_a_new_View|Create View]]==
189
edits