public function setRelationshipType(RelationshipType $relationship_type) { $this->relationship_type = $relationship_type; return $this; }