Changes between Version 10 and Version 11 of DataFormat


Ignore:
Timestamp:
18.10.2011 02:32:22 (13 years ago)
Author:
jri
Comment:

Association Type example

Legend:

Unmodified
Added
Removed
Modified
  • DataFormat

    v10 v11  
    2222^2)^ The term ''complex topic'' refers to an instance of a complex topic type. A complex topic type is one of data type "Composite". It is composed of child topic types (arbitrary depth). 
    2323 
    24 Example 1: a simple topic 
     24=== Example 1: a simple topic === 
    2525 
    2626{{{ 
     
    3535}}} 
    3636 
    37 Example 2: a complex topic 
     37=== Example 2: a complex topic === 
    3838 
    3939{{{ 
     
    5353}}} 
    5454 
    55 Example 3: an even more complex topic 
     55=== Example 3: an even more complex topic === 
    5656 
    5757{{{ 
     
    156156}}} 
    157157 
    158 Example 1: an association that connects 2 topics 
     158=== Example 1: an association that connects 2 topics === 
    159159 
    160160{{{ 
     
    177177}}} 
    178178 
    179 Example 2: an association that connects a topic with an association 
     179=== Example 2: an association that connects a topic with an association === 
    180180 
    181181{{{ 
     
    215215^1)^ ''Association Definition'' is a legacy term but still reflected by the property name. It should be renamed to ''Child Type Definition''. The respective property should be renamed to ''child_type_defs''. 
    216216 
    217 Example 1: a simple topic type 
     217=== Example 1: a simple topic type === 
    218218 
    219219{{{ 
     
    237237}}} 
    238238 
    239 Example 2: a complex topic type 
     239=== Example 2: a complex topic type === 
    240240 
    241241{{{ 
     
    296296== Association Type == 
    297297 
     298The association type format is analog to the [[#TopicType|Topic Type]] format. 
     299 
     300=== Example: an association type === 
     301 
     302{{{ 
     303{ 
     304  "id": 10, 
     305  "uri": "dm4.core.instantiation", 
     306  "type_uri": "dm4.core.assoc_type", 
     307  "value": "Instantiation", 
     308  "composite": { 
     309  }, 
     310  "data_type_uri": "dm4.core.text", 
     311  "index_mode_uris": [ 
     312  ], 
     313  "assoc_defs": [ 
     314  ], 
     315  "label_config": [ 
     316  ], 
     317  "view_config_topics": [ 
     318    { 
     319      "id": 792, 
     320      "uri": "", 
     321      "type_uri": "dm4.webclient.view_config", 
     322      "value": "rgb(41, 194, 225)", 
     323      "composite": { 
     324        "dm4.webclient.color": "rgb(41, 194, 225)" 
     325      } 
     326    } 
     327  ] 
     328} 
     329}}} 
     330 
    298331== Association Definition == 
    299332