|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.job.model.JobDataComponent
com.partnersoft.job.model.JobUnit
public class JobUnit
| Constructor Summary | |
|---|---|
JobUnit()
|
|
| Method Summary | |
|---|---|
void |
generateID()
Subclass homework. |
int |
getQuantity()
Gets the value of quantity |
Cog |
getState()
Subclasses extend this by calling super.getState() and then adding their own state to the result. |
java.lang.String |
getUnit()
Gets the value of unit |
void |
remove()
Does nothing. |
void |
setQuantity(int argQuantity)
Sets the value of quantity |
void |
setState(Cog state)
Subclasses should extend this by calling super.setState() and then setting their own state from the input. |
void |
setUnit(java.lang.String argUnit)
Sets the value of unit |
| Methods inherited from class com.partnersoft.job.model.JobDataComponent |
|---|
copy, copyStateFrom, generateGuid, generateStandardIDs, getData, getGuid, getID, getName, getType, setData, setGuid, setID, setName, setType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JobUnit()
| Method Detail |
|---|
public void remove()
remove in class JobDataComponentpublic Cog getState()
JobDataComponent
getState in interface CoggablegetState in class JobDataComponentpublic void setState(Cog state)
JobDataComponent
setState in interface CoggablesetState in class JobDataComponentpublic void generateID()
JobDataComponent
generateID in class JobDataComponentpublic java.lang.String getUnit()
public void setUnit(java.lang.String argUnit)
argUnit - Value to assign to this.unitpublic int getQuantity()
public void setQuantity(int argQuantity)
argQuantity - Value to assign to this.quantity
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||