Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.spatial.region
Interface RMNode

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
RMRegion

public interface RMNode
extends java.io.Serializable

This class defines the Region Modeling Node class.


Method Summary
 boolean equals(RMNode node)
          Compare two nodes
 RMNode[] getChildren()
          Gets the childern of the node
 java.lang.String getDesc()
          Get the description of the node
 int getID()
          Get the id of the node
 java.lang.String getName()
          Get the name of the node
 RMNode getParent()
          Returns the parent of the node
 int getType()
          Get the node type
 java.lang.String getTypeName()
          Get the node type name
 boolean hasGeom()
          Return true if the node contains geometry information
 boolean isLeaf()
          Returns true if the node is a leaf

 

Method Detail

equals

public boolean equals(RMNode node)
Compare two nodes
Parameters:
node - the node to compare
Returns:
true if the nodes are equal

getChildren

public RMNode[] getChildren()
Gets the childern of the node
Returns:
an array of child RMNodes

getDesc

public java.lang.String getDesc()
Get the description of the node
Returns:
the id of the description

getID

public int getID()
Get the id of the node
Returns:
the id of the node

getName

public java.lang.String getName()
Get the name of the node
Returns:
the name of the node

getParent

public RMNode getParent()
Returns the parent of the node
Returns:
the parent node

getType

public int getType()
Get the node type
Returns:
an int representing the node type

getTypeName

public java.lang.String getTypeName()
Get the node type name
Returns:
an int representing the node type name

hasGeom

public boolean hasGeom()
Return true if the node contains geometry information
Returns:
true if the node contains geometry information

isLeaf

public boolean isLeaf()
Returns true if the node is a leaf
Returns:
true if the node is a leaf

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.