org.jbpm.task.event.entity
Class TaskEvent
java.lang.Object
org.jbpm.task.event.entity.TaskEvent
- All Implemented Interfaces:
- Externalizable, Serializable
- Direct Known Subclasses:
- TaskUserEvent
@Entity
public abstract class TaskEvent
- extends Object
- implements Externalizable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
taskId
protected Long taskId
eventTime
protected Date eventTime
userId
protected String userId
sessionId
protected int sessionId
TaskEvent
public TaskEvent()
TaskEvent
public TaskEvent(long taskId,
int sessionId)
TaskEvent
public TaskEvent(long taskId,
String userId,
int sessionId)
writeExternal
public final void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
readExternal
public final void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
getTaskId
public long getTaskId()
getId
public Long getId()
getEventTime
public Date getEventTime()
getType
public String getType()
getTaskEventType
public TaskEventType getTaskEventType()
getSessionId
public int getSessionId()
setSessionId
public void setSessionId(int sessionId)
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.