Package io.beanmapper.core
Class BeanPropertyMatch
java.lang.Object
io.beanmapper.core.BeanPropertyMatch
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBeanPropertyMatch
(Object source, Object target, MatchedBeanPropertyPair matchedBeanPropertyPair, String targetFieldName, BeanMatch beanMatch) -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
getDefaultValue
(BeanProperty beanProperty) Class<?>
Class<?>
boolean
hasAccess
(RoleSecuredCheck roleSecuredCheck, Map<Class<? extends LogicSecuredCheck>, LogicSecuredCheck> logicSecuredChecks, boolean enforcedSecuredProperties) protected boolean
hasAnnotation
(BeanProperty beanProperty, Class<? extends Annotation> annotationClass) boolean
boolean
boolean
void
boolean
sourceHasAnnotation
(Class<? extends Annotation> annotationClass) boolean
targetHasAnnotation
(Class<? extends Annotation> annotationClass) void
writeObject
(Object value)
-
Field Details
-
logger
protected final org.slf4j.Logger logger
-
-
Constructor Details
-
BeanPropertyMatch
public BeanPropertyMatch(Object source, Object target, MatchedBeanPropertyPair matchedBeanPropertyPair, String targetFieldName, BeanMatch beanMatch)
-
-
Method Details
-
hasAccess
public boolean hasAccess(RoleSecuredCheck roleSecuredCheck, Map<Class<? extends LogicSecuredCheck>, LogicSecuredCheck> logicSecuredChecks, boolean enforcedSecuredProperties) -
hasSimilarClasses
public boolean hasSimilarClasses() -
getTarget
-
setTarget
- Throws:
BeanMappingException
-
getTargetFieldName
-
hasMatchingSource
public boolean hasMatchingSource() -
isMappable
public boolean isMappable() -
getSourceClass
-
getTargetClass
-
targetHasAnnotation
-
sourceHasAnnotation
-
hasAnnotation
protected boolean hasAnnotation(BeanProperty beanProperty, Class<? extends Annotation> annotationClass) -
getSourceDefaultValue
-
getTargetDefaultValue
-
getDefaultValue
-
writeObject
- Throws:
BeanMappingException
-
getSourceObject
- Throws:
BeanMappingException
-
getTargetObject
- Throws:
BeanMappingException
-
getCollectionInstructions
-
getSourceFieldName
-
getBeanMatch
-
sourceToString
-
targetToString
-