public function addProperty($name, $edmType, $value, $rawValue = '')
    {
        $p = new Property();
        $p->setEdmType($edmType);
        $p->setValue($value);
        $p->setRawValue($rawValue);
        $this->setProperty($name, $p);
    }
public function addProperty($name, $edmType, $value, $rawValue = '')
    {
        $p = new Property();
        $p->setEdmType($edmType);
        $p->setValue($value);
        $p->setRawValue($rawValue);
        $this->setProperty($name, $p);
    }
public function addProperty ( $ name , $ edmType , $ value , $ rawValue = '' ) { $ p = new Property ( ) ; $ p -> setEdmType ( $ edmType ) ; $ p -> setValue ( $ value ) ; $ p -> setRawValue ( $ rawValue ) ; $ this -> setProperty ( $ name , $ p ) ; }
Creates new entity property.

@param string $name     The property name.
@param string $edmType  The property edm type.
@param mixed  $value    The property value.
@param string $rawValue The raw value of the property.
Creates new entity property .