Gets the type of relationship represented by an Relation.
a pointer to the Relation object to query.
an RelationType indicating the type of relation encapsulated in this Relation object.