Codota Logo
Participant.setInteractor
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: psidev.psi.mi/psi25-xml

public static Participant createParticipant(Interactor interactor, BiologicalRole biologicalRole, ExperimentalRole experimentalRole) {
  Participant participant = new Participant();
  assignNextId(participant);
  participant.setInteractor(interactor);
  participant.setBiologicalRole(biologicalRole);
  participant.getExperimentalRoles().add(experimentalRole);
  return participant;
}
origin: uk.ac.ebi.intact.dataexchange.psimi/intact-psixml-converters

psidev.psi.mi.xml.model.Interactor interactor = interactorConverter.intactToPsi(intactObject.getInteractor());
if( ConverterContext.getInstance().isGenerateExpandedXml() ) {
  participant.setInteractor(interactor);
} else {
  participant.setInteractorRef(new InteractorRef(interactor.getId()));
origin: psidev.psi.mi/psi25-xml

  mParticipant.setInteractorRef( new InteractorRef( jParticipant.getInteractorRef() ) );
} else {
  mParticipant.setInteractor( mInteractor );
mParticipant.setInteractor( mInteractor );
origin: psidev.psi.mi/psi25-xml

private void removeInteractorRedundancy( EntrySet mEntrySet ) {
  if( ConverterContext.getInstance().getConverterConfig().getXmlForm() == PsimiXmlForm.FORM_COMPACT ) {
    for ( Entry entry : mEntrySet.getEntries() ) {
      Map<Interactor, Interactor> uniqueInteractors = new HashMap<Interactor, Interactor>();
      for ( Interaction interaction : entry.getInteractions() ) {
        for ( Participant participant : interaction.getParticipants() ) {
          if( participant.getInteractor() != null ) {
            final Interactor myInteractor = participant.getInteractor();
            if( uniqueInteractors.containsKey( myInteractor ) ) {
              final Interactor uniq = uniqueInteractors.get( myInteractor );
              participant.setInteractor( uniq );
            } else {
              uniqueInteractors.put( myInteractor, myInteractor );
            }
          }
        } // participants
      } // interactions
      // if we had a compact format, we cannot remove interactor redundancy without changing the interactions
      // and update the interactor xref
      if (!uniqueInteractors.isEmpty()){
        entry.getInteractors().clear();
        entry.getInteractors().addAll( uniqueInteractors.keySet() );
      }
    } // entries
  } // model is compact
}
origin: psidev.psi.mi/psi25-xml

  mParticipant.setInteractorRef( new InteractorRef( jParticipant.getInteractorRef() ) );
} else {
  mParticipant.setInteractor( mInteractor );
mParticipant.setInteractor( mInteractor );
origin: psidev.psi.mi/psimitab

participant.setInteractor(interactor);
origin: psidev.psi.mi/psi25-xml

participant.setInteractor( interactor );
psidev.psi.mi.xml.modelParticipantsetInteractor

Javadoc

Sets the value of the interactor 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.
  • getInteraction
  • getParticipantIdentificationMethods
    Gets the value of the participantIdentificationMethodList property.
  • hasExperimentalRoles
    Check if the optional experimentalRoles is defined.
  • setBiologicalRole
    Sets the value of the biologicalRole property.
  • <init>
  • setBiologicalRole,
  • <init>,
  • getConfidenceList,
  • getExperimentalPreparations,
  • getHostOrganisms,
  • getNames,
  • getParameters,
  • getXref,
  • hasAttributes

Popular in Java

  • Parsing JSON documents to java classes using gson
  • compareTo (BigDecimal)
  • getExternalFilesDir (Context)
  • getSystemService (Context)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Hashtable (java.util)
    Hashtable is a synchronized implementation of Map. All optional operations are supported.Neither key
  • JLabel (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now