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

java.lang.Object
  extended by org.ow2.bonita.facade.runtime.impl.VariableUpdateImpl
All Implemented Interfaces:
java.io.Serializable, VariableUpdate
Direct Known Subclasses:
VariableUpdateFullImpl

public class VariableUpdateImpl
extends java.lang.Object
implements VariableUpdate

Author:
Guillaume Porcher
See Also:
Serialized Form

Field Summary
protected  java.util.Date date
           
protected  java.lang.String name
           
protected  java.lang.String userId
           
protected  java.lang.Object value
           
 
Constructor Summary
protected VariableUpdateImpl()
           
  VariableUpdateImpl(java.util.Date date, java.lang.String userId, java.lang.String variableId)
           
  VariableUpdateImpl(VariableUpdate src)
           
 
Method Summary
 java.util.Date getDate()
          Returns the date of the variable updating.
 java.lang.String getName()
          Returns the variable name (as defined into the XPDL file).
 java.lang.String getUserId()
          Returns the assigned user.
 java.lang.Object getValue()
          Returns the variable value.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

date

protected java.util.Date date

userId

protected java.lang.String userId

name

protected java.lang.String name

value

protected java.lang.Object value
Constructor Detail

VariableUpdateImpl

protected VariableUpdateImpl()

VariableUpdateImpl

public VariableUpdateImpl(java.util.Date date,
                          java.lang.String userId,
                          java.lang.String variableId)

VariableUpdateImpl

public VariableUpdateImpl(VariableUpdate src)
Method Detail

getDate

public java.util.Date getDate()
Description copied from interface: VariableUpdate
Returns the date of the variable updating.

Specified by:
getDate in interface VariableUpdate
Returns:
The date of the variable updating.

getName

public java.lang.String getName()
Description copied from interface: VariableUpdate
Returns the variable name (as defined into the XPDL file).

Specified by:
getName in interface VariableUpdate
Returns:
The variable name.

getUserId

public java.lang.String getUserId()
Description copied from interface: VariableUpdate
Returns the assigned user.

Specified by:
getUserId in interface VariableUpdate
Returns:
The assigned user.

getValue

public java.lang.Object getValue()
Description copied from interface: VariableUpdate
Returns the variable value.

Specified by:
getValue in interface VariableUpdate
Returns:
The variable value (can be: an Enumeration, a plain String, a Boolean, a Date, a Long or a Double).

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009 OW2 Consortium. All Rights Reserved.