Package io.beanmapper.core
Class BeanProperty
java.lang.Object
io.beanmapper.core.BeanProperty
-
Constructor Summary
ConstructorDescriptionBeanProperty
(String name, BeanPropertyMatchupDirection matchupDirection, PropertyAccessor accessor, Class containingClass) -
Method Summary
Modifier and TypeMethodDescriptionClass<?>
protected PropertyAccessor
Class<?>
getGenericClassOfField
(int index) Class<? extends LogicSecuredCheck>
getName()
getNext()
getOrCreate
(Object parent, Object source, BeanMatch beanMatch) String[]
boolean
hasNext()
boolean
boolean
void
setCollectionInstructions
(BeanCollectionInstructions collectionInstructions) void
setLogicSecuredCheck
(Class<? extends LogicSecuredCheck> logicSecuredCheck) void
void
setMustMatch
(boolean mustMatch) void
setNext
(BeanProperty next) void
setRequiredRoles
(String[] requiredRoles) writeObject
(Object value, Object parent, Object source, BeanMatch beanMatch)
-
Constructor Details
-
BeanProperty
public BeanProperty(String name, BeanPropertyMatchupDirection matchupDirection, PropertyAccessor accessor, Class containingClass)
-
-
Method Details
-
setMustMatch
public void setMustMatch(boolean mustMatch) -
getName
-
getCollectionInstructions
-
setCollectionInstructions
-
hasNext
public boolean hasNext() -
getNext
-
setNext
-
getCurrentAccessor
-
getAccessor
-
getObject
- Throws:
BeanMappingException
-
getOrCreate
public Object getOrCreate(Object parent, Object source, BeanMatch beanMatch) throws BeanMappingException - Throws:
BeanMappingException
-
writeObject
public Object writeObject(Object value, Object parent, Object source, BeanMatch beanMatch) throws BeanMappingException - Throws:
BeanMappingException
-
setMatched
public void setMatched() -
isUnmatched
public boolean isUnmatched() -
getRequiredRoles
-
setRequiredRoles
-
getLogicSecuredCheck
-
setLogicSecuredCheck
-
getBeanClass
-
getGenericClassOfField
-
isBeanFieldAvailable
public boolean isBeanFieldAvailable()
-