@Override
 public void setValue(Object entity, Object value) {
   EntityType<Object> entityType =
       BeanLocator.getInstance().getInstance(EntityTypeRepository.class).getEntityType(entity);
   MapAttribute attribute = (MapAttribute) entityType.getAttribute(property);
   if (attribute != null) {
     attribute.putElement(entity, key, value);
   }
 }
 @Override
 public Object getValue(Object entity) {
   EntityType<Object> entityType =
       BeanLocator.getInstance().getInstance(EntityTypeRepository.class).getEntityType(entity);
   MapAttribute attribute = (MapAttribute) entityType.getAttribute(property);
   if (attribute == null) {
     return null;
   } else {
     return attribute.getElement(entity, key);
   }
 }