public function getOnePropertyValue( core_kernel_classes_Property $property, $last = false)
    {
        $returnValue = null;
        if($last){
            throw new core_kernel_persistence_Exception('parameter \'last\' for getOnePropertyValue no longer supported');
        };
        
		$options = array(
			'forceDefaultLg' => true,
		    'one' => true
		);  

		$value = $this->getPropertyValues($property, $options);
		
		if (count($value)){
			$returnValue = common_Utils::toResource(current($value));
		}

        return $returnValue;
    }