public class WorkUnitImpl extends Object implements WorkUnit
CLONE_LENGTH, CLONE_POS, GEN_LENGTH, GEN_POS, ISSUE_LENGTH, ISSUE_POS, PROJ_LENGTH, PROJ_POS, RUN_LENGTH, RUN_POS| Constructor and Description |
|---|
WorkUnitImpl(int indexNumber,
QueueReader reader)
Work Unit constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getClone()
Get the value of Clone.
|
int |
getCompleted()
Getter for the field
completed. |
int |
getGen()
Get the value of Generation.
|
Date |
getIssue()
Get the value of Issued.
|
String |
getPercentage()
Getter for the field
percentage. |
int |
getProj()
Get the value of the Project Number.
|
String |
getProtein()
Getter for the field
protein. |
int |
getRun()
Get the value of Run.
|
int |
getSteps()
Getter for the field
steps. |
String |
toString()
Generate a String representation of the WorkUnitImpl
|
void |
update()
Update all values.
|
public WorkUnitImpl(int indexNumber,
QueueReader reader)
throws InstantiationException
indexNumber - a int.reader - a QueueReader object.InstantiationException - if any.public int getProj()
public int getRun()
public int getClone()
public int getGen()
public Date getIssue()
public int getCompleted()
Getter for the field completed.
public String getPercentage()
Getter for the field percentage.
String object.public int getSteps()
Getter for the field steps.
public String toString()
Copyright © 2011–2017 Mike Thomas. All rights reserved.