Class MainClassPartEditSheet
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
- Direct Known Subclasses:
MainClassPartLoadFromCSVSheet
-
Field Summary
FieldsFields 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
ConstructorsConstructorDescriptionMainClassPartEditSheet(org.eclipse.emf.ecore.EClass eClass, org.eclipse.emf.ecore.EReference reference, IDataSource book, boolean onlyAttributies) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetOrCreateEObject(int rowIndex, Map<String, String> valuesByColumnNames) protected ObjectgetValue(String stringValue, org.eclipse.emf.ecore.EClassifier classifier, EMFColumn<org.eclipse.emf.ecore.EObject> column, int rowIndex) protected voidonRowLoaded(int rowIndex, Map<String, String> valuesByColumnNames) protected voidsetNewValueInEObject(Object newValue, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature structuralFeature) protected voidtryPlaceIntoRootObject(org.eclipse.emf.ecore.EObject contents) Methods 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
-
Field Details
-
ids
-
idByClass
-
-
Constructor Details
-
MainClassPartEditSheet
public MainClassPartEditSheet(org.eclipse.emf.ecore.EClass eClass, org.eclipse.emf.ecore.EReference reference, IDataSource book, boolean onlyAttributies)
-
-
Method Details
-
tryPlaceIntoRootObject
protected void tryPlaceIntoRootObject(org.eclipse.emf.ecore.EObject contents) - Overrides:
tryPlaceIntoRootObjectin classFullyContainedEClassSheet
-
getValue
-
setNewValueInEObject
protected void setNewValueInEObject(Object newValue, org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EStructuralFeature structuralFeature) - Overrides:
setNewValueInEObjectin classEMFInstanceSheet
-
onRowLoaded
- Overrides:
onRowLoadedin classEMFInstanceSheet
-
getOrCreateEObject
-
generateId
-