Class ExcelMetaModel

java.lang.Object
com.github.cla9.excel.reader.entity.ExcelMetaModel

public class ExcelMetaModel
extends java.lang.Object
The type Excel meta model.
  • Constructor Summary

    Constructors 
    Constructor Description
    ExcelMetaModel​(java.lang.Class<?> entityType, java.util.List<java.lang.String> headers, Range headerRange, Range dataRange, boolean isPartialParseOperation, boolean mergedHeader, boolean hasOrder, boolean allColumnOrder, int[] order, EntityInstantiatorSource instantiatorSource)
    Instantiates a new Excel meta model.
  • Method Summary

    Modifier and Type Method Description
    Range getDataRange()
    Gets data range.
    java.lang.Class<?> getEntityType()
    Gets entity type.
    Range getHeaderRange()
    Gets header range.
    java.util.List<java.lang.String> getHeaders()
    Gets headers.
    EntityInstantiatorSource getInstantiatorSource()
    Gets instantiator source.
    int[] getOrder()
    Get order int [ ].
    boolean hasAllColumnOrder()
    Has all column order boolean.
    boolean hasMergeHeader()
    Has merge header boolean.
    boolean hasOrder()
    Has order boolean.
    boolean isPartialParseOperation()
    Is partial parse operation boolean.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExcelMetaModel

      public ExcelMetaModel​(java.lang.Class<?> entityType, java.util.List<java.lang.String> headers, Range headerRange, Range dataRange, boolean isPartialParseOperation, boolean mergedHeader, boolean hasOrder, boolean allColumnOrder, int[] order, EntityInstantiatorSource instantiatorSource)
      Instantiates a new Excel meta model.
      Parameters:
      entityType - the entity type
      headers - the headers
      headerRange - the header range
      dataRange - the data range
      isPartialParseOperation - the is partial parse operation
      mergedHeader - the merged header
      hasOrder - the has order
      allColumnOrder - the all column order
      order - the order
      instantiatorSource - the instantiator source
  • Method Details

    • hasMergeHeader

      public boolean hasMergeHeader()
      Has merge header boolean.
      Returns:
      the boolean
    • hasAllColumnOrder

      public boolean hasAllColumnOrder()
      Has all column order boolean.
      Returns:
      the boolean
    • hasOrder

      public boolean hasOrder()
      Has order boolean.
      Returns:
      the boolean
    • getHeaders

      public java.util.List<java.lang.String> getHeaders()
      Gets headers.
      Returns:
      the headers
    • getOrder

      public int[] getOrder()
      Get order int [ ].
      Returns:
      the int [ ]
    • getHeaderRange

      public Range getHeaderRange()
      Gets header range.
      Returns:
      the header range
    • getDataRange

      public Range getDataRange()
      Gets data range.
      Returns:
      the data range
    • isPartialParseOperation

      public boolean isPartialParseOperation()
      Is partial parse operation boolean.
      Returns:
      the boolean
    • getInstantiatorSource

      public EntityInstantiatorSource getInstantiatorSource()
      Gets instantiator source.
      Returns:
      the instantiator source
    • getEntityType

      public java.lang.Class<?> getEntityType()
      Gets entity type.
      Returns:
      the entity type