|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfri.util.database.jpa.tree.util.TreeActionLocation<N>
public class TreeActionLocation<N extends TreeNode>
Parameter object that describes the location where a tree action happens, used by TreeDao and UniqueConstraint implementations. The inserted/updated/copied/moved node is not part of this, it is passed separately to the unique constraint implementation.
Nested Class Summary | |
---|---|
static class |
TreeActionLocation.ActionType
Describes what tree action is happening. |
static class |
TreeActionLocation.RelatedNodeType
Describes what type the related node is. |
Field Summary | |
---|---|
TreeActionLocation.ActionType |
actionType
The type of the action about to take place. |
N |
relatedNode
The related node where the action is about to take place, either parent or sibling. |
TreeActionLocation.RelatedNodeType |
relatedNodeType
The relation type of the related node. |
N |
root
The root of the tree where this modification is about to take place. |
Constructor Summary | |
---|---|
TreeActionLocation(N root,
TreeActionLocation.RelatedNodeType relatedNodeType,
N relatedNode,
TreeActionLocation.ActionType actionType)
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final N extends TreeNode root
public final TreeActionLocation.RelatedNodeType relatedNodeType
public final N extends TreeNode relatedNode
public final TreeActionLocation.ActionType actionType
Constructor Detail |
---|
public TreeActionLocation(N root, TreeActionLocation.RelatedNodeType relatedNodeType, N relatedNode, TreeActionLocation.ActionType actionType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |