public function getRelation($relationName) {
        $relationInstance = null;
        if (isset($this->relations[$relationName])) {
            $relationInstance = $this->relations[$relationName];
        }
        return $relationInstance;
    }