skip to main content
Programmers documentation > Integrating with JViews Diagrammer > Data source hierarchy mapping
 
Data source hierarchy mapping
The TGO-SDM adapter maps the JViews TGO data source structure to a corresponding SDM model parent-child hierarchy. Each business object in the data source that is successfully mapped is available in the corresponding SDM model as a model object, so that sdmmodel.getObject(id) returns an instance of IlpObject. This provides the flexibility to manipulate the JViews TGO business objects from the SDM model inside a JViews Diagrammer component.
Although the JViews TGO data source structure is based on parent-child relationships, JViews TGO imposes some restrictions as to which objects can be set as parent and which ones can be set as children of a given parent object. For example, the only objects allowed as children of an IltShelf are IltCard and IltCardCarrier. Therefore any hierarchy modification (add, remove, update objects) should be made through the JViews TGO data source API in order to validate its consistency.
NOTE JViews Diagrammer does not support link sets (IltLinkSet) and link bundles (IltLinkBundle). These objects are automatically excluded by the TGO-SDM adapter.

Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.