public class CATGrowthSimulationRecordReader extends REpiceaRecordReader
Modifier and Type | Class and Description |
---|---|
protected static class |
CATGrowthSimulationRecordReader.CATGrowthSimulationFieldID |
protected static class |
CATGrowthSimulationRecordReader.CATGrowthSimulationFieldLevel |
protected static class |
CATGrowthSimulationRecordReader.MessageID |
REpiceaRecordReader.InternalTask, REpiceaRecordReader.NullInThisFieldException, REpiceaRecordReader.VariableValueException
Constructor and Description |
---|
CATGrowthSimulationRecordReader()
General constructor.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<ImportFieldElement> |
defineFieldsToImport()
This method defines the fields to be imported.
|
protected java.lang.Enum<?> |
defineGroupFieldEnum()
This method set the Enum var that corresponds to the group field.
|
REpiceaMatchSelector<CATSettings.CATSpecies> |
getSelector()
This method returns the selector for the species in CAT.
|
protected java.util.List<java.lang.String> |
getSpeciesList() |
java.util.List<CATCompatibleStand> |
getStandList()
This method returns the stand list that was last read.
|
protected void |
instantiatePlotAndTree(java.lang.String standIdentification,
int dateYr,
int realization,
java.lang.String plotID,
double plotAreaHa,
TreeStatusProvider.StatusClass statusClass,
double treeVolumeDm3,
double numberOfTrees,
java.lang.String originalSpeciesName,
java.lang.Double dbhCm) |
void |
readAllRecords()
This method reads all the records of the dataset.
|
protected void |
readLineRecord(java.lang.Object[] oArray,
int lineCounter)
This method read the line record and set the values in the appropriate fields.
|
void |
readRecordsForThisGroupId(int groupId)
This method reads the records that correspond to the group ID.
|
checkInputFieldsFormat, checkInputFieldsValue, getGroupList, getGroupMap, getGroupName, getImportFieldManager, getObservationIndicesForThisGroup, getSelectedGroupId, initGUIMode, initGUIMode, initInScriptMode, isGroupingEnabled, isThisFieldAvailable, makeASelection, setCurrentFieldID, setPopUpWindowEnabled, setSelectedGroupId
public CATGrowthSimulationRecordReader()
public REpiceaMatchSelector<CATSettings.CATSpecies> getSelector()
protected java.util.List<ImportFieldElement> defineFieldsToImport() throws java.lang.Exception
REpiceaRecordReader
defineFieldsToImport
in class REpiceaRecordReader
java.lang.Exception
protected java.lang.Enum<?> defineGroupFieldEnum()
REpiceaRecordReader
defineGroupFieldEnum
in class REpiceaRecordReader
protected void readLineRecord(java.lang.Object[] oArray, int lineCounter) throws REpiceaRecordReader.VariableValueException, java.lang.Exception
REpiceaRecordReader
readLineRecord
in class REpiceaRecordReader
REpiceaRecordReader.VariableValueException
java.lang.Exception
protected void instantiatePlotAndTree(java.lang.String standIdentification, int dateYr, int realization, java.lang.String plotID, double plotAreaHa, TreeStatusProvider.StatusClass statusClass, double treeVolumeDm3, double numberOfTrees, java.lang.String originalSpeciesName, java.lang.Double dbhCm)
public void readRecordsForThisGroupId(int groupId) throws java.lang.Exception
REpiceaRecordReader
readRecordsForThisGroupId
in class REpiceaRecordReader
groupId
- a integer that corresponds to the group IDjava.lang.Exception
public void readAllRecords() throws java.lang.Exception
REpiceaRecordReader
readAllRecords
in class REpiceaRecordReader
java.lang.Exception
public java.util.List<CATCompatibleStand> getStandList()
protected java.util.List<java.lang.String> getSpeciesList()