public List < Relationship > getRelatedRelationships ( ) { final List < Relationship > relatedRelationships = new LinkedList < Relationship > ( ) ; for ( final Relationship r : relationships ) { if ( r . getType ( ) == RelationshipType . REFER_TO ) { relatedRelationships . add ( r ) ; } } return relatedRelationships ; }
Gets a list of related relationships for the topic .