Class EntityInstantiatorSource
java.lang.Object
com.github.cla9.excel.reader.worker.EntityInstantiatorSource
- All Implemented Interfaces:
EntitySource
public class EntityInstantiatorSource extends java.lang.Object implements EntitySource
The type Entity instantiator source.
-
Constructor Summary
Constructors Constructor Description EntityInstantiatorSource() -
Method Summary
Modifier and Type Method Description org.springframework.format.datetime.standard.Jsr310DateTimeFormatAnnotationFormatterFactorygetTimeFactory()Gets time factory.booleanisCandidate(java.lang.reflect.Field field)Is candidate boolean.booleanisCreationTargetField(java.lang.reflect.Field field)Is creation target field boolean.booleanisInjectionFields(java.lang.reflect.Field field)Is injection fields boolean.booleanisSupportedDateType(java.lang.Class<?> clazz)Is supported date type boolean.booleanisSupportedInjectionClass(java.lang.Class<?> clazz)Is supported injection class boolean.
-
Constructor Details
-
EntityInstantiatorSource
public EntityInstantiatorSource()
-
-
Method Details
-
isCreationTargetField
public boolean isCreationTargetField(java.lang.reflect.Field field)Description copied from interface:EntitySourceIs creation target field boolean.- Specified by:
isCreationTargetFieldin interfaceEntitySource- Parameters:
field- the field- Returns:
- the boolean
-
isCandidate
public boolean isCandidate(java.lang.reflect.Field field)Description copied from interface:EntitySourceIs candidate boolean.- Specified by:
isCandidatein interfaceEntitySource- Parameters:
field- the field- Returns:
- the boolean
-
isInjectionFields
public boolean isInjectionFields(java.lang.reflect.Field field)Description copied from interface:EntitySourceIs injection fields boolean.- Specified by:
isInjectionFieldsin interfaceEntitySource- Parameters:
field- the field- Returns:
- the boolean
-
isSupportedInjectionClass
public boolean isSupportedInjectionClass(java.lang.Class<?> clazz)Description copied from interface:EntitySourceIs supported injection class boolean.- Specified by:
isSupportedInjectionClassin interfaceEntitySource- Parameters:
clazz- the clazz- Returns:
- the boolean
-
isSupportedDateType
public boolean isSupportedDateType(java.lang.Class<?> clazz)Description copied from interface:EntitySourceIs supported date type boolean.- Specified by:
isSupportedDateTypein interfaceEntitySource- Parameters:
clazz- the clazz- Returns:
- the boolean
-
getTimeFactory
public org.springframework.format.datetime.standard.Jsr310DateTimeFormatAnnotationFormatterFactory getTimeFactory()Description copied from interface:EntitySourceGets time factory.- Specified by:
getTimeFactoryin interfaceEntitySource- Returns:
- the time factory
-