|
|||||||||
| 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 java.lang.Object |
dsAddLink(java.lang.Object fromNode,
java.lang.Object toNode,
java.util.Map properties)
Creates a new link in the graph . |
abstract java.lang.Object |
dsAddNode(java.util.Map properties)
Creates a new node in the graph. |
abstract void |
dsRemoveLink(java.lang.Object link)
Removes a link from the graph. |
abstract void |
dsRemoveNode(java.lang.Object node)
Removes a node from the graph. |
abstract void |
dsUpdateLink(java.lang.Object link,
java.lang.String propertyName,
java.lang.Object propertyValue)
Updates a property of a link |
abstract void |
dsUpdateNode(java.lang.Object node,
java.lang.String propertyName,
java.lang.Object propertyValue)
Updates a property of a node. |
abstract boolean |
isLinkEditable(java.lang.Object obj)
Returns false if the link is read-only. |
abstract boolean |
isNodeEditable(java.lang.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(java.lang.Object obj)
false if the node is read-only.obj - The object to test.public java.lang.Object dsAddNode(java.util.Map properties)
properties - The properties of the node to createnull if the node takes a long
time to be created.public void dsRemoveNode(java.lang.Object node)
node - The node to be removed
public void dsUpdateNode(java.lang.Object node,
java.lang.String propertyName,
java.lang.Object propertyValue)
node - The node to updatepropertyName - The name of the property to be updatedpropertyValue - The new value of the propertypublic boolean isLinkEditable(java.lang.Object obj)
false if the link is read-only.obj - The object to test.
public java.lang.Object dsAddLink(java.lang.Object fromNode,
java.lang.Object toNode,
java.util.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(java.lang.Object link)
link - The link to be removed
public void dsUpdateLink(java.lang.Object link,
java.lang.String propertyName,
java.lang.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 | ||||||||