public class Workitem extends java.lang.Object implements StabilityConstants
| Modifier and Type | Field and Description |
|---|---|
DataStore |
item |
int |
row |
ADVANCEDPULLSAMPLE_ASSIGNDEPARTMENT, ADVANCEDPULLSAMPLE_ASSIGNTO, ADVANCEDPULLSAMPLE_COLUMNVALUES, ADVANCEDPULLSAMPLE_COPIES, ADVANCEDPULLSAMPLE_CREATE, ADVANCEDPULLSAMPLE_CREATEDDISTINCTLABORATORYSAMPLES, ADVANCEDPULLSAMPLE_CREATEMULTIPLEREUSETESTINGSAMPLE, ADVANCEDPULLSAMPLE_CREATESDI, ADVANCEDPULLSAMPLE_CREATEUNIQUESAMPLEPERCONTAINER, ADVANCEDPULLSAMPLE_DEFERSAMPLECREATION, ADVANCEDPULLSAMPLE_DEVIATION, ADVANCEDPULLSAMPLE_DEVIATIONFLAG, ADVANCEDPULLSAMPLE_EARLYGRACEPERIOD, ADVANCEDPULLSAMPLE_GRACEPERIOD, ADVANCEDPULLSAMPLE_GRACEPERIODDETAILS, ADVANCEDPULLSAMPLE_GRACEPERIODUNIT, ADVANCEDPULLSAMPLE_GRCPERIOD, ADVANCEDPULLSAMPLE_INCIDENTTEMPLATE, ADVANCEDPULLSAMPLE_MESSAGE, ADVANCEDPULLSAMPLE_MULTIPLYQTYBYSAMPLECOUNT, ADVANCEDPULLSAMPLE_PULLAMOUNT, ADVANCEDPULLSAMPLE_QUANTITY, ADVANCEDPULLSAMPLE_SPECS, ADVANCEDPULLSAMPLE_TEMPLATEID, ADVANCEDPULLSAMPLE_UNITS, ADVANCEDPULLSAMPLE_WORKITEMS, ADVANCEDPULLSAMPLE_WORKORDER, CONDITION_COLUMNLABELS, CONDITION_COLUMNS, DAY, EVENT_STATUS_CANCELLED, EVENT_STATUS_DONE, EVENT_STATUS_ERROR, EVENT_STATUS_ERRORACKNOWLEDGED, EVENT_STATUS_SCHEDULED, EXECUTEAHEADUNIT_DAY, EXECUTEAHEADUNIT_MONTH, EXECUTEAHEADUNIT_WEEK, EXECUTEAHEADUNIT_YEAR, FROM_WHEN, GRACE_PERIOD_UNIT, HOUR, ITEM_CONDITIONS, ITEM_PLANITEMWORKITEMS, ITEM_PLANWORKITEMS, ITEM_TIMEPOINTS, MONTH, ORIENTATION_INVERTED, ORIENTATION_UPRIGHT, PLANITEM_ROWSTATUS_DELETE, PLANITEM_ROWSTATUS_INSERT, PLANITEM_ROWSTATUS_RETRIEVE, PLANITEM_ROWSTATUS_UPDATE, PLANITEM_STATUS_DISABLED, PLANITEMWORKITEM_SCHEDULEPLANITEMID, PLANTYPE_PROTOCOL, PLANTYPE_STUDY, PLANTYPE_TEMPLATE, PLANWORKITEM_COLUMNLABELS, PLANWORKITEM_COLUMNS, PLANWORKITEM_CONTAINERPERREPEATFLAG, PLANWORKITEM_CONTAINERPERTESTFLAG, PLANWORKITEM_CONTINGENTFLAG, PLANWORKITEM_DEPARTMENTID, PLANWORKITEM_DESTRUCTIVETESTFLAG, PLANWORKITEM_DUEDTOFFSET, PLANWORKITEM_DUEDTOFFSETTIMEUNIT, PLANWORKITEM_NUMREPEATS, PLANWORKITEM_QUANTITY, PLANWORKITEM_QUANTITYTYPE, PLANWORKITEM_QUANTITYUNIT, PLANWORKITEM_REUSECONTAINERFLAG, PLANWORKITEM_SCHEDULEPLANID, PLANWORKITEM_WORKITEMID, PLANWORKITEM_WORKITEMINSTANCE, PLANWORKITEM_WORKITEMVERSIONID, SCHEDULECONDITIONID, SCHEDULEPLANID, SCHEDULETIMEPOINTID, SDC_LV_SCHEDULECONDITION, SDC_PROTOCOLSDC, SDC_SCHEDULEPLAN, SDC_SCHEDULEPLANITEM, SDC_SDIWORKITEM, SDC_STORAGEENVSDC, SDC_STUDYSDC, STABILITYTASK_ADVANCEDPULLSAMPLE, STABILITYTASK_CREATEWORKORDER, STABILITYTASK_DISPOSE, STABILITYTASK_MOVE, STABILITYTASK_PULLSAMPLE, STABILITYTASK_SHAKE, STUDY_STATUS_ACTIVE, STUDY_STATUS_CANCELLED, STUDY_STATUS_COMPLETED, STUDY_STATUS_NOTSTARTED, STUDY_STATUS_PENDINGAPPROVAL, STUDY_STATUS_REJECT, STUDY_STATUS_REQUESTDRAFT, STUDY_STATUS_SUSPENDED, TIMEPOINT_COLUMNLABELS, TIMEPOINT_COLUMNS, TIMEUNIT_DAY, TIMEUNIT_HOUR, TIMEUNIT_MONTH, TIMEUNIT_WEEK, TIMEUNIT_YEAR, VALIDEXECUTEAHEADUNIT, VALIDORIENTATION, VALIDSTARTCRITERIA, VALIDTIMEUNITUNIT, WEEK, YEAR| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDepartmentId()
Retrieves the department ID of the plan item work item.
|
java.lang.String |
getDueDateOffset()
Retrieves the due date offset for the plan item work item.
|
java.lang.String |
getDueDateOffsetUnit()
Retrieves the due date offset unit of the plan item work item.
|
java.lang.String |
getNumRepeats()
Retrieves the number of repeats for the plan item work item.
|
java.lang.String |
getPlanId()
Retrieves the plan ID of the current work item.
|
java.lang.String |
getQuantity()
Retrieves the quantity of the plan work item at the specified row.
|
java.lang.String |
getQuantityUnit()
Returns the quantity unit of the plan item work item.
|
java.lang.String |
getQuantityUnitType()
Returns the quantity unit type of the plan item work item.
|
java.lang.String |
getWorkItemId()
Retrieves the work item ID of the current work item.
|
int |
getWorkItemInstance()
Retrieves the work item instance of the current work item.
|
java.lang.String |
getWorkItemVersionId()
Retrieves the work item version ID of the current work item.
|
boolean |
isContainerPerRepeat()
Returns true if the container per repeat flag is set for the plan item work item, false otherwise.
|
boolean |
isContainerPerTest()
Returns true if the container per test flag is set for the plan item work item, false otherwise.
|
boolean |
isContingent()
Checks if the plan item work item is contingent.
|
boolean |
isDestructiveTest()
Checks if the destructive test flag is set for the plan item work item.
|
boolean |
isReuseContainer()
Checks if the reuse container flag is set for the plan item work item.
|
void |
setContainerPerRepeat(boolean flag)
Sets the container per repeat flag for the plan item work item.
|
void |
setContainerPerTest(boolean flag)
Sets the container per test flag for the plan item work item.
|
void |
setContingent(boolean flag)
Sets the contingent flag for the plan item work item.
|
void |
setDepartmentId(java.lang.String departmentId)
Sets the department ID for the plan item work item.
|
void |
setDestructiveTest(boolean flag)
Sets the destructive test flag for the plan item work item.
|
void |
setDueDateOffset(double offset)
Sets the due date offset for the plan item work item.
|
void |
setDueDateOffsetUnit(java.lang.String unit)
Sets the due date offset unit for the plan item work item.
|
void |
setNumRepeats(int numRepeats)
Sets the number of repeats for the plan item work item.
|
void |
setQuantity(double quantity)
Sets the quantity of the plan item work item.
|
void |
setQuantityUnit(java.lang.String unit)
Sets the quantity unit of the plan item work item.
|
void |
setReuseContainer(boolean flag)
Sets the reuse container flag for the plan item work item.
|
public DataStore item
public int row
public Workitem(DataStore item, int row)
public java.lang.String getPlanId()
public java.lang.String getWorkItemId()
public java.lang.String getWorkItemVersionId()
public int getWorkItemInstance()
public void setQuantity(double quantity)
quantity - The quantity to be set for the plan item work item.public java.lang.String getQuantity()
public void setQuantityUnit(java.lang.String unit)
unit - the quantity unit to be setpublic java.lang.String getQuantityUnit()
public java.lang.String getQuantityUnitType()
public void setNumRepeats(int numRepeats)
numRepeats - the number of repeats to be setpublic java.lang.String getNumRepeats()
public void setContainerPerRepeat(boolean flag)
flag - the flag value to be set. If true, the container is per repeat, otherwise it is not.java.lang.IllegalArgumentException - if the flag is nullpublic boolean isContainerPerRepeat()
public void setContainerPerTest(boolean flag)
flag - the flag value to be set. If true, the container is per test, otherwise it is not.java.lang.IllegalArgumentException - if the flag is nullpublic boolean isContainerPerTest()
public void setDestructiveTest(boolean flag)
flag - the flag value to be set. If true, the destructive test flag is set to "Y", otherwise it is set to "N".public boolean isDestructiveTest()
public void setReuseContainer(boolean flag)
flag - the flag value to be set. If true, the reuse container flag is set to "Y", otherwise it is set to "N".public boolean isReuseContainer()
public void setContingent(boolean flag)
flag - the flag value to be set. If true, the contingent flag is set to "Y", otherwise it is set to "N".public boolean isContingent()
public void setDepartmentId(java.lang.String departmentId)
departmentId - the department ID to be set for the plan item work itempublic java.lang.String getDepartmentId()
public void setDueDateOffset(double offset)
offset - the offset value to set the due date offsetpublic java.lang.String getDueDateOffset()
public void setDueDateOffsetUnit(java.lang.String unit)
unit - the due date offset unit to be setpublic java.lang.String getDueDateOffsetUnit()