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 RangegetDataRange()Gets data range.java.lang.Class<?>getEntityType()Gets entity type.RangegetHeaderRange()Gets header range.java.util.List<java.lang.String>getHeaders()Gets headers.EntityInstantiatorSourcegetInstantiatorSource()Gets instantiator source.int[]getOrder()Get order int [ ].booleanhasAllColumnOrder()Has all column order boolean.booleanhasMergeHeader()Has merge header boolean.booleanhasOrder()Has order boolean.booleanisPartialParseOperation()Is partial parse operation boolean.
-
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 typeheaders- the headersheaderRange- the header rangedataRange- the data rangeisPartialParseOperation- the is partial parse operationmergedHeader- the merged headerhasOrder- the has orderallColumnOrder- the all column orderorder- the orderinstantiatorSource- 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
Gets header range.- Returns:
- the header range
-
getDataRange
Gets data range.- Returns:
- the data range
-
isPartialParseOperation
public boolean isPartialParseOperation()Is partial parse operation boolean.- Returns:
- the boolean
-
getInstantiatorSource
Gets instantiator source.- Returns:
- the instantiator source
-
getEntityType
public java.lang.Class<?> getEntityType()Gets entity type.- Returns:
- the entity type
-