*/
protected Class getRepresentation(final String beanKey, final BeanFactory factory, final boolean isDto)
throws BeanFactoryNotFoundException, BeanFactoryUnableToLocateRepresentationException {
if (factory == null) {
if (isDto) {
throw new BeanFactoryNotFoundException(
dtoFieldName, beanKey, true);
} else {
throw new BeanFactoryNotFoundException(
entityFieldName, beanKey, false);
}
}
final Class representation = factory.getClazz(beanKey);
if (representation == null) {