Constructor and Description |
---|
WorkItemInstance() |
WorkItemInstance(Element instance) |
WorkItemInstance(java.lang.String xml) |
WorkItemInstance(YWorkItem item) |
Modifier and Type | Method and Description |
---|---|
void |
addParameterInstance(ParameterInstance param) |
void |
addParameterInstance(YParameter parameter,
YTask task,
ParameterInstance.Usage usage,
Element data) |
void |
addParameters(YTask task,
Element data) |
void |
close(Document completionData) |
java.lang.String |
formatAge(long age)
formats a long time value into a string of the form 'ddd:hh:mm:ss'
|
void |
fromXML(Element instance) |
void |
fromXML(java.lang.String xml) |
java.lang.String |
getCaseID() |
long |
getCompletionTime() |
java.lang.String |
getCompletionTimeAsDateString() |
long |
getEnabledTime() |
java.lang.String |
getEnabledTimeAsDateString() |
java.lang.String |
getID() |
ParameterInstance |
getParameterInstance(java.lang.String name) |
java.util.Map<java.lang.String,ParameterInstance> |
getParameterMap() |
java.util.Collection<ParameterInstance> |
getParameters() |
java.lang.String |
getPlainStatus() |
java.lang.String |
getResourceName() |
long |
getStartTime() |
java.lang.String |
getStartTimeAsDateString() |
java.lang.String |
getStatus() |
java.lang.String |
getTaskID() |
java.lang.String |
getTaskName() |
long |
getTimerExpiry() |
java.lang.String |
getTimerExpiryAsCountdown() |
java.lang.String |
getTimerStatus() |
java.lang.String |
marshalParameters() |
void |
setCompletionTime(long time) |
void |
setEnabledTime(long time) |
void |
setID(java.lang.String s) |
void |
setParameterMap(java.util.Map<java.lang.String,ParameterInstance> params) |
void |
setResourceName(java.lang.String s) |
void |
setStartTime(long time) |
void |
setStatus(java.lang.String s) |
void |
setTaskID(java.lang.String s) |
void |
setTaskName(java.lang.String name) |
void |
setTimerExpired() |
void |
setTimerExpiry(long expiry) |
void |
setTimerStatus(java.lang.String s) |
java.lang.String |
toXML() |
void |
updateParameterValues(Element data) |
public WorkItemInstance()
public WorkItemInstance(YWorkItem item)
public WorkItemInstance(java.lang.String xml)
public WorkItemInstance(Element instance)
public void close(Document completionData)
public java.lang.String getTaskID()
public void setTaskID(java.lang.String s)
public java.lang.String getTaskName()
public void setTaskName(java.lang.String name)
public java.lang.String getID()
public void setID(java.lang.String s)
public java.lang.String getCaseID()
public java.lang.String getStatus()
public java.lang.String getPlainStatus()
public void setStatus(java.lang.String s)
public java.lang.String getResourceName()
public void setResourceName(java.lang.String s)
public java.lang.String getTimerStatus()
public void setTimerExpired()
public void setTimerStatus(java.lang.String s)
public long getEnabledTime()
public java.lang.String getEnabledTimeAsDateString()
public void setEnabledTime(long time)
public long getStartTime()
public java.lang.String getStartTimeAsDateString()
public void setStartTime(long time)
public long getCompletionTime()
public java.lang.String getCompletionTimeAsDateString()
public void setCompletionTime(long time)
public long getTimerExpiry()
public void setTimerExpiry(long expiry)
public java.lang.String getTimerExpiryAsCountdown()
public java.lang.String formatAge(long age)
age
- the time value (in milliseconds)public java.util.Map<java.lang.String,ParameterInstance> getParameterMap()
public void setParameterMap(java.util.Map<java.lang.String,ParameterInstance> params)
public java.util.Collection<ParameterInstance> getParameters()
public void addParameterInstance(ParameterInstance param)
public void addParameterInstance(YParameter parameter, YTask task, ParameterInstance.Usage usage, Element data)
public void updateParameterValues(Element data)
public ParameterInstance getParameterInstance(java.lang.String name)
public java.lang.String marshalParameters()
Copyright © 2004-2014 The YAWL Foundation.