ilog.server.jsds.tree
Class IlsRpRootItem

java.lang.Object
  |
  +--ilog.server.jcomp.RpObject
        |
        +--ilog.server.jsds.IlsDSObject
              |
              +--ilog.server.jsds.tree.IlsRpTreeItem
                    |
                    +--ilog.server.jsds.tree.IlsRpRootItem
All Implemented Interfaces:
RepresentationUpdate.Type, S2CTransactionStatus

public class IlsRpRootItem
extends IlsRpTreeItem

Root item representation object for tree data source. The predefined attribute is "tree". The owner of the root.


Inner classes inherited from class ilog.server.jcomp.RpObject
RpObject.IllegalCollector, RpObject.ModelNotSet, RpObject.RepresentationNotSet
 
Fields inherited from class ilog.server.jsds.IlsDSObject
_properties, NOTIFY_OR_ROLLBACK
 
Fields inherited from class ilog.server.jcomp.RpObject
_repres
 
Fields inherited from interface ilog.server.jcomp.RepresentationUpdate.Type
ADD, ADD_ORIG, CLOSE, COMP_FUNCALL, CREATION, DELETION, HREF_MODIF_LABEL, LOCAL_CREATION, LOCAL_RM, MAX, MODIFICATION, NOTIFY, NOUPDATE, OBJ_FUNCALL, OPEN_VIEW, PUSH_MAIN_ORIG, RM, RM_ORIG, ROLLBACK, SELECTION, SET_MAIN_ORIG, STATUS, VIEW_FUNCALL
 
Fields inherited from interface ilog.server.jcomp.S2CTransactionStatus
ACKNOWLEDGE, CP_ROLLBACK, CREATION, DEFAULT, GET_OBJ_IDS, GET_VIEW_IDS, NOTIFY, NOTIFY_CREATION, RECV_MESG, RECV_OBJ_IDS, RECV_VIEW_IDS, SV_ROLLBACK, SV_ROLLBACK_CREATION
 
Constructor Summary
IlsRpRootItem(Representation rp, RpObjModel om)
          Instantiate a new IlsRpRootItem.
 
Method Summary
protected  void doDispose()
          Excluded.  
 IlsRpTreeItem getParent()
           
 IlsRpTree getTree()
           
 void setParent(IlsRpTreeItem parent)
          Update the root parent.
 void setTree(IlsRpTree tree)
          Update the root owner.
 
Methods inherited from class ilog.server.jsds.tree.IlsRpTreeItem
allowsChildren, beginS2CUpdate, dispose, endS2CUpdate, setAllowChildren
 
Methods inherited from class ilog.server.jsds.IlsDSObject
onDSDereference, onUpdateProperty, openDSView, openDSView, openDSView, setBoolean, setChar, setDouble, setFloat, setHRef, setLong, setProperty, setReference, setShort, setString, setUserTypeValue
 
Methods inherited from class ilog.server.jcomp.RpObject
ackAttrUpdate, ackOpenView, afterInit, beforeDeletion, beginC2SUpdate, beginC2SUpdate, discardC2SUpdate, endC2SUpdate, execAsyncCallback, execAsyncCallback, execCallback, execDuplexCallback, execDuplexCallback, execDuplexCallback, execSyncCallback, finalize, getAttributeId, getAttributeId, getAttributeType, getLabel, getReference, getRepresentation, getRpObjectId, getRpObjModel, ILS_RP_ATTR_BOOLEAN, ILS_RP_ATTR_CHAR, ILS_RP_ATTR_DOUBLE, ILS_RP_ATTR_FLOAT, ILS_RP_ATTR_HREF, ILS_RP_ATTR_INT, ILS_RP_ATTR_LONG, ILS_RP_ATTR_MVVALUE, ILS_RP_ATTR_REF, ILS_RP_ATTR_REF, ILS_RP_ATTR_STRING, ILS_RP_ATTR_USERTYPE, ILS_RP_DEFAULT_ATTR_BOOLEAN, ILS_RP_DEFAULT_ATTR_CHAR, ILS_RP_DEFAULT_ATTR_DOUBLE, ILS_RP_DEFAULT_ATTR_FLOAT, ILS_RP_DEFAULT_ATTR_INT, ILS_RP_DEFAULT_ATTR_LONG, ILS_RP_DEFAULT_ATTR_MVVALUE, ILS_RP_DEFAULT_ATTR_REF, ILS_RP_DEFAULT_ATTR_STRING, ILS_RP_DEFAULT_ATTR_USERTYPE, ILS_RP_DEFAULT_INDEXED_ATTR_BOOL, ILS_RP_DEFAULT_INDEXED_ATTR_CHAR, ILS_RP_DEFAULT_INDEXED_ATTR_DOUBLE, ILS_RP_DEFAULT_INDEXED_ATTR_FLOAT, ILS_RP_DEFAULT_INDEXED_ATTR_INT, ILS_RP_DEFAULT_INDEXED_ATTR_LONG, ILS_RP_DEFAULT_INDEXED_ATTR_MVVALUE, ILS_RP_DEFAULT_INDEXED_ATTR_REF, ILS_RP_DEFAULT_INDEXED_ATTR_STRING, ILS_RP_DEFAULT_INDEXED_ATTR_USERTYPE, ILS_RP_INDEXED_ATTR_BOOLEAN, ILS_RP_INDEXED_ATTR_CHAR, ILS_RP_INDEXED_ATTR_DOUBLE, ILS_RP_INDEXED_ATTR_FLOAT, ILS_RP_INDEXED_ATTR_HREF, ILS_RP_INDEXED_ATTR_INT, ILS_RP_INDEXED_ATTR_LONG, ILS_RP_INDEXED_ATTR_MVVALUE, ILS_RP_INDEXED_ATTR_REF, ILS_RP_INDEXED_ATTR_STRING, ILS_RP_INDEXED_ATTR_USERTYPE, isEditable, isMatchingHRef, isMatchingRef, onAddToCollection, onDereference, onDereference, onDereference, onNullifyRef, onRmFromCollection, onRmFromCollection, onRmRepresentation, onSuppress, onUpdate, onUpdate, openView, openView, openView, openView, performUpdate, performUpdate, setAny, setAttributeValue, setConstAttribute, setConstAttributes, setMvValue, setRpStatus, setSelection, setValue, testCollection, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IlsRpRootItem

public IlsRpRootItem(Representation rp,
                     RpObjModel om)
Instantiate a new IlsRpRootItem. This method is invoked by the representation.
Parameters:
rp - The representation into which this representation object will be inserted.
om - The associated representation object model.
Method Detail

getTree

public IlsRpTree getTree()
Overrides:
getTree in class IlsRpTreeItem
Returns:
the tree (owner) of the root.

getParent

public IlsRpTreeItem getParent()
Overrides:
getParent in class IlsRpTreeItem
Returns:
the parent of the root. It is always null.

doDispose

protected void doDispose()
Excluded. 
Overrides:
doDispose in class IlsRpTreeItem

setTree

public void setTree(IlsRpTree tree)
Update the root owner. This method is invoked by the component.
Parameters:
tree - The new owner.

setParent

public void setParent(IlsRpTreeItem parent)
Update the root parent. This method is invoked by the component. By default the implementation is empty. A root item has no parent.
Overrides:
setParent in class IlsRpTreeItem
Parameters:
parent - The new parent.