Example: Data Object Mapping
This example lists the structure of a sample data object and then shows how it is mapped to a data object model in the mobile project.
The following table lists the various entities in the sample data object:
Entity |
Given name |
Data Object |
DATA_OBJECT_EXAMPLE |
Root Node |
ROOT |
Child 1 of Root Node |
CHILD1_OF_ROOT |
Child 1 of Child 1 |
CHILD1_OF_CHILD1 |
Child 2 of Root Node |
CHILD2_OF_ROOT |
The following figure displays the mapping of the data object above to a data object model:

·
The icons
,
, and
represent a model, model class, and relation,
respectively.
· Each data object node is represented as a model class and is named as follows:
<DATA OBJECT NAME>$<NODE NAME>
· The data object node relations are represented as model class relations.
