Changes between Initial Version and Version 1 of ComplexDataTypes


Ignore:
Timestamp:
29.10.2011 18:00:08 (11 years ago)
Author:
JuergeN
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ComplexDataTypes

    v1 v1  
     1The semantic of [[DeepaMehta]] is based on the two elements Topics and Associations. But what, if you want to define an object with various properties? For example in an address book you typically store various information in the context of a single person. A simple set o properties for a Person may look like this: 
     2 
     3* First Name (FN) 
     4* Last Name (LN) 
     5* Phone Number (PN) 
     6 
     7 
     8If you want to create complex data types in DeepaMehta, you will need an alias object (TopicType) of the data type Composite. 
     9           
     10{{{ 
     11 
     12            O <- Alias Object "Person" (Composite) 
     13           /|\ 
     14          / | \ 
     15         /  |  \ 
     16      (FN) (LN) (PN) 
     17 
     18}}}