org.ow2.bonita.pvm.processlog
Interface ProcessLog

All Known Implementing Classes:
ProcessLogImpl

public interface ProcessLog

Author:
Tom Baeyens

Method Summary
 long getDbid()
           
 Execution getExecution()
           
 Execution getProcessInstance()
           
 java.util.List<ProcessLogProperty> getProperties()
          xml representation of the process log properties used for XML serialization.
 java.util.Date getTime()
           
 java.lang.String getType()
          text id of the type of this process log used for XML serialization.
 void setExecution(Execution execution)
           
 void setTime(java.util.Date currentTime)
           
 java.lang.String toString()
          provides a text description for this update which can be used e.g.
 

Method Detail

getDbid

long getDbid()

getExecution

Execution getExecution()

getProcessInstance

Execution getProcessInstance()

getType

java.lang.String getType()
text id of the type of this process log used for XML serialization.


getProperties

java.util.List<ProcessLogProperty> getProperties()
xml representation of the process log properties used for XML serialization. Properties time, execution and processInstance should not be included. This method is made abstract to remind and encourage implementors to provide XML serialization capabilities to the fixed process log XML schema. But it is allowed to return null if XML serialisation if you're sure that XML serialization will never be necessary.


toString

java.lang.String toString()
provides a text description for this update which can be used e.g. in the admin web console. This texts hould not contain time, execution nor processInstance. The default implementation will include the type and then append all the top level properties.

Overrides:
toString in class java.lang.Object

getTime

java.util.Date getTime()

setExecution

void setExecution(Execution execution)

setTime

void setTime(java.util.Date currentTime)


Copyright © 2009 OW2 Consortium. All Rights Reserved.