public class CATYieldTableRecordReader extends REpiceaRecordReader
Modifier and Type | Class and Description |
---|---|
protected static class |
CATYieldTableRecordReader.CATYieldTableFieldID |
protected static class |
CATYieldTableRecordReader.CATYieldTableFieldLevel |
protected static class |
CATYieldTableRecordReader.MessageID |
REpiceaRecordReader.InternalTask, REpiceaRecordReader.NullInThisFieldException, REpiceaRecordReader.VariableValueException
Constructor and Description |
---|
CATYieldTableRecordReader(CATSettings.CATSpecies catSpecies)
General constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkInputFieldsFormat(java.lang.Object[] oArray)
This method checks if the input values of the current record are of the appropriate format.
|
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.
|
java.util.List<CATCompatibleStand> |
getStandList()
This method returns the stand list that was last read.
|
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.
|
checkInputFieldsValue, getGroupList, getGroupMap, getGroupName, getImportFieldManager, getObservationIndicesForThisGroup, getSelectedGroupId, initGUIMode, initGUIMode, initInScriptMode, isGroupingEnabled, isThisFieldAvailable, makeASelection, readAllRecords, setCurrentFieldID, setPopUpWindowEnabled, setSelectedGroupId
public CATYieldTableRecordReader(CATSettings.CATSpecies catSpecies)
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 checkInputFieldsFormat(java.lang.Object[] oArray) throws java.lang.Exception
REpiceaRecordReader
checkInputFieldsFormat
in class REpiceaRecordReader
oArray
- the line recordjava.lang.Exception
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 java.util.List<CATCompatibleStand> getStandList()