Jump to: navigation, search

Difference between revisions of "ReferenceReplication"


(Reverse Reference)
Line 12: Line 12:
 
=== Reverse Reference ===  
 
=== Reverse Reference ===  
 
reverse reference means that there are one or more children objects carriing the property refering to a source. It is necessary to configure the name of the reference property. Once the source object gets replicated, every single child refering to it will be replicated as well based on the configuration of the used reference replication configuration.
 
reverse reference means that there are one or more children objects carriing the property refering to a source. It is necessary to configure the name of the reference property. Once the source object gets replicated, every single child refering to it will be replicated as well based on the configuration of the used reference replication configuration.
{{Attention|For evaluation of reverse references that Target Metaclass of the instance replication is used. Make sure that the referenced type carries the reference property!}}
+
{{Attention|For evaluation of reverse references the target Metaclass of the instance replication is used. Make sure that the referenced type carries the reference property!}}
  
 +
[[Category:Replicating|ReferenceReplication]]
 +
[[Category:UBIK Object|ReferenceReplication]]
 +
[[Category:Version 2.5|ReferenceReplication]]
  
 
== See also ==
 
== See also ==

Revision as of 08:34, 23 November 2015

A reference replication configuration defines how to replicate (copy) objects being referenced by the target object or referencing the target object.

The reference configuration is configured via the Reference Replication relation between two instance replication objects.

Available .

Configuration

Forward Reference

Forward reference means that the source object carries the property refering to a child. It is necessary to configure the name of the reference property. Once the source object gets replicated, the referenced child will be replicated as well based on the configuration of the used reference replication configuration.

IC Hint square.pngIf you want the new replicated instance to refer to the same child as its source, you have to configure a simple property replication but must not use a reference replication!

Reverse Reference

reverse reference means that there are one or more children objects carriing the property refering to a source. It is necessary to configure the name of the reference property. Once the source object gets replicated, every single child refering to it will be replicated as well based on the configuration of the used reference replication configuration.

IC Attention.pngFor evaluation of reverse references the target Metaclass of the instance replication is used. Make sure that the referenced type carries the reference property!

See also