ExplorerItem (Hyperic HQ Plugin API)
Keywords: org.hyperic.hq.bizapp.explorer.ExplorerItem interface

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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 `ExplorerItem`s

### getParent

    ExplorerItem getParent()

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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