|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Graph data source Note that the dereferencing is missing.
Method Summary | |
abstract Object |
dsAddLink(Object fromNode,
Object toNode,
Map properties)
Creates a new link in the graph . |
abstract Object |
dsAddNode(Map properties)
Creates a new node in the graph. |
abstract void |
dsRemoveLink(Object link)
Removes a link from the graph. |
abstract void |
dsRemoveNode(Object node)
Removes a node from the graph. |
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 obj)
Returns false if the link is read-only. |
abstract boolean |
isNodeEditable(Object obj)
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 obj)
false
if the node is read-only.obj
- The object to test.public Object dsAddNode(Map properties)
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 obj)
false
if the link is read-only.obj
- The object to test.public Object dsAddLink(Object fromNode, Object toNode, Map properties)
fromNode
- The origin node of the linktoNode
- The destination node of the linkproperties
- 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 |