public function getRelation() { return array('tables' => $this->tables, 'keys' => $this->keys, 'type' => $this->relationType); }