congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Participant.getId
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: psidev.psi.mi/psimitab

protected boolean isBait(Participant participant) {
  if (participant == null) {
    throw new IllegalArgumentException("Participant must not be null.");
  }
  if (participant.hasExperimentalRoles()) {
    for (ExperimentalRole role : participant.getExperimentalRoles()) {
      // search for bait
      log.debug("Checking if participant (id:" + participant.getId() + ") is a bait.");
      if (XrefUtils.hasPsiId(role.getXref(), BAIT_MI_REF)) {
        log.debug("Yes it is.");
        return true;
      }
      log.debug("No it is not.");
    }
  }
  return false;
}
origin: psidev.psi.mi/psi25-xml

psiIndex.addParticipant( participant.getId(), isr );
origin: psidev.psi.mi/psi25-xml

psiIndex.addParticipant( participant.getId(), isr );
origin: org.biopax.paxtools/psimi-converter

private Entity createBiopaxEntity(Participant participant, Set<String> avail, Provenance pro) 
  LOG.debug("createBiopaxEntity, processing participant: " + participant.getId());
    .create(Evidence.class, genUri(Evidence.class, "p",participant.getId()));
        LOG.debug("createBiopaxEntity, participant: " + participant.getId() 
            + ", exp. interactor: " + interactor.getId());
        Entity expEntity = createParticipant(participant, interactor, avail, pro, true);
      LOG.debug("createBiopaxEntity, participant: " + participant.getId() 
          + " doesn't have any exp. interactors");
      createAddExperimentalForm(participant, participantEvidence, null, null);
origin: psidev.psi.mi/psi25-xml

for (psidev.psi.mi.xml.model.Participant mParticipant : mInteraction.getParticipants()) {
  if (!participantIds.contains(mParticipant.getId())) {
    mEntry.getInteractors().add(mParticipant.getInteractor());
    participantIds.add(mParticipant.getInteractor().getId());
origin: org.biopax.paxtools/psimi-converter

  + participant.getId() + " has got null interactor");
    + ", participant:" + participant.getId() + ").");
return null;
origin: psidev.psi.mi/psi25-xml

  throw new PsimiXmlReaderException("The interaction " + ref.getRef() + " has a participant ("+participant.getId()+") which is an interaction and this interaction is referring to itself." +
      " It is not a valid participant.");
  throw new PsimiXmlReaderException("The participant "+participant.getId()+" refers to the interaction " + ref.getRef() + " but this interaction cannot be found by the parser. Please check that this interaction is described somewhere in the list of interactions.");
throw new PsimiXmlReaderException("The  participant ("+participant.getId()+") doesn't have any interactions attached to it.");
throw new PsimiXmlReaderException("The participant "+participant.getId()+" refers to the interactor " + ref.getRef() + " but this interactior cannot be found by the parser. " +
    "Please check that you are not mixing the expanded PSI xml schema and the compact PSI xml schema together. Either all the interactors are described at the beginning of the file and" +
    " all the participants then use references to pre-declared interactors or all the interactors are only described at the level of the participants and no interactor reference can be used.");
        throw new PsimiXmlReaderException( "The participant ("+ participant.getId() +") defined in interaction (id="+
            parentInteraction.getId()+") has a participant identification method which refers to experiment ref "+ eref.getRef() +"," +
            "however, this experiment isn't defined in this interaction." +
        throw new PsimiXmlReaderException("The participant "+participant.getId()+" has a participant identification method which refers to the experiment " + eref.getRef() + " but this experiment cannot be found by the parser." +
            " Please check that you are not mixing the expanded PSI xml schema and the compact PSI xml schema together. Either all the experiments are described at the beginning of the file and" +
            " all the interactions and participants then use references to pre-declared experiments or all the experiments are only described at the level of the interactions and no experiment reference can be used.");
        throw new PsimiXmlReaderException( "The participant ("+ participant.getId() +") defined in interaction (id="+
            parentInteraction.getId()+") has an experimental role which refers to experiment ref "+ eref.getRef() +"," +
            "however, this experiment isn't defined in this interaction." +
        throw new PsimiXmlReaderException("The participant "+participant.getId()+" has an experimental role which refers to the experiment " + eref.getRef() + " but this experiment cannot be found by the parser." +
            " Please check that you are not mixing the expanded PSI xml schema and the compact PSI xml schema together. Either all the experiments are described at the beginning of the file and" +
            " all the interactions and participants then use references to pre-declared experiments or all the experiments are only described at the level of the interactions and no experiment reference can be used.");
        throw new PsimiXmlReaderException( "The participant ("+ participant.getId() +") defined in interaction (id="+
            parentInteraction.getId()+") has an experimental preparation which refers to experiment ref "+ eref.getRef() +"," +
origin: psidev.psi.mi/psi25-xml

if (!participantIds.contains(mParticipant.getId())) {
  jEntry.getInteractorList().getInteractors().add(interactorConverter.toJaxb(mParticipant.getInteractor()));
  participantIds.add(mParticipant.getId());
origin: psidev.psi.mi/psi25-xml

jParticipant.setParticipantRef( mInferredInteractionParticipant.getParticipant().getId() );
origin: psidev.psi.mi/psi25-xml

if (!participantIds.contains(mParticipant.getId())) {
  jEntry.getInteractorList().getInteractors().add( interactorConverter.toJaxb(mParticipant.getInteractor()));
  participantIds.add(mParticipant.getId());
origin: psidev.psi.mi/psi25-xml

jParticipant.setParticipantRef( mInferredInteractionParticipant.getParticipant().getId() );
origin: psidev.psi.mi/psi25-xml

jParticipant.setId( mParticipant.getId() );
  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.setId( mParticipant.getId() );
  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.modelParticipantgetId

Javadoc

Gets the value of the id 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.
  • 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.
  • setInteractor
    Sets the value of the interactor property.
  • <init>
  • setInteractor,
  • <init>,
  • getConfidenceList,
  • getExperimentalPreparations,
  • getHostOrganisms,
  • getNames,
  • getParameters,
  • getXref,
  • hasAttributes

Popular in Java

  • Creating JSON documents from java classes using gson
  • getApplicationContext (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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