code: public Value getValue() throws ValueFormatException, RepositoryException
     {
        checkValid();
  
        if (isMultiValued())
        {
           throw new ValueFormatException("The property " + getPath() + " is multi-valued (6.2.4)");
        }
  
        if (propertyData.getValues() != null && propertyData.getValues().size() == 0)
        {
           throw new ValueFormatException("The single valued property " + getPath() + " is empty");
        }
  
        return valueFactory.loadValue(propertyData.getValues().get(0), propertyData.getType());
  
     }
docs: {@inheritDoc}