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, setSelectedGroupIdpublic CATGrowthSimulationRecordReader()
public REpiceaMatchSelector<CATSettings.CATSpecies> getSelector()
protected java.util.List<ImportFieldElement> defineFieldsToImport() throws java.lang.Exception
REpiceaRecordReaderdefineFieldsToImport in class REpiceaRecordReaderjava.lang.Exceptionprotected java.lang.Enum<?> defineGroupFieldEnum()
REpiceaRecordReaderdefineGroupFieldEnum in class REpiceaRecordReaderprotected void readLineRecord(java.lang.Object[] oArray,
int lineCounter)
throws REpiceaRecordReader.VariableValueException,
java.lang.Exception
REpiceaRecordReaderreadLineRecord in class REpiceaRecordReaderREpiceaRecordReader.VariableValueExceptionjava.lang.Exceptionprotected 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
REpiceaRecordReaderreadRecordsForThisGroupId in class REpiceaRecordReadergroupId - a integer that corresponds to the group IDjava.lang.Exceptionpublic void readAllRecords()
throws java.lang.Exception
REpiceaRecordReaderreadAllRecords in class REpiceaRecordReaderjava.lang.Exceptionpublic java.util.List<CATCompatibleStand> getStandList()
protected java.util.List<java.lang.String> getSpeciesList()