public List < TargetRelationship > getPrerequisiteLevelRelationships ( ) { final ArrayList < TargetRelationship > relationships = new ArrayList < TargetRelationship > ( ) ; for ( final TargetRelationship relationship : levelRelationships ) { if ( relationship . getType ( ) == RelationshipType . PREREQUISITE ) { relationships . add ( relationship ) ; } } return relationships ; }
Gets the list of Level Relationships for this topic whose type is PREREQUISITE .