public void addRelationshipToTopic(final SpecTopic topic, final RelationshipType type) {
        final TopicRelationship relationship = new TopicRelationship(this, topic, type);
        topicRelationships.add(relationship);
        relationships.add(relationship);
    }
public void addRelationshipToTopic ( final SpecTopic topic , final RelationshipType type ) { final TopicRelationship relationship = new TopicRelationship ( this , topic , type ) ; topicRelationships . add ( relationship ) ; relationships . add ( relationship ) ; }
Add a relationship to the topic.

@param topic The topic that is to be related to.
@param type  The type of the relationship.