com.arsdigita.categorization
Class CategoryTreeNodeLite

java.lang.Object
  extended bycom.arsdigita.categorization.CategoryTreeNodeLite
All Implemented Interfaces:
TreeNode

public class CategoryTreeNodeLite
extends Object
implements TreeNode

A light-weight category node. See CategoryTreeModelLite.

Version:
$Revision: #10 $ $DateTime: 2004/04/07 16:07:11 $
Author:
Daniel Berrange
See Also:
CategoryTreeModelLite

Field Summary
 
Fields inherited from interface com.arsdigita.bebop.tree.TreeNode
versionId
 
Constructor Summary
CategoryTreeNodeLite(BigDecimal id, String name, boolean hasChild)
           
 
Method Summary
 Object getElement()
          Get the element of the tree node.
 BigDecimal getID()
           
 Object getKey()
          Obtain a unique ID representing the node
 boolean hasChildren()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoryTreeNodeLite

public CategoryTreeNodeLite(BigDecimal id,
                            String name,
                            boolean hasChild)
Method Detail

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()


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC