Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


oracle.iam.rm.inherent
Interface HierarchyNode

All Superinterfaces:
SnapshotObject

public interface HierarchyNode
extends SnapshotObject

Interface representing hierarchy index node (mix-in).


Field Summary
static java.lang.String NODE_ATTRIBUTE_END_OF_OCCUPIED_SPACE
          Static variable representing hierarchyEndOfOccupiedSpace attribute.
static java.lang.String NODE_ATTRIBUTE_INDEX
          Static variable representing hierarchyIndex attribute.
static java.lang.String NODE_ATTRIBUTE_LEVEL
          Static variable representing hierarchyLevel attribute.
static java.lang.String NODE_ATTRIBUTE_MAX_INDEX
          Static variable representing hierarchyMaxIndex attribute.
static java.lang.String NODE_ATTRIBUTE_NUM_CHILDREN
          Static variable representing hierarchyNumChildren attribute.
static java.lang.String NODE_ATTRIBUTE_PARENT_ID
          Static variable representing hierarchyParent_id reference attribute.
static java.lang.String NODE_IS_LEAF_ONLY
          Static variable representing hierarchyLevel attribute.

 

Method Summary
 long getIndex()
          Gets the index of this HierarchyNode.
 java.lang.Boolean getLeafOnly()
          Indicates whether a node is a leaf-only node, in other words a node that cannot have any children.
 long getMaxIndex()
          Gets the upper range of this node's childrens' indexes.
 long getNumChildren()
          Gets the number of children that this node currently has.
 ObjectKey getParentId()
          Gets the object key of the parent object of this HierarchyNode.
 void setIndex(long index)
          Sets the index of this HierarchyNode.
 void setLeafOnly(java.lang.Boolean leafOnly)
          Sets whether the node is a leaf-only node, in other words a node that cannot have any children.
 void setMaxIndex(long maxIndex)
          Sets the upper range of this node's childrens' indexes.
 void setNumChildren(long numChildren)
          Sets the number of children that this node currently has.

 

Methods inherited from interface oracle.iam.rm.temporal.SnapshotObject
delete, delete, getAllAttributes, getAttributeValue, getDefaultTitle, getMixin, getObjectKey, getObjectType, getRelativeObjects, getRelativeObjects, getStructuralObject, getStructuralObjectType, getVersion, isEditable, makeReadConsistent, setAttributeValue, setAttributeValues, stateEquals, updateVersion

 

Field Detail

NODE_ATTRIBUTE_INDEX

static final java.lang.String NODE_ATTRIBUTE_INDEX
Static variable representing hierarchyIndex attribute.
See Also:
Constant Field Values

NODE_ATTRIBUTE_MAX_INDEX

static final java.lang.String NODE_ATTRIBUTE_MAX_INDEX
Static variable representing hierarchyMaxIndex attribute.
See Also:
Constant Field Values

NODE_ATTRIBUTE_PARENT_ID

static final java.lang.String NODE_ATTRIBUTE_PARENT_ID
Static variable representing hierarchyParent_id reference attribute.
See Also:
Constant Field Values

NODE_ATTRIBUTE_NUM_CHILDREN

static final java.lang.String NODE_ATTRIBUTE_NUM_CHILDREN
Static variable representing hierarchyNumChildren attribute.
See Also:
Constant Field Values

NODE_ATTRIBUTE_END_OF_OCCUPIED_SPACE

static final java.lang.String NODE_ATTRIBUTE_END_OF_OCCUPIED_SPACE
Static variable representing hierarchyEndOfOccupiedSpace attribute.
See Also:
Constant Field Values

NODE_ATTRIBUTE_LEVEL

static final java.lang.String NODE_ATTRIBUTE_LEVEL
Static variable representing hierarchyLevel attribute.
See Also:
Constant Field Values

NODE_IS_LEAF_ONLY

static final java.lang.String NODE_IS_LEAF_ONLY
Static variable representing hierarchyLevel attribute.
See Also:
Constant Field Values

Method Detail

getIndex

long getIndex()
Gets the index of this HierarchyNode.
Returns:
long representing index of this HierarchyNode.

setIndex

void setIndex(long index)
Sets the index of this HierarchyNode.
Parameters:
index - long representing index

getMaxIndex

long getMaxIndex()
Gets the upper range of this node's childrens' indexes.
Returns:
Long representing the upper range of this node's childrens' indexes.

setMaxIndex

void setMaxIndex(long maxIndex)
Sets the upper range of this node's childrens' indexes.
Parameters:
maxIndex - upper range of this node's childrens' indexes

getParentId

ObjectKey getParentId()
Gets the object key of the parent object of this HierarchyNode.
Returns:
The object key of the parent object of this HierarchyNode.

getNumChildren

long getNumChildren()
Gets the number of children that this node currently has.
Returns:
The number of children that this node currently has.

setNumChildren

void setNumChildren(long numChildren)
Sets the number of children that this node currently has.
Parameters:
numChildren - number of children that this node currently has.

getLeafOnly

java.lang.Boolean getLeafOnly()
Indicates whether a node is a leaf-only node, in other words a node that cannot have any children.
Returns:
true if the node is a leaf-only node, otherwise false.

setLeafOnly

void setLeafOnly(java.lang.Boolean leafOnly)
Sets whether the node is a leaf-only node, in other words a node that cannot have any children.
Parameters:
leafOnly - true if the node is a leaf-only node, otherwise false.

Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


Copyright © 2008, 2009 Oracle. All Rights Reserved.