Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E12031-02


oracle.iam.rm.temporal.model
Interface HierarchyType


public interface HierarchyType

Describes a hierarchy type.


Method Summary
 java.lang.String getHierarchyMixinType()
          Gets the type name of the mix-in, the hierarchy indexing descriptor, for this hierarchy.
 HierarchyNodeType[] getHierarchyNodeTypes()
          Gets the (non-mixin) node types that can appear in this hierarchy.
 java.lang.String getKey()
          Gets the identifier (name) for this hierarchy type.
 java.lang.String getRelationshipPathId(java.lang.String sourceType, java.lang.String foreignType)
          Looks in this hierarchy's allowed node types for the relationship path ID for the source and target types.
 oracle.iam.rm.i18n.Formattable getTitle()
          Gets the localized title of this hierarchy, for display purposes.
 boolean hasRelationshipPath(java.lang.String sourceType, java.lang.String pathId)
          Looks in this hierarchy's allowed node types to see if any has the given relationship path.
 boolean isSingleAnchor()
          Indicates whether this hierarchy is a single-anchor type, that is, has at most one child mix-in of the root.

 

Method Detail

getKey

java.lang.String getKey()
Gets the identifier (name) for this hierarchy type.
Returns:
Type name.

getHierarchyMixinType

java.lang.String getHierarchyMixinType()
Gets the type name of the mix-in, the hierarchy indexing descriptor, for this hierarchy.
Returns:
Mix-in type name.

getTitle

oracle.iam.rm.i18n.Formattable getTitle()
Gets the localized title of this hierarchy, for display purposes.
Returns:
Localized title.

isSingleAnchor

boolean isSingleAnchor()
Indicates whether this hierarchy is a single-anchor type, that is, has at most one child mix-in of the root.
Returns:
Boolean true if this is a single-anchor hierarchy, otherwise false.

getHierarchyNodeTypes

HierarchyNodeType[] getHierarchyNodeTypes()
Gets the (non-mixin) node types that can appear in this hierarchy.
Returns:
Array of hierarchy node types.

hasRelationshipPath

boolean hasRelationshipPath(java.lang.String sourceType,
                            java.lang.String pathId)
Looks in this hierarchy's allowed node types to see if any has the given relationship path.
Parameters:
sourceType - referring object type
pathId - relationship path to check
Returns:
Boolean true if any of the allowed note types have the provided relationship path, otherwise false.

getRelationshipPathId

java.lang.String getRelationshipPathId(java.lang.String sourceType,
                                       java.lang.String foreignType)
Looks in this hierarchy's allowed node types for the relationship path ID for the source and target types.
Parameters:
sourceType - referring object type
foreignType - Object type related to
Returns:
Relationship path name.

Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E12031-02


Copyright © 2007, 2008 Oracle. All Rights Reserved.