@Override protected Interactor newIntactObjectInstance( psidev.psi.mi.xml.model.Interactor psiObject ) { String shortLabel = psiObject.getNames().getShortLabel(); return newInteractorAccordingToType( psiObject.getOrganism(), shortLabel, psiObject.getInteractorType() ); }
String type = interactor.getInteractorType().getNames().getShortLabel();
for(Participant p : interaction.getParticipants()) { if(p.hasInteractor()) { String type = getName(p.getInteractor().getInteractorType().getNames()); if(type==null) type = "protein"; //default type (if unspecified) participantTypes.add(type.toLowerCase()); + "; 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)) { p.getInteractor().getInteractorType().getNames().setShortLabel("dna");
if (xmlInteractor.getInteractorType() != null) { InteractorType xmlInteractorType = xmlInteractor.getInteractorType(); CrossReference cr = cvConverter.toMitab(xmlInteractorType);
CvType interactorType = interactor.getInteractorType(); if (interactorType != null && interactorType.hasNames()) { entityType = getName(interactorType.getNames());
jInteractor.setInteractorType( cvTypeConverter.toJaxb( mInteractor.getInteractorType() ) );
jInteractor.setInteractorType( cvTypeConverter.toJaxb( mInteractor.getInteractorType() ) );
nodeTable.getRow(node.getSUID()).set(CyNetwork.NAME, nameColumn); final InteractorType itrType = interactor.getInteractorType(); final Names typeNames = itrType.getNames(); if(typeNames != null) {