Drools :: Persistence :: JPA 6.2.0.CR2

org.drools.persistence.info
Class WorkItemInfo

java.lang.Object
  extended by org.drools.persistence.info.WorkItemInfo
All Implemented Interfaces:
Transformable

@Entity
public class WorkItemInfo
extends Object
implements Transformable


Constructor Summary
protected WorkItemInfo()
           
  WorkItemInfo(org.drools.core.process.instance.WorkItem workItem, org.kie.api.runtime.Environment env)
           
 
Method Summary
 Date getCreationDate()
           
 Long getId()
           
 String getName()
           
 long getProcessInstanceId()
           
 long getState()
           
 int getVersion()
           
 org.drools.core.process.instance.WorkItem getWorkItem(org.kie.api.runtime.Environment env, org.drools.core.impl.InternalKnowledgeBase kBase)
           
 byte[] getWorkItemByteArray()
           
 void setId(Long id)
           
 void transform()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkItemInfo

protected WorkItemInfo()

WorkItemInfo

public WorkItemInfo(org.drools.core.process.instance.WorkItem workItem,
                    org.kie.api.runtime.Environment env)
Method Detail

getId

public Long getId()

getVersion

public int getVersion()

getName

public String getName()

getCreationDate

public Date getCreationDate()

getProcessInstanceId

public long getProcessInstanceId()

getState

public long getState()

getWorkItemByteArray

public byte[] getWorkItemByteArray()

getWorkItem

public org.drools.core.process.instance.WorkItem getWorkItem(org.kie.api.runtime.Environment env,
                                                             org.drools.core.impl.InternalKnowledgeBase kBase)

transform

public void transform()
Specified by:
transform in interface Transformable

setId

public void setId(Long id)

Drools :: Persistence :: JPA 6.2.0.CR2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.