com.is.jrf
Class ModifiedPersistentState

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

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

This state represents an object that is out-of-synch with the database.

See Also:
Serialized Form

Fields inherited from interface com.is.jrf.PersistentState
CURRENT, DEAD, MODIFIED, NEW
 
Constructor Summary
ModifiedPersistentState()
           
 
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

ModifiedPersistentState

public ModifiedPersistentState()
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