Interface EntitySource
- All Known Implementing Classes:
EntityInstantiatorSource
public interface EntitySource
The interface Entity source.
-
Method Summary
Modifier and Type Method Description org.springframework.format.AnnotationFormatterFactory<org.springframework.format.annotation.DateTimeFormat>getTimeFactory()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.
-
Method Details
-
getTimeFactory
org.springframework.format.AnnotationFormatterFactory<org.springframework.format.annotation.DateTimeFormat> getTimeFactory()Gets time factory.- Returns:
- the time factory
-
isCreationTargetField
boolean isCreationTargetField(java.lang.reflect.Field field)Is creation target field boolean.- Parameters:
field- the field- Returns:
- the boolean
-
isCandidate
boolean isCandidate(java.lang.reflect.Field field)Is candidate boolean.- Parameters:
field- the field- Returns:
- the boolean
-
isInjectionFields
boolean isInjectionFields(java.lang.reflect.Field field)Is injection fields boolean.- Parameters:
field- the field- Returns:
- the boolean
-
isSupportedInjectionClass
boolean isSupportedInjectionClass(java.lang.Class<?> clazz)Is supported injection class boolean.- Parameters:
clazz- the clazz- Returns:
- the boolean
-
isSupportedDateType
boolean isSupportedDateType(java.lang.Class<?> clazz)Is supported date type boolean.- Parameters:
clazz- the clazz- Returns:
- the boolean
-