You can create business objects and insert them in the data
source through the API, although this process is slower and less
dynamic than reading an XML file. The following example shows how
to insert an JViews
TGO network element identified by its name, type and status into
the data source as a node business object identified as
node1
.
// Put some objects into the data source.
IlpObject node1 =
new IltNetworkElement("washington",IltNetworkElement.Type.NE,
new IltObjectState());
dataSource.addObject(node1);