fri.util.database.jpa.tree.examples.closuretable
Class CompositePersonTreePathId
java.lang.Object
fri.util.database.jpa.tree.examples.closuretable.CompositePersonTreePathId
- All Implemented Interfaces:
- java.io.Serializable
public class CompositePersonTreePathId
- extends java.lang.Object
- implements java.io.Serializable
Primary key class for TreePath, reusable for all nodes types that have a String id.
- Author:
- Fritz Ritzberger, 2012-10-14
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
CompositePersonTreePathId
public CompositePersonTreePathId()
getAncestor
public java.lang.String getAncestor()
setAncestor
public void setAncestor(java.lang.String ancestorId)
getDescendant
public java.lang.String getDescendant()
setDescendant
public void setDescendant(java.lang.String descendantId)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object