fri.util.database.jpa.tree.closuretable.pojos
Class AbstractTreePathImpl.CompositeId
java.lang.Object
fri.util.database.jpa.tree.closuretable.pojos.AbstractTreePathImpl.CompositeId
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- AbstractTreePathImpl
public static class AbstractTreePathImpl.CompositeId
- extends java.lang.Object
- implements java.io.Serializable
Primary key mapping class, holding the node id of both ancestor and descendant,
which in combination will be unique and thus suitable as primary key for any TreePathImpl.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
AbstractTreePathImpl.CompositeId
public AbstractTreePathImpl.CompositeId()
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