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

java.lang.Object
  extended by org.ow2.bonita.facade.runtime.impl.UpdateImpl
All Implemented Interfaces:
java.io.Serializable, Update
Direct Known Subclasses:
AssignUpdateImpl, StateUpdateImpl

public abstract class UpdateImpl
extends java.lang.Object
implements Update

See Also:
Serialized Form

Field Summary
protected  java.util.Date date
           
protected  long dbid
           
protected static java.util.logging.Logger LOG
           
protected  ActivityState state
          date at update
protected  java.lang.String updateUserId
          User that performs the update
 
Constructor Summary
protected UpdateImpl()
           
  UpdateImpl(java.util.Date date, ActivityState state, java.lang.String updateUserId)
           
  UpdateImpl(Update src)
           
 
Method Summary
 ActivityState getActivityState()
          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.
static void logClockInconsistency()
           
 
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

state

protected ActivityState state
date at update


updateUserId

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


LOG

protected static java.util.logging.Logger LOG
Constructor Detail

UpdateImpl

protected UpdateImpl()

UpdateImpl

public UpdateImpl(java.util.Date date,
                  ActivityState state,
                  java.lang.String updateUserId)

UpdateImpl

public UpdateImpl(Update src)
Method Detail

getUpdatedDate

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

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

getActivityState

public ActivityState getActivityState()
Description copied from interface: Update
Returns the state at assignment.

Specified by:
getActivityState in interface Update
Returns:
The state at assignment.

getUpdatedBy

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

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

logClockInconsistency

public static void logClockInconsistency()


Copyright © 2009 OW2 Consortium. All Rights Reserved.