Added javaDoc to all methods in the Relationship class