com.is.jrf
Class DeadPersistentState

java.lang.Object
  |
  +--com.is.jrf.DeadPersistentState
All Implemented Interfaces:
PersistentState, java.io.Serializable

public class DeadPersistentState
extends java.lang.Object
implements PersistentState, java.io.Serializable

This is the state for brand new PersistentObject objects that are not in the database yet.

See Also:
Serialized Form

Fields inherited from interface com.is.jrf.PersistentState
CURRENT, DEAD, MODIFIED, NEW
 
Constructor Summary
DeadPersistentState()
           
 
Method Summary
 boolean equals(java.lang.Object anObject)
           
 boolean isCurrentPersistentState()
           
 boolean isDeadPersistentState()
           
 boolean isModifiedPersistentState()
           
 boolean isNewPersistentState()
           
 void markCurrentPersistentState(PersistentObject aPO)
           
 void markDeadPersistentState(PersistentObject aPO)
           
 void markModifiedPersistentState(PersistentObject aPO)
           
 void markNewPersistentState(PersistentObject aPO)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeadPersistentState

public DeadPersistentState()
Method Detail

markModifiedPersistentState

public void markModifiedPersistentState(PersistentObject aPO)
Specified by:
markModifiedPersistentState in interface PersistentState

markNewPersistentState

public void markNewPersistentState(PersistentObject aPO)
Specified by:
markNewPersistentState in interface PersistentState

markCurrentPersistentState

public void markCurrentPersistentState(PersistentObject aPO)
Specified by:
markCurrentPersistentState in interface PersistentState

markDeadPersistentState

public void markDeadPersistentState(PersistentObject aPO)
Specified by:
markDeadPersistentState in interface PersistentState

isModifiedPersistentState

public boolean isModifiedPersistentState()
Specified by:
isModifiedPersistentState in interface PersistentState

isNewPersistentState

public boolean isNewPersistentState()
Specified by:
isNewPersistentState in interface PersistentState

isCurrentPersistentState

public boolean isCurrentPersistentState()
Specified by:
isCurrentPersistentState in interface PersistentState

isDeadPersistentState

public boolean isDeadPersistentState()
Specified by:
isDeadPersistentState in interface PersistentState

equals

public boolean equals(java.lang.Object anObject)
Overrides:
equals in class java.lang.Object