ilog.views.sdm.model
Interface IlvMutableSDMNode

All Superinterfaces:
IlvSDMNode
All Known Subinterfaces:
IlvMutableSDMLink
All Known Implementing Classes:
IlvDefaultSDMLink, IlvDefaultSDMNode

public interface IlvMutableSDMNode
extends IlvSDMNode

An IlvMutableSDMNode is a data object whose properties can be set.

Since:
JViews 4.0
See Also:
IlvDefaultSDMModel

Method Summary
 void addChild(IlvMutableSDMNode child, IlvMutableSDMNode before)
          Adds a child to this object's submodel.
 void removeChild(IlvMutableSDMNode child)
          Removes a child from this object's submodel.
 void setID(String id)
          Sets the identifier of the object.
 void setParent(IlvMutableSDMNode parent)
          Sets the parent of this data object, that is, the object to which the submodel containing this object is attached.
 void setProperty(String property, Object value)
          Sets a property of the data object.
 
Methods inherited from interface ilog.views.sdm.model.IlvSDMNode
getChildren, getID, getParent, getProperty, getPropertyNames, getTag
 

Method Detail

setID

void setID(String id)
Sets the identifier of the object.

Parameters:
id - The new object ID.

addChild

void addChild(IlvMutableSDMNode child,
              IlvMutableSDMNode before)
Adds a child to this object's submodel.

Parameters:
child - The child to add.
before - The object before which the new child must be inserted, or null if the new child must be appended to the list of children.

removeChild

void removeChild(IlvMutableSDMNode child)
Removes a child from this object's submodel.

Parameters:
child - The child to remove.

setParent

void setParent(IlvMutableSDMNode parent)
Sets the parent of this data object, that is, the object to which the submodel containing this object is attached.

Parameters:
parent - The new parent node.

setProperty

void setProperty(String property,
                 Object value)
Sets a property of the data object.

Parameters:
property - The name of the property.
value - The value of the property.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.