code: public Value[] getValueArray() throws RepositoryException
     {
        Value[] values = new Value[propertyData.getValues().size()];
        for (int i = 0; i < values.length; i++)
        {
           values[i] = valueFactory.loadValue(propertyData.getValues().get(i), propertyData.getType());
        }
        return values;
     }
docs: Copies property values into array.
  
  @return array of property values
  @throws RepositoryException
  if any Exception is occurred