if(p.hasInteractor()) { String type = getName(p.getInteractor().getInteractorType().getNames()); if(type==null) type = "protein"; //default type (if unspecified) + "; so we'll replace 'gene' with 'dna' (a quick fix)"); for(Participant p : interaction.getParticipants()) { if(p.hasInteractor() && p.getInteractor().getInteractorType().hasNames()) { String type = getName(p.getInteractor().getInteractorType().getNames()); if("gene".equalsIgnoreCase(type)) {
if ( mParticipant.hasInteractor() || mParticipant.hasInteractorRef() ) {
if ( mParticipant.hasInteractor() || mParticipant.hasInteractorRef()) {
if (participant.hasInteractor()) {