org.jbeanmapper
Class BeanMapping

java.lang.Object
  extended byorg.jbeanmapper.BeanMapping

public class BeanMapping
extends java.lang.Object

Describes a mapping between a source class and a destination class.

Author:
Brian Pugh

Constructor Summary
BeanMapping()
           
 
Method Summary
 void addPropertyMapping(PropertyMapping mapping)
           
 BeanCreator getBeanCreator()
           
 java.util.List getPropertyMappings()
           
 java.lang.Class getSourceClass()
           
 java.lang.Class getTargetClass()
           
 boolean isErrorOnUnMappedProperty()
           
 void setBeanCreator(BeanCreator beanCreator)
           
 void setErrorOnUnMappedProperty(boolean errorOnUnMappedProperty)
           
 void setPropertyMappings(java.util.List propertyMappings)
           
 void setSourceClass(java.lang.Class sourceClass)
           
 void setTargetClass(java.lang.Class targetClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanMapping

public BeanMapping()
Method Detail

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)