com.sap.mdm.group
Interface HierGroupNode

All Known Subinterfaces:
HierDataGroupNode, HierLocationGroupNode, HierValidationGroupNode

public interface HierGroupNode

This interface represents a single node in the hierarchical structure of the grouping.


Field Summary
static int DATA_GROUP
          Deprecated. use the same constant in the GroupTypes class.
static int LOCATION_GROUP
          Deprecated. use the same constant in the GroupTypes class.
static int VALIDATION_GROUP
          Deprecated. use the same constant in the GroupTypes class.
 
Method Summary
 HierGroupNode[] getAllLeafs()
          Returns all leaf nodes placed under the current node.
 HierGroupNode[] getChildren()
          Returns the children nodes.
 String[] getFullPath()
          Returns full string path of this node started from the root node.
 GroupNodeId getId()
          Returns ID of group node.
 String getName()
          Returns name of group node.
 HierGroupNode getParent()
          Returns the parent node.
 int getType()
          Returns type of group (ValidationGroup, DataGroup, LocationGroup).
 boolean isLeaf()
          Indicates if this node is the leaf node of hierarchy.
 boolean isRoot()
          Indicates if this node is the upper root node of hierarchy.
 

Field Detail

VALIDATION_GROUP

public static final int VALIDATION_GROUP
Deprecated. use the same constant in the GroupTypes class.

See Also:
Constant Field Values

DATA_GROUP

public static final int DATA_GROUP
Deprecated. use the same constant in the GroupTypes class.

See Also:
Constant Field Values

LOCATION_GROUP

public static final int LOCATION_GROUP
Deprecated. use the same constant in the GroupTypes class.

See Also:
Constant Field Values
Method Detail

getId

public GroupNodeId getId()
Returns ID of group node.

Returns:
ID of group node.

getName

public String getName()
Returns name of group node.

Returns:
Name of group node.

isLeaf

public boolean isLeaf()
Indicates if this node is the leaf node of hierarchy.

Returns:
true if this node is the leaf node, false otherwise.

isRoot

public boolean isRoot()
Indicates if this node is the upper root node of hierarchy.

Returns:
true if this node is the upper root node, false otherwise.

getParent

public HierGroupNode getParent()
Returns the parent node.

Returns:
the parent node.

getChildren

public HierGroupNode[] getChildren()
Returns the children nodes.

Returns:
the array of the children nodes.

getAllLeafs

public HierGroupNode[] getAllLeafs()
Returns all leaf nodes placed under the current node.

Returns:
the array of the leaf nodes.

getFullPath

public String[] getFullPath()
Returns full string path of this node started from the root node.

Returns:
array of node names started from the root node up to the current node.

getType

public int getType()
Returns type of group (ValidationGroup, DataGroup, LocationGroup).

Returns:
type of group.


Copyright 2004-2007 by SAP AG. All Rights Reserved.

SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.