activity/object/object.php
public function setObjectName($name)
    {
        if (!is_null($name)) {
            $name = (string) $name;
        }

        $this->objectName = $name;
        return $this;
    }
public function setObjectName($name)
    {
        if (!is_null($name)) {
            $name = (string) $name;
        }

        $this->objectName = $name;
        return $this;
    }
public function setObjectName ( $ name ) { if ( ! is_null ( $ name ) ) { $ name = ( string ) $ name ; } $ this -> objectName = $ name ; return $ this ; }
Set the activity object name.

@see ComActivitiesActivityObject::getObjectName

@param string|null $name The activity object name.
@return ComActivitiesActivityObject
Set the activity object name .