public function relations()
{
// NOTE: you may need to adjust the relation name and the related
// class name for the relations automatically generated below.
return array('object_term' => array(self::BELONGS_TO, 'Term', 'term_id'), 'object' => array(self::BELONGS_TO, 'Object', 'object_id'));
}