Constructor and Description |
---|
CaseInstance() |
CaseInstance(Element instance) |
CaseInstance(java.lang.String xml) |
CaseInstance(java.lang.String caseID,
YSpecificationID specID,
java.lang.String caseParams,
YLogDataItemList logData,
long startTime) |
Modifier and Type | Method and Description |
---|---|
void |
addWorkItemInstance(WorkItemInstance item) |
void |
addWorkItemInstance(YWorkItem workitem) |
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 |
getAgeAsDateString() |
java.lang.String |
getCaseID() |
java.lang.String |
getCaseParams() |
YLogDataItemList |
getLogData() |
YSpecificationID |
getSpecID() |
java.lang.String |
getSpecName() |
java.lang.String |
getSpecVersion() |
long |
getStartTime() |
java.lang.String |
getStartTimeAsDateString() |
WorkItemInstance |
getWorkItemInstance(java.lang.String id) |
java.util.Map<java.lang.String,WorkItemInstance> |
getWorkitemMap() |
java.util.Collection<WorkItemInstance> |
getWorkItems() |
java.lang.String |
marshalWorkitems() |
void |
setCaseID(java.lang.String s) |
void |
setCaseParams(java.lang.String params) |
void |
setLogData(YLogDataItemList data) |
void |
setSpecID(YSpecificationID id) |
void |
setStartTime(long time) |
void |
setWorkitemMap(java.util.Map<java.lang.String,WorkItemInstance> items) |
java.lang.String |
toXML() |
public CaseInstance()
public CaseInstance(java.lang.String caseID, YSpecificationID specID, java.lang.String caseParams, YLogDataItemList logData, long startTime)
public CaseInstance(java.lang.String xml)
public CaseInstance(Element instance)
public java.lang.String getCaseID()
public void setCaseID(java.lang.String s)
public YSpecificationID getSpecID()
public void setSpecID(YSpecificationID id)
public java.lang.String getSpecName()
public java.lang.String getSpecVersion()
public java.lang.String getCaseParams()
public void setCaseParams(java.lang.String params)
public YLogDataItemList getLogData()
public void setLogData(YLogDataItemList data)
public long getStartTime()
public java.lang.String getStartTimeAsDateString()
public java.lang.String getAgeAsDateString()
public java.lang.String formatAge(long age)
age
- the time value (in milliseconds)public void setStartTime(long time)
public java.util.Map<java.lang.String,WorkItemInstance> getWorkitemMap()
public void setWorkitemMap(java.util.Map<java.lang.String,WorkItemInstance> items)
public java.util.Collection<WorkItemInstance> getWorkItems()
public void addWorkItemInstance(WorkItemInstance item)
public void addWorkItemInstance(YWorkItem workitem)
public WorkItemInstance getWorkItemInstance(java.lang.String id)
public java.lang.String marshalWorkitems()
Copyright © 2004-2014 The YAWL Foundation.