org.ow2.bonita.facade.runtime.impl
Class InstanceStateUpdateImpl

java.lang.Object
  extended by org.ow2.bonita.facade.runtime.impl.InstanceStateUpdateImpl
All Implemented Interfaces:
java.io.Serializable, InstanceStateUpdate

public class InstanceStateUpdateImpl
extends java.lang.Object
implements InstanceStateUpdate

Author:
Guillaume Porcher
See Also:
Serialized Form

Field Summary
protected  InstanceState currentState
           
protected  java.util.Date date
          date at update
protected  long dbid
           
protected  InstanceState initialState
           
protected  java.lang.String updateUserId
          User that performs the update
 
Constructor Summary
protected InstanceStateUpdateImpl()
           
  InstanceStateUpdateImpl(java.util.Date date, java.lang.String updateUserId, InstanceState initialState, InstanceState currentState)
           
  InstanceStateUpdateImpl(InstanceStateUpdate src)
           
 
Method Summary
 InstanceState getInitialInstanceState()
          Returns the initial state.
 InstanceState getInstanceState()
          Returns the state at assignment.
 java.lang.String getUpdatedBy()
          Returns the user Id who made the update.
 java.util.Date getUpdatedDate()
          Returns the date of the update.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dbid

protected long dbid

date

protected java.util.Date date
date at update


updateUserId

protected java.lang.String updateUserId
User that performs the update


initialState

protected InstanceState initialState

currentState

protected InstanceState currentState
Constructor Detail

InstanceStateUpdateImpl

protected InstanceStateUpdateImpl()

InstanceStateUpdateImpl

public InstanceStateUpdateImpl(java.util.Date date,
                               java.lang.String updateUserId,
                               InstanceState initialState,
                               InstanceState currentState)

InstanceStateUpdateImpl

public InstanceStateUpdateImpl(InstanceStateUpdate src)
Method Detail

getInitialInstanceState

public InstanceState getInitialInstanceState()
Description copied from interface: InstanceStateUpdate
Returns the initial state.

Specified by:
getInitialInstanceState in interface InstanceStateUpdate
Returns:
The initial state.

getInstanceState

public InstanceState getInstanceState()
Description copied from interface: InstanceStateUpdate
Returns the state at assignment.

Specified by:
getInstanceState in interface InstanceStateUpdate
Returns:
The state at assignment.

getUpdatedBy

public java.lang.String getUpdatedBy()
Description copied from interface: InstanceStateUpdate
Returns the user Id who made the update.

Specified by:
getUpdatedBy in interface InstanceStateUpdate
Returns:
The assigned user Id.

getUpdatedDate

public java.util.Date getUpdatedDate()
Description copied from interface: InstanceStateUpdate
Returns the date of the update.

Specified by:
getUpdatedDate in interface InstanceStateUpdate
Returns:
The date of the update.


Copyright © 2009 OW2 Consortium. All Rights Reserved.