org.jbeanmapper
Class BeanMapping
java.lang.Object
org.jbeanmapper.BeanMapping
- public class BeanMapping
- extends java.lang.Object
Describes a mapping between a source class and a destination class.
- Author:
- Brian Pugh
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanMapping
public BeanMapping()
getSourceClass
public java.lang.Class getSourceClass()
setSourceClass
public void setSourceClass(java.lang.Class sourceClass)
getTargetClass
public java.lang.Class getTargetClass()
setTargetClass
public void setTargetClass(java.lang.Class targetClass)
getBeanCreator
public BeanCreator getBeanCreator()
setBeanCreator
public void setBeanCreator(BeanCreator beanCreator)
getPropertyMappings
public java.util.List getPropertyMappings()
setPropertyMappings
public void setPropertyMappings(java.util.List propertyMappings)
addPropertyMapping
public void addPropertyMapping(PropertyMapping mapping)
isErrorOnUnMappedProperty
public boolean isErrorOnUnMappedProperty()
setErrorOnUnMappedProperty
public void setErrorOnUnMappedProperty(boolean errorOnUnMappedProperty)