public static class DataConfig.RelationshipList extends java.util.LinkedList<DataConfig.Relationship>
Constructor and Description |
---|
DataConfig.RelationshipList() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Integer> |
getChildIds(int parentId)
Gets an ordered list of child IDs for a specified parent.
|
java.util.List<java.lang.Integer> |
getParentIds(int childId)
Gets a list of IDs for parents having a specified child.
|
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, toArray, toArray
equals, hashCode, listIterator, removeRange, subList
containsAll, isEmpty, removeAll, retainAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
public java.util.List<java.lang.Integer> getChildIds(int parentId)
parentId
- A parent entity ID.public java.util.List<java.lang.Integer> getParentIds(int childId)
childId
- A child entity ID.