@Override public String getDateFormat() { return FieldMapUtils.getDateFormat(getDestField(), getClassMap()); }
@Override public String getDateFormat() { return FieldMapUtils.getDateFormat(getDestField(), getClassMap()); }
@Override public DozerPropertyDescriptor getSrcPropertyDescriptor(Class<?> runtimeSrcClass) { DozerPropertyDescriptor result = getSrcPropertyDescriptorMap().get(runtimeSrcClass); if (result == null) { DozerPropertyDescriptor descriptor = PropertyDescriptorFactory.getPropertyDescriptor(runtimeSrcClass, getClassMap(), getSrc(), getDestField()); getSrcPropertyDescriptorMap().putIfAbsent(runtimeSrcClass, descriptor); result = descriptor; } return result; }
@Override public DozerPropertyDescriptor getSrcPropertyDescriptor(Class<?> runtimeSrcClass) { DozerPropertyDescriptor result = getSrcPropertyDescriptorMap().get(runtimeSrcClass); if (result == null) { DozerPropertyDescriptor descriptor = PropertyDescriptorFactory.getPropertyDescriptor(runtimeSrcClass, getClassMap(), getSrc(), getDestField()); getSrcPropertyDescriptorMap().putIfAbsent(runtimeSrcClass, descriptor); result = descriptor; } return result; }
@Override public DozerPropertyDescriptor getDestPropertyDescriptor(Class<?> runtimeDestClass) { DozerPropertyDescriptor result = getDestPropertyDescriptorMap().get(runtimeDestClass); if (result == null) { DozerPropertyDescriptor descriptor = PropertyDescriptorFactory.getPropertyDescriptor(runtimeDestClass, getDestFieldTheGetMethod(), getDestFieldTheSetMethod(), getDestFieldMapGetMethod(), getDestFieldMapSetMethod(), isDestFieldAccessible(), isDestFieldIndexed(), getDestFieldIndex(), getDestFieldName(), getDestFieldKey(), isDestSelfReferencing(), getSrcFieldName(), getDestDeepIndexHintContainer(), getClassMap().getDestClassBeanFactory()); getDestPropertyDescriptorMap().putIfAbsent(runtimeDestClass, descriptor); result = descriptor; } return result; }
@Override public DozerPropertyDescriptor getDestPropertyDescriptor(Class<?> runtimeDestClass) { DozerPropertyDescriptor result = getDestPropertyDescriptorMap().get(runtimeDestClass); if (result == null) { DozerPropertyDescriptor descriptor = PropertyDescriptorFactory.getPropertyDescriptor(runtimeDestClass, getDestFieldTheGetMethod(), getDestFieldTheSetMethod(), getDestFieldMapGetMethod(), getDestFieldMapSetMethod(), isDestFieldAccessible(), isDestFieldIndexed(), getDestFieldIndex(), getDestFieldName(), getDestFieldKey(), isDestSelfReferencing(), getSrcFieldName(), getDestDeepIndexHintContainer(), getClassMap().getDestClassBeanFactory()); getDestPropertyDescriptorMap().putIfAbsent(runtimeDestClass, descriptor); result = descriptor; } return result; }