com.intel.gpe.gridbeans.plugins.controls.remotefs
Interface Node

All Known Subinterfaces:
StorageOrFileNode
All Known Implementing Classes:
ErrorNode, RemoteFileNode, StorageNode, TargetSystemNode

public interface Node

The general interface of the node.

Version:
$Id: Node.java,v 1.1 2005/12/07 11:37:56 lukichev Exp $
Author:
Alexander Lukichev

Method Summary
 Node getChild(int i)
          Get the child specified with the index.
 int getChildCount()
          Get the number of children nodes.
 boolean isLeaf()
          Check if the node is a leaf.
 

Method Detail

getChildCount

int getChildCount()
Get the number of children nodes.

Returns:
The number of children

getChild

Node getChild(int i)
Get the child specified with the index.

Parameters:
i - The index of the child to get
Returns:
The child node

isLeaf

boolean isLeaf()
Check if the node is a leaf.

Returns:
true if the node if a leaf, false otherwise.