|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfri.util.database.jpa.commons.AbstractEntity
fri.util.database.jpa.tree.nestedsets.pojos.AbstractNestedSetsTreePojo
@MappedSuperclass public abstract class AbstractNestedSetsTreePojo
Abstraction of an NestedSetsTree POJO that holds left and right numbers.
The topLevel property would also belong to here, but unfortunately this seems impossible with JPA ManyToOne annotation as this needs a concrete class. (Overriding and annotating the setter in subclass did not help.)
Constructor Summary | |
---|---|
protected |
AbstractNestedSetsTreePojo()
|
Method Summary | |
---|---|
int |
getLeft()
|
int |
getRight()
|
void |
setLeft(int left)
|
void |
setRight(int right)
|
Methods inherited from class fri.util.database.jpa.commons.AbstractEntity |
---|
equals, getId, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractNestedSetsTreePojo()
Method Detail |
---|
public int getLeft()
public void setLeft(int left)
public int getRight()
public void setRight(int right)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |