Jump to: navigation, search

Changes


XML Interface Toolkit

178 bytes added, 15:10, 11 February 2014
/* Section: */
=== Section: <Relation> ===
* Mapping of a XML elements to an MetaProperty representing either, a foreign key or a Guid value, linking to an another {{UBIK}} objectrelation* The system tries to load the a content object of the MetaClass as defined in the class mapping identified by '''TargetType''' with key values similar to the values of the according XML attribute in the data file. If an object can be is found, a reference to relation between this and the current object is set on created using the MetaProperty named similar relation <Identifier>.* The related object is tried to be loaded according to the inner text '''<Identifier>''' mappings of the XML element in the class mapping file.* For an import process set found for '''UseHierarchy=1TargetType''' to load a content .* A property mapping list for the relation data object corresponding to any parental can be set, where the XML element elements of the one currently processedXML relation element are processed similar to MetaProperties de-fined as '''<Property>''' elements.
<source lang="xml">
! width=20% | Attribute!! width=10% |Values!! Description
|-
| TargetType|| Text || Name of class mapping of referenced related object; ignored in export if UsesGuid=1
|-
| UseHierarchy|| 0 or 1|| Import: Ignore key attribute of XML element, use parental object instead(default = 0); if no XML data element is available the system will always only create the reference whether or not a XML relationship without setting the relation data element is available<br/>Export: parent object in view will not be exported (default = 0) as reference relation element|-| Name|| Text || Name of {{UBIK}} relation
|}
10,686
edits