congrats Icon
New! Announcing our next generation AI code completions
Read here
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

  • Making http requests using okhttp
  • requestLocationUpdates (LocationManager)
  • getContentResolver (Context)
  • onCreateOptionsMenu (Activity)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • PhpStorm for WordPress
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