module/User/src/Grid/User/Model/User/Structure.php
public function setGroupId( $groupId )
    {
        $this->groupId = (int) $groupId ?: null;

        if ( $this->group && $this->group->id != $this->groupId )
        {
            $this->group = null;
        }

        return $this;
    }
public function setGroupId( $groupId )
    {
        $this->groupId = (int) $groupId ?: null;

        if ( $this->group && $this->group->id != $this->groupId )
        {
            $this->group = null;
        }

        return $this;
    }
public function setGroupId ( $ groupId ) { $ this -> groupId = ( int ) $ groupId ? : null ; if ( $ this -> group && $ this -> group -> id != $ this -> groupId ) { $ this -> group = null ; } return $ this ; }
Set group-id

@param int $groupId
@return \User\Model\User\Structure
Set group - id