code: @Override
    public Object mapRepositoryProperty(RepositoryItem pItem) {
      Object propertyValue = pItem.getPropertyValue(getRepositoryPropertyName());
      try {
        Object enumItem;
        if(mEnumRepositoryType.getUseCodeForValue()) {
          enumItem = mFromCode.invoke(null, propertyValue);
        } else {
          enumItem = mFromValue.invoke(null, propertyValue);
        }
        return mBeanPropertyDescriptor.getPropertyType().cast(enumItem);
      } catch (Exception e) {
        throw new MappingException(String.format("Error extracting and converting [%s] enum", propertyValue), e);
      }
    }
docs: /* (non-Javadoc)
  @see com.github.talberto.easybeans.atg.PropertyMapper#mapRepositoryProperty(atg.repository.RepositoryItem)