|
|||||||||
| 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.Alternative
public class Alternative
| Constructor Summary | |
|---|---|
Alternative()
|
|
| Method Summary | |
|---|---|
void |
addChain(Chain chain)
|
void |
generateID()
Subclass homework. |
java.util.ArrayList |
getChains()
Gets the value of chains |
Job |
getJob()
|
Cog |
getState()
Subclasses extend this by calling super.getState() and then adding their own state to the result. |
java.util.ArrayList |
getUnits()
Gets the value of units |
void |
remove()
Removes this alternative from its job. |
void |
remove(Chain chain)
|
void |
setChains(java.util.ArrayList argChains)
Sets the value of chains |
void |
setJob(Job newJob)
|
void |
setState(Cog state)
Subclasses should extend this by calling super.setState() and then setting their own state from the input. |
void |
setUnits(java.util.ArrayList argUnits)
Sets the value of units |
| 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 Alternative()
| Method Detail |
|---|
public void addChain(Chain chain)
public void remove(Chain chain)
public void generateID()
JobDataComponent
generateID in class JobDataComponentpublic 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 Job getJob()
public void setJob(Job newJob)
public java.util.ArrayList getChains()
public void setChains(java.util.ArrayList argChains)
argChains - Value to assign to this.chainspublic java.util.ArrayList getUnits()
public void setUnits(java.util.ArrayList argUnits)
argUnits - Value to assign to this.units
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||