org.apache.lenya.workflow.impl
Class Version

java.lang.Object
  extended by org.apache.lenya.workflow.impl.Version
Direct Known Subclasses:
CMSVersion

public class Version
extends java.lang.Object

A version of the workflow history.


Constructor Summary
Version(Event event, State state)
          Ctor.
 
Method Summary
 Event getEvent()
          Returns the event.
 State getState()
          Returns the state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Version

public Version(Event event,
               State state)
Ctor.

Parameters:
event - The event that caused the version change.
state - The destination state.
Method Detail

getEvent

public Event getEvent()
Returns the event.

Returns:
An event.

getState

public State getState()
Returns the state.

Returns:
A state.


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.