|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mars_sim.msp.core.science.ScientificStudyManager
public class ScientificStudyManager
A class that keeps track of all scientific studies in the simulation.
| Constructor Summary | |
|---|---|
ScientificStudyManager()
Constructor. |
|
| Method Summary | |
|---|---|
ScientificStudy |
createScientificStudy(Person researcher,
Science science,
int difficultyLevel)
Creates a new scientific study. |
java.util.List<ScientificStudy> |
getAllStudies(Person researcher)
Gets a list of all studies a researcher is involved with. |
java.util.List<ScientificStudy> |
getAllStudies(Settlement settlement)
Gets a list of all studies a settlement is primary for. |
java.util.List<ScientificStudy> |
getCanceledStudies()
Gets all canceled scientific studies. |
java.util.List<ScientificStudy> |
getCompletedCollaborativeStudies(Person researcher)
Gets all completed scientific studies where researcher was a collaborative researcher. |
java.util.List<ScientificStudy> |
getCompletedPrimaryStudies(Person researcher)
Gets all completed scientific studies where researcher was the primary researcher. |
java.util.List<ScientificStudy> |
getCompletedPrimaryStudies(Settlement settlement)
Gets all completed scientific studies at a primary research settlement. |
java.util.List<ScientificStudy> |
getCompletedStudies()
Gets all completed scientific studies, regardless of completion state. |
java.util.List<ScientificStudy> |
getFailedStudies()
Gets all failed completed scientific studies. |
java.util.List<ScientificStudy> |
getOngoingCollaborativeStudies(Person researcher)
Gets all ongoing scientific studies where researcher is a collaborative researcher. |
java.util.List<ScientificStudy> |
getOngoingPrimaryStudies(Settlement settlement)
Gets all ongoing scientific studies at a primary research settlement. |
ScientificStudy |
getOngoingPrimaryStudy(Person researcher)
Gets the researcher's ongoing primary research scientific study, if any. |
java.util.List<ScientificStudy> |
getOngoingStudies()
Gets all ongoing scientific studies. |
java.util.List<ScientificStudy> |
getOpenInvitationStudies(Person collaborativeResearcher)
Gets all studies that have open invitations for collaboration for a researcher. |
java.util.List<ScientificStudy> |
getSuccessfulStudies()
Gets all successfully completed scientific studies. |
void |
updateStudies()
Update all of the studies. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScientificStudyManager()
| Method Detail |
|---|
public ScientificStudy createScientificStudy(Person researcher,
Science science,
int difficultyLevel)
researcher - the primary researcher.science - the primary field of science.difficultyLevel - the difficulty level of the study.
public java.util.List<ScientificStudy> getOngoingStudies()
public java.util.List<ScientificStudy> getCompletedStudies()
public java.util.List<ScientificStudy> getSuccessfulStudies()
public java.util.List<ScientificStudy> getFailedStudies()
public java.util.List<ScientificStudy> getCanceledStudies()
public ScientificStudy getOngoingPrimaryStudy(Person researcher)
researcher - the primary researcher.
public java.util.List<ScientificStudy> getCompletedPrimaryStudies(Person researcher)
researcher - the primary researcher.
public java.util.List<ScientificStudy> getOngoingCollaborativeStudies(Person researcher)
researcher - the collaborative researcher.
public java.util.List<ScientificStudy> getCompletedCollaborativeStudies(Person researcher)
researcher - the collaborative researcher.
public java.util.List<ScientificStudy> getOngoingPrimaryStudies(Settlement settlement)
settlement - the primary research settlement.
public java.util.List<ScientificStudy> getCompletedPrimaryStudies(Settlement settlement)
settlement - the primary research settlement.
public java.util.List<ScientificStudy> getOpenInvitationStudies(Person collaborativeResearcher)
collaborativeResearcher - the collaborative researcher.
public java.util.List<ScientificStudy> getAllStudies(Person researcher)
researcher - the researcher.
public java.util.List<ScientificStudy> getAllStudies(Settlement settlement)
settlement - the settlement.
public void updateStudies()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||