org.hyperic.hq.bizapp.explorer.types
Class GroupItemType
java.lang.Object
org.hyperic.hq.bizapp.explorer.types.GroupItemType
- All Implemented Interfaces:
- ExplorerItemType
public class GroupItemType
- extends java.lang.Object
- implements ExplorerItemType
Represents a single group and has no children.
Field Summary |
static java.lang.String |
CODE_PREFIX
|
static java.lang.String |
NAME
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
CODE_PREFIX
public static final java.lang.String CODE_PREFIX
- See Also:
- Constant Field Values
GroupItemType
public GroupItemType()
getName
public java.lang.String getName()
- Description copied from interface:
ExplorerItemType
- Get a short string identifying the item type. Can be used when
unregistering item types in the
ExplorerManager
- Specified by:
getName
in interface ExplorerItemType
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getAdoptedChildren
public java.util.List getAdoptedChildren(ExplorerContext ctx,
ExplorerItem parent)
- Description copied from interface:
ExplorerItemType
- Get children which this type thinks belong to the parent.
This is useful for plugins who wish to be displayed as children
of an item, without the item knowing about the child's existence
prior.
- Specified by:
getAdoptedChildren
in interface ExplorerItemType
- See Also:
ExplorerManager.findAllChildren(ExplorerContext, ExplorerItem)
getChild
public ExplorerItem getChild(ExplorerContext ctx,
ExplorerItem parent,
java.lang.String code)
- Description copied from interface:
ExplorerItemType
- Get a single child, by code. Allows for an optimized searching when
looking for a single node (don't have to look everything up via
getChildren())
- Specified by:
getChild
in interface ExplorerItemType
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.