org.apache.lenya.workflow
Interface Version

All Known Implementing Classes:
LenyaVersion

public interface Version

A version of the workflow history.

Version:
$Id: Version.java 473861 2006-11-12 03:51:14Z gregor $

Method Summary
 java.util.Date getDate()
          Returns the date.
 java.lang.String getEvent()
          Returns the event.
 java.lang.String getIPAddress()
          Returns the ip address.
 java.lang.String getState()
          Returns the state.
 java.lang.String getUserId()
          Returns the user ID.
 boolean getValue(java.lang.String variableName)
          Returns the value of a variable.
 void setDate(java.util.Date _date)
          Sets the date.
 void setIPAddress(java.lang.String _ipaddress)
          Sets the ip address.
 void setUserId(java.lang.String _userId)
          Sets the user ID.
 void setValue(java.lang.String variableName, boolean value)
          Sets a variable value.
 

Method Detail

getEvent

java.lang.String getEvent()
Returns the event.

Returns:
An event.

getState

java.lang.String getState()
Returns the state.

Returns:
A state.

getDate

java.util.Date getDate()
Returns the date.

Returns:
A string.

setDate

void setDate(java.util.Date _date)
Sets the date.

Parameters:
_date - A date.

getUserId

java.lang.String getUserId()
Returns the user ID.

Returns:
A string.

setUserId

void setUserId(java.lang.String _userId)
Sets the user ID.

Parameters:
_userId - A user ID.

getIPAddress

java.lang.String getIPAddress()
Returns the ip address.

Returns:
A string.

setIPAddress

void setIPAddress(java.lang.String _ipaddress)
Sets the ip address.

Parameters:
_ipaddress - A ip address.

getValue

boolean getValue(java.lang.String variableName)
Returns the value of a variable.

Parameters:
variableName - The variable name.
Returns:
A boolean value.

setValue

void setValue(java.lang.String variableName,
              boolean value)
Sets a variable value.

Parameters:
variableName - The variable name.
value - The value.


Copyright 1999-2006 Apache Software Foundation. All Rights Reserved.