1 16 package net.sf.dozer.util.mapping.fieldmap; 17 18 import net.sf.dozer.util.mapping.converters.CustomConverterContainer; 19 import net.sf.dozer.util.mapping.util.MapperConstants; 20 21 27 public class Configuration { 28 29 private boolean wildcard = MapperConstants.DEFAULT_WILDCARD_POLICY; 30 private boolean stopOnErrors = MapperConstants.DEFAULT_ERROR_POLICY; 31 private String dateFormat; 32 private String beanFactory; 33 private CustomConverterContainer customConverters; 34 private CopyByReferenceContainer copyByReferences; 35 private AllowedExceptionContainer allowedExceptions; 36 private boolean isAccessible; 37 38 public AllowedExceptionContainer getAllowedExceptions() { 39 return allowedExceptions; 40 } 41 42 public void setAllowedExceptions(AllowedExceptionContainer allowedExceptions) { 43 this.allowedExceptions = allowedExceptions; 44 } 45 46 public CustomConverterContainer getCustomConverters() { 47 return customConverters; 48 } 49 50 public void setCustomConverters(CustomConverterContainer customConverters) { 51 this.customConverters = customConverters; 52 } 53 54 public String getDateFormat() { 55 return dateFormat; 56 } 57 58 public void setDateFormat(String format) { 59 dateFormat = format; 60 } 61 62 public boolean getWildcard() { 63 return wildcard; 64 } 65 66 public void setWildcard(boolean globalWildcardPolicy) { 67 wildcard = globalWildcardPolicy; 68 } 69 70 public boolean getStopOnErrors() { 71 return stopOnErrors; 72 } 73 74 public void setStopOnErrors(boolean stopOnErrors) { 75 this.stopOnErrors = stopOnErrors; 76 } 77 78 public String getBeanFactory() { 79 return beanFactory; 80 } 81 82 public void setBeanFactory(String beanFactory) { 83 this.beanFactory = beanFactory; 84 } 85 86 public CopyByReferenceContainer getCopyByReferences() { 87 return copyByReferences; 88 } 89 90 public void setCopyByReferences(CopyByReferenceContainer copyByReferenceContainer) { 91 this.copyByReferences = copyByReferenceContainer; 92 } 93 94 public boolean isAccessible() { 95 return isAccessible; 96 } 97 98 public void setAccessible(boolean isAccessible) { 99 this.isAccessible = isAccessible; 100 } 101 } | Popular Tags |