Class OneToManyRelationSheet

java.lang.Object
com.amalgamasimulation.emf.datastructure.sheets.EMFSheet<Pair<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EObject>>
com.amalgamasimulation.emf.datastructure.sheets.OneToManyRelationSheet

public class OneToManyRelationSheet extends EMFSheet<Pair<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EObject>>
  • Constructor Details

    • OneToManyRelationSheet

      public OneToManyRelationSheet(org.eclipse.emf.ecore.EReference reference, IDataSource book)
  • Method Details

    • write

      public void write(DataStorage excelFile)
      Specified by:
      write in class EMFSheet<Pair<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EObject>>
    • getObjectsToWriteCount

      public int getObjectsToWriteCount()
      Description copied from class: EMFSheet
      Returns the number of objects (EObjects, etc.) to be written into this sheet.
      Specified by:
      getObjectsToWriteCount in class EMFSheet<Pair<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EObject>>
    • onRowLoaded

      protected void onRowLoaded(int rowIndex, Map<String,String> valuesByColumnName)
      Specified by:
      onRowLoaded in class EMFSheet<Pair<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EObject>>
    • afterReadingCompleted

      protected void afterReadingCompleted()
      Specified by:
      afterReadingCompleted in class EMFSheet<Pair<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EObject>>