|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.speedo.mim.lib.BasicSpeedoAccessor
This class is the basic implementation of the SpeedoAccessor interface. It is used at the top of the XXXFields class inheritance.
Field Summary | |
boolean |
hasBeenFlush
|
byte |
jdoStatus
|
SpeedoProxy |
proxy
|
Constructor Summary | |
BasicSpeedoAccessor()
|
|
BasicSpeedoAccessor(SpeedoProxy proxy)
|
Method Summary | |
CacheEntry |
getCacheEntry()
|
java.lang.Object |
getMemoryInstance()
|
void |
jdoChangeStatus(byte action)
Changes the status of this object |
SpeedoProxy |
jdoGetSpeedoProxy()
|
byte |
jdoGetStatus()
Gets the current status of this object |
boolean |
jdoHasBeenFlush()
indicates if the object has been flushed on the support in a writing before the end of the working set (commit | rollback | close). |
void |
jdoSetFlushed(boolean val)
Assignates a boolean value to indicate if the object has been flushed on the support in a writing before the end of the working set (commit | rollback | close). |
void |
jdoSetSpeedoProxy(SpeedoProxy sp)
It assignes the SpeedoProxy attached to this state representation. |
void |
jdoSetStatus(byte newValue)
Forces the new value of the status |
void |
prepareWrite()
Prepare to write (relations consistency management) |
void |
workingSetClosed()
The context has been closed (ex: transaction end). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public byte jdoStatus
public SpeedoProxy proxy
public boolean hasBeenFlush
Constructor Detail |
public BasicSpeedoAccessor()
public BasicSpeedoAccessor(SpeedoProxy proxy)
Method Detail |
public CacheEntry getCacheEntry()
public java.lang.Object getMemoryInstance()
public void jdoChangeStatus(byte action)
jdoChangeStatus
in interface SpeedoAccessor
action
- the action that may change the statusLifeCycle
public byte jdoGetStatus()
jdoGetStatus
in interface SpeedoAccessor
LifeCycle
public void jdoSetStatus(byte newValue)
jdoSetStatus
in interface SpeedoAccessor
newValue
- the new status of this objectLifeCycle
public SpeedoProxy jdoGetSpeedoProxy()
jdoGetSpeedoProxy
in interface SpeedoAccessor
public void jdoSetSpeedoProxy(SpeedoProxy sp)
jdoSetSpeedoProxy
in interface SpeedoAccessor
public void prepareWrite()
SpeedoAccessor
prepareWrite
in interface SpeedoAccessor
public void workingSetClosed()
SpeedoAccessor
workingSetClosed
in interface SpeedoAccessor
public boolean jdoHasBeenFlush()
SpeedoAccessor
jdoHasBeenFlush
in interface SpeedoAccessor
public void jdoSetFlushed(boolean val)
SpeedoAccessor
jdoSetFlushed
in interface SpeedoAccessor
val
- is the boolean which must be assigned.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |