public function set($name, $value, $type = self::PROPERTY_TYPES_STRAIGHTVALUE, $objectConfiguration = null, $lazyLoading = true)
    {
        $this->name = $name;
        $this->value = $value;
        $this->type = $type;
        $this->objectConfiguration = $objectConfiguration;
        $this->lazyLoading = $lazyLoading;
    }
public function set($name, $value, $type = self::PROPERTY_TYPES_STRAIGHTVALUE, $objectConfiguration = null, $lazyLoading = true)
    {
        $this->name = $name;
        $this->value = $value;
        $this->type = $type;
        $this->objectConfiguration = $objectConfiguration;
        $this->lazyLoading = $lazyLoading;
    }
public function set ( $ name , $ value , $ type = self :: PROPERTY_TYPES_STRAIGHTVALUE , $ objectConfiguration = null , $ lazyLoading = true ) { $ this -> name = $ name ; $ this -> value = $ value ; $ this -> type = $ type ; $ this -> objectConfiguration = $ objectConfiguration ; $ this -> lazyLoading = $ lazyLoading ; }
Sets the name, type and value of the property

@param string $name Name of the property
@param mixed $value Value of the property
@param integer $type Type of the property - one of the PROPERTY_TYPE_* constants
@param Configuration $objectConfiguration If $type is OBJECT, a custom object configuration may be specified
@param boolean $lazyLoading
@return void
Sets the name type and value of the property