Class MainClassPartLoadFromCSVSheet
java.lang.Object
com.amalgamasimulation.emf.datastructure.sheets.EMFSheet<org.eclipse.emf.ecore.EObject>
com.amalgamasimulation.emf.datastructure.sheets.EMFInstanceSheet
com.amalgamasimulation.emf.datastructure.sheets.FullyContainedEClassSheet
com.amalgamasimulation.emf.datastructure.sheets.MainClassPartEditSheet
com.amalgamasimulation.emf.csv.partialload.MainClassPartLoadFromCSVSheet
-
Field Summary
Fields inherited from class com.amalgamasimulation.emf.datastructure.sheets.MainClassPartEditSheet
idByClass, idsFields inherited from class com.amalgamasimulation.emf.datastructure.sheets.EMFInstanceSheet
preread, referenceFields inherited from class com.amalgamasimulation.emf.datastructure.sheets.EMFSheet
book, cachedDates, columns, eClass, formatters, lastFormatterIndex, PARSED_VALUES_CACHE_SIZE, rowValuesConverter, sheetName -
Constructor Summary
ConstructorsConstructorDescriptionMainClassPartLoadFromCSVSheet(org.eclipse.emf.ecore.EClass eClass, org.eclipse.emf.ecore.EReference reference, IDataSource book) -
Method Summary
Modifier and TypeMethodDescriptionprotected LocalDateTimecustomParseDateInternal(String initialValue) getOrCreateEObject(int rowIndex, Map<String, String> valuesByColumnNames) Methods inherited from class com.amalgamasimulation.emf.datastructure.sheets.MainClassPartEditSheet
generateId, getValue, onRowLoaded, setNewValueInEObject, tryPlaceIntoRootObjectMethods inherited from class com.amalgamasimulation.emf.datastructure.sheets.FullyContainedEClassSheet
getEObjectsToWrite, setContents, shouldAddGeneratedIDColumnMethods inherited from class com.amalgamasimulation.emf.datastructure.sheets.EMFInstanceSheet
afterReadingCompleted, assignValuesAndTryFindContainer, getColumns, getIdColumn, getObjectsToWriteCount, onColumnsLoaded, preRead, writeMethods inherited from class com.amalgamasimulation.emf.datastructure.sheets.EMFSheet
getLowerCamelCaseClassName, getSheetName, getValueAndHandleException, parseDateInternal, parseLocalTime, read, setRowValuesConverter, toString
-
Constructor Details
-
MainClassPartLoadFromCSVSheet
public MainClassPartLoadFromCSVSheet(org.eclipse.emf.ecore.EClass eClass, org.eclipse.emf.ecore.EReference reference, IDataSource book)
-
-
Method Details
-
getOrCreateEObject
protected Pair<String,org.eclipse.emf.ecore.EObject> getOrCreateEObject(int rowIndex, Map<String, String> valuesByColumnNames) - Overrides:
getOrCreateEObjectin classMainClassPartEditSheet
-
customParseDateInternal
- Throws:
DateTimeParseException
-