public function setAuthor($author)
    {
        if (!is_null($author) && !$author instanceof ComActivitiesActivityObjectInterface) {
            throw new InvalidArgumentException('Invalid author type.');
        }

        $this->author = $author;
        return $this;
    }