public function setRepositoryClassName($repositoryClassName)
    {
        if ($this->modelType === self::MODELTYPE_VALUEOBJECT && $repositoryClassName !== null) {
            throw new Exception\ClassSchemaConstraintViolationException('Value objects must not be aggregate roots (have a repository)', 1268739172);
        }
        $this->repositoryClassName = $repositoryClassName;
    }
public function setRepositoryClassName($repositoryClassName)
    {
        if ($this->modelType === self::MODELTYPE_VALUEOBJECT && $repositoryClassName !== null) {
            throw new Exception\ClassSchemaConstraintViolationException('Value objects must not be aggregate roots (have a repository)', 1268739172);
        }
        $this->repositoryClassName = $repositoryClassName;
    }
public function setRepositoryClassName ( $ repositoryClassName ) { if ( $ this -> modelType === self :: MODELTYPE_VALUEOBJECT && $ repositoryClassName !== null ) { throw new Exception \ ClassSchemaConstraintViolationException ( 'Value objects must not be aggregate roots (have a repository)' , 1268739172 ) ; } $ this -> repositoryClassName = $ repositoryClassName ; }
Set the class name of the repository managing an entity.

@param string $repositoryClassName
@return void
@throws Exception\ClassSchemaConstraintViolationException
Set the class name of the repository managing an entity .