com.arsdigita.kernel.ui
Class DataQueryTreeNode
java.lang.Object
com.arsdigita.kernel.ui.DataQueryTreeNode
- All Implemented Interfaces:
- TreeNode
- public class DataQueryTreeNode
- extends Object
- implements TreeNode
A simple tree node database backed trees.
- Version:
- $Id: //core-platform/dev/src/com/arsdigita/kernel/ui/DataQueryTreeNode.java#9 $
- Author:
- Daniel Berrange
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataQueryTreeNode
public DataQueryTreeNode(BigDecimal id,
String name,
boolean hasChild)
getKey
public Object getKey()
- Description copied from interface:
TreeNode
- Obtain a unique ID representing the node
- Specified by:
getKey
in interface TreeNode
getElement
public Object getElement()
- Description copied from interface:
TreeNode
- Get the element of the tree node. The concrete type
of the object returned is specific to each implementation
of the
TreeModel
and should be documented
there.
- Specified by:
getElement
in interface TreeNode
- Returns:
- the element for the tree node
getID
public BigDecimal getID()
hasChildren
public boolean hasChildren()
setValue
public void setValue(String key,
Object value)
getValue
public Object getValue(String key)
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC