org.mymedialite.data
Interface IHierarchicalEntityMapping

All Superinterfaces:
IEntityMapping
All Known Implementing Classes:
HierarchicalEntityMapping

public interface IHierarchicalEntityMapping
extends IEntityMapping


Method Summary
 java.lang.Integer getParentID(int internal_id)
          Get the internal ID of the parent node of a hierarchical attribute.
 
Methods inherited from interface org.mymedialite.data.IEntityMapping
internalIDs, originalIDs, toInternalID, toInternalID, toOriginalID, toOriginalID
 

Method Detail

getParentID

java.lang.Integer getParentID(int internal_id)
Get the internal ID of the parent node of a hierarchical attribute.

Parameters:
internal_id - the internal ID of the hierarchical attribute.
Returns:
the internal ID of the parent, or null if the parent is the root