congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Participant.getInteraction
Code IndexAdd Tabnine to your IDE (free)

How to use
getInteraction
method
in
psidev.psi.mi.xml.model.Participant

Best Java code snippets using psidev.psi.mi.xml.model.Participant.getInteraction (Showing top 7 results out of 315)

origin: uk.ac.ebi.intact.dataexchange.psimi/intact-psixml-converters

public static Collection<Object> nonRedundantInteractorsFromPsiEntry(Entry psiEntry) {
  Map<Integer, Object> nonRedundantInteractors = new HashMap<Integer, Object>();
  if( ConverterContext.getInstance().isGenerateExpandedXml() ) {
    // iterate to get the unique experiments/interactors
    for (psidev.psi.mi.xml.model.Interaction interaction : psiEntry.getInteractions()) {
      for (Participant participant : interaction.getParticipants()) {
        if (participant.getInteractor() != null){
          nonRedundantInteractors.put(participant.getInteractor().getId(), participant.getInteractor());
        }
        else if (participant.getInteraction() != null){
          nonRedundantInteractors.put(participant.getInteraction().getId(), participant.getInteraction());
        }
      }
    }
  } else {
    for ( psidev.psi.mi.xml.model.Interactor interactor : psiEntry.getInteractors() ) {
      nonRedundantInteractors.put( interactor.getId(), interactor );
    }
  }
  return nonRedundantInteractors.values();
}
origin: org.biopax.paxtools/psimi-converter

participantInteractions.add(participant.getInteraction());
origin: uk.ac.ebi.intact.dataexchange.psimi/intact-psixml-converters

if (participant.getInteractor() == null && participant.getInteraction() == null) {
  throw new PsiConversionException("Participant without interactor found: "+participant+" in interaction: "+interaction);
origin: uk.ac.ebi.intact.dataexchange.psimi/intact-psixml-converters

else if (participant.getInteraction() != null){
  interactor = this.interactionConverter.psiToIntact(participant.getInteraction());
origin: org.biopax.paxtools/psimi-converter

} else if(participant.hasInteraction()) {
  entity = (Complex) processInteraction(participant.getInteraction(), avail, pro, true);
origin: psidev.psi.mi/psi25-xml

  jParticipant.setInteractionRef( mParticipant.getInteraction().getId() );
} else {
  throw new ConverterException( "Neither an interactor or an interaction was present in participant " + mParticipant.getId() );
origin: psidev.psi.mi/psi25-xml

  jParticipant.setInteractionRef( mParticipant.getInteraction().getId() );
} else {
  throw new ConverterException( "Neither an interactor or an interaction was present in participant " + mParticipant.getId() );
psidev.psi.mi.xml.modelParticipantgetInteraction

Javadoc

Gets the value of the interactionRef property.

Popular methods of Participant

  • getInteractor
    Gets the value of the interactor property.
  • getExperimentalRoles
    Gets the value of the experimentalRoleList property.
  • getFeatures
    Gets the value of the featureList property.
  • getAttributes
    Gets the value of the attributeList property.
  • getBiologicalRole
    Gets the value of the biologicalRole property.
  • getExperimentalInteractors
    Gets the value of the experimentalInteractorList property.
  • getId
    Gets the value of the id property.
  • getParticipantIdentificationMethods
    Gets the value of the participantIdentificationMethodList property.
  • hasExperimentalRoles
    Check if the optional experimentalRoles is defined.
  • setBiologicalRole
    Sets the value of the biologicalRole property.
  • setInteractor
    Sets the value of the interactor property.
  • <init>
  • setInteractor,
  • <init>,
  • getConfidenceList,
  • getExperimentalPreparations,
  • getHostOrganisms,
  • getNames,
  • getParameters,
  • getXref,
  • hasAttributes

Popular in Java

  • Updating database using SQL prepared statement
  • getExternalFilesDir (Context)
  • getSystemService (Context)
  • setScale (BigDecimal)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now