org.objectweb.speedo.api
Interface SpeedoAccessor

All Known Subinterfaces:
SpeedoGenClassProxy, SpeedoProxy
All Known Implementing Classes:
BasicSpeedoAccessor

public interface SpeedoAccessor

This interface a state of an user instance.

Author:
Y. Devaux

Method Summary
 void jdoChangeStatus(byte action)
          Changes the status of this object
 SpeedoProxy jdoGetSpeedoProxy()
           
 byte jdoGetStatus()
          Gets the current status of this object
 Transaction jdoGetTransaction()
           
 void jdoSetSpeedoProxy(SpeedoProxy sp)
          Assignes the SpeedoProxy attached to this state representation.
 void jdoSetStatus(byte newValue)
          Forces the new value of the status
 void jdoSetTransaction(Transaction tx)
          Assignes the context with which the accessor is bound.
 

Method Detail

jdoChangeStatus

public void jdoChangeStatus(byte action)
Changes the status of this object
Parameters:
action - the action that may change the status
See Also:
LifeCycle

jdoGetStatus

public byte jdoGetStatus()
Gets the current status of this object
Returns:
the current state in the life cycle
See Also:
LifeCycle

jdoSetStatus

public void jdoSetStatus(byte newValue)
Forces the new value of the status
Parameters:
newValue - the new status of this object
See Also:
LifeCycle

jdoGetSpeedoProxy

public SpeedoProxy jdoGetSpeedoProxy()
Returns:
The SpeedoProxy attached to this state representation.

jdoSetSpeedoProxy

public void jdoSetSpeedoProxy(SpeedoProxy sp)
Assignes the SpeedoProxy attached to this state representation.

jdoGetTransaction

public Transaction jdoGetTransaction()
Returns:
The context associated to the accessor.

jdoSetTransaction

public void jdoSetTransaction(Transaction tx)
Assignes the context with which the accessor is bound.
Parameters:
tx - is the context