wiki:ComplexDataTypes
Last modified 13 years ago Last modified on 29.10.2011 18:00:08

The 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:

  • First Name (FN)
  • Last Name (LN)
  • Phone Number (PN)

If you want to create complex data types in DeepaMehta, you will need an alias object (TopicType?) of the data type Composite.

            O <- Alias Object "Person" (Composite)
           /|\
          / | \
         /  |  \
      (FN) (LN) (PN)