com.is.jrf
Interface PersistentState

All Known Implementing Classes:
CurrentPersistentState, NewPersistentState, DeadPersistentState, ModifiedPersistentState

public interface PersistentState

This is an interface for the state of a PersistentObject object. I'm sorry for the long names for some of these methods. They have to be different enough that they won't conflict with other method names.


Field Summary
static PersistentState CURRENT
           
static PersistentState DEAD
           
static PersistentState MODIFIED
           
static PersistentState NEW
           
 
Method Summary
 boolean isCurrentPersistentState()
           
 boolean isDeadPersistentState()
           
 boolean isModifiedPersistentState()
           
 boolean isNewPersistentState()
           
 void markCurrentPersistentState(PersistentObject aPO)
           
 void markDeadPersistentState(PersistentObject aPO)
           
 void markModifiedPersistentState(PersistentObject aPO)
           
 void markNewPersistentState(PersistentObject aPO)
           
 

Field Detail

MODIFIED

public static final PersistentState MODIFIED

NEW

public static final PersistentState NEW

CURRENT

public static final PersistentState CURRENT

DEAD

public static final PersistentState DEAD
Method Detail

markModifiedPersistentState

public void markModifiedPersistentState(PersistentObject aPO)

markNewPersistentState

public void markNewPersistentState(PersistentObject aPO)

markCurrentPersistentState

public void markCurrentPersistentState(PersistentObject aPO)

markDeadPersistentState

public void markDeadPersistentState(PersistentObject aPO)

isModifiedPersistentState

public boolean isModifiedPersistentState()

isNewPersistentState

public boolean isNewPersistentState()

isCurrentPersistentState

public boolean isCurrentPersistentState()

isDeadPersistentState

public boolean isDeadPersistentState()