Show TOC

Example: Data Object MappingLocate this document in the navigation structure

Use

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.

Data Object

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

Entity

Given name

Data Object

Data Object Model

The following figure displays the mapping of the data object above to a data object model:

  • 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.