public function setUniqueIdentifier($value)
    {
        $this->newRecord = $value === null;
        $this->uniqueIdentifier = $value;
        $this[$this->uniqueIdentifierColumnName] = $value;
    }
public function setUniqueIdentifier($value)
    {
        $this->newRecord = $value === null;
        $this->uniqueIdentifier = $value;
        $this[$this->uniqueIdentifierColumnName] = $value;
    }
public function setUniqueIdentifier ( $ value ) { $ this -> newRecord = $ value === null ; $ this -> uniqueIdentifier = $ value ; $ this [ $ this -> uniqueIdentifierColumnName ] = $ value ; }
Set's the unique identifier for this object.

This method is provided for the repositories to update newly created objects with their
unique identifier and should not be used in any other circumstances unless you really know
what you're doing!

@param $value
Set s the unique identifier for this object .