|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
SDM data source editor. Note that the dereferencing is missing.
Method Summary | |
abstract Object |
dsAddLink(String tag,
Object parent,
Object from,
Object to,
Map properties)
Creates a new link in the SDM model of logical type tag . |
abstract Object |
dsAddNode(String tag,
Object parent,
Map properties)
Creates a new node in the SDM model of logical type tag . |
abstract void |
dsRemoveLink(Object link)
Removes a link from the sdm model. |
abstract void |
dsRemoveNode(Object node)
Removes a node from the SDM model. |
abstract void |
dsUpdateLink(Object link,
String propertyName,
Object propertyValue)
Updates a property of a link |
abstract void |
dsUpdateNode(Object node,
String propertyName,
Object propertyValue)
Updates a property of a node. |
abstract boolean |
isLinkEditable(Object link)
Returns false if the link is read-only. |
abstract boolean |
isNodeEditable(Object node)
Returns false if the node is read-only. |
Methods inherited from interface ilog.ds.IlDataSourceEditor |
dsEndBatch, dsStartBatch, dsUpdateProperty, getDSBatchLevel, isEditable |
Method Detail |
public boolean isNodeEditable(Object node)
false
if the node is read-only.node
- The node to test.public Object dsAddNode(String tag, Object parent, Map properties)
tag
.tag
- The node's logical type.parent
- The parent to which the new node is added, may be
null
properties
- The properties of the node to createnull
if the node takes a long
time to be created.public void dsRemoveNode(Object node)
node
- The node to be removedpublic void dsUpdateNode(Object node, String propertyName, Object propertyValue)
node
- The node to updatepropertyName
- The name of the property to be updatedpropertyValue
- The new value of the propertypublic boolean isLinkEditable(Object link)
false
if the link is read-only.link
- The link to test.public Object dsAddLink(String tag, Object parent, Object from, Object to, Map properties)
tag
.tag
- The link's logical type.parent
- The parent to which the new link is added, may be
null
from
- The origin node of the link, may be null
to
- The target node of the link, may be null
properties
- The properties of the link to createnull
if the link takes a long
time to be created.public void dsRemoveLink(Object link)
link
- The link to be removedpublic void dsUpdateLink(Object link, String propertyName, Object propertyValue)
link
- The link to updatepropertyName
- The name of the property to be updatedpropertyValue
- The new value of the property
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |