Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.bizapp.explorer
Interface ExplorerItem

All Known Implementing Classes:
GroupItem, GroupManagerRootItem

public interface ExplorerItem

Represents a single item in an explorer tree.


Method Summary
 java.util.List getChildren()
          Get the item's direct children.
 java.lang.String getCode()
          A unique identifier for the item.
 java.lang.String getLabel()
          Get the display label for the item.
 ExplorerItem getParent()
           
 ExplorerItemType getType()
          Get the type that created this item.
 

Method Detail

getCode

java.lang.String getCode()
A unique identifier for the item. This is used to find instances of the item when scanning a tree.


getLabel

java.lang.String getLabel()
Get the display label for the item. This label should be localized.


getType

ExplorerItemType getType()
Get the type that created this item.


getChildren

java.util.List getChildren()
Get the item's direct children. Note that if you are attempting to get _all_ of an item's children, you should use ExplorerManager.getAllChildren, as that will include any adopted items.

Returns:
a list of ExplorerItems

getParent

ExplorerItem getParent()

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.