fri.util.database.jpa.tree.closuretable.pojos
Class TemporalTreePathImpl
java.lang.Object
fri.util.database.jpa.tree.closuretable.pojos.AbstractTreePathImpl
fri.util.database.jpa.tree.closuretable.pojos.TemporalTreePathImpl
- All Implemented Interfaces:
- TemporalTreePath, TreePath, Temporal
@Entity
public class TemporalTreePathImpl
- extends AbstractTreePathImpl
- implements TemporalTreePath
Temporal test object.
- Author:
- Fritz Ritzberger, 02.11.2012
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TemporalTreePathImpl
public TemporalTreePathImpl()
getAncestor
public ClosureTableTreeNode getAncestor()
- Description copied from interface:
TreePath
- One of the ancestor tree nodes of the descendant, or the descendant itself.
The private Java property name for this MUST BE "ancestor" in any implementation,
as that name is used in DAO queries.
- Specified by:
getAncestor
in interface TreePath
setAncestor
public void setAncestor(ClosureTableTreeNode ancestor)
- Specified by:
setAncestor
in interface TreePath
getDescendant
public ClosureTableTreeNode getDescendant()
- Description copied from interface:
TreePath
- The (descendant) tree node (of the ancestor).
The private Java property name for this MUST BE "descendant" in any implementation,
as that name is used in DAO queries.
- Specified by:
getDescendant
in interface TreePath
setDescendant
public void setDescendant(ClosureTableTreeNode descendant)
- Specified by:
setDescendant
in interface TreePath
getValidTo
public java.util.Date getValidTo()
- Specified by:
getValidTo
in interface Temporal
- Returns:
- the temporal valid-to date of this node.
setValidTo
public void setValidTo(java.util.Date validTo)
- Description copied from interface:
Temporal
- Sets the temporal valid-to date of this node.
- Specified by:
setValidTo
in interface Temporal
getValidFrom
public java.util.Date getValidFrom()
- Specified by:
getValidFrom
in interface Temporal
- Returns:
- the temporal valid-from date of this node.
setValidFrom
public void setValidFrom(java.util.Date validFrom)
- Description copied from interface:
Temporal
- Sets the temporal valid-from date of this node.
- Specified by:
setValidFrom
in interface Temporal
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractTreePathImpl