public interface AspectValueComparator<T extends AspectValue>
Aspect values can have strictly heirarchical orderings. This interface defines the functionality of comparators that define such strict orderings.
java.util.List<T> hasChildren(T parent) throws XBRLException
parent
- The aspect value.XBRLException
java.util.List<T> getChildren(T parent) throws XBRLException
parent
- The parent aspect value.XBRLException
boolean hasParent(T child) throws XBRLException
child
- The child aspect value.XBRLException
T getParent(T child) throws XBRLException
child
- The child aspect value.XBRLException
int getDepth(T aspectValue) throws XBRLException
aspectValue
- The aspect value whose ancestor aspect values are to be
counted.XBRLException