fri.util.database.jpa.tree.examples.closuretable.temporal.deletedflag
Class PersonDeletedFlagTreePath
java.lang.Object
fri.util.database.jpa.tree.examples.closuretable.PersonAbstractTreePath
fri.util.database.jpa.tree.examples.closuretable.temporal.deletedflag.PersonDeletedFlagTreePath
- All Implemented Interfaces:
- TemporalTreePath, TreePath, Temporal
@Entity
public class PersonDeletedFlagTreePath
- extends PersonAbstractTreePath
- implements TemporalTreePath
Example for temporal TreePath implementation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersonDeletedFlagTreePath
public PersonDeletedFlagTreePath()
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
isDeleted
public boolean isDeleted()
setDeleted
public void setDeleted(boolean deleted)