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

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

Best Java code snippets using psidev.psi.mi.xml.model.Participant.hasExperimentalRoles (Showing top 7 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: org.biopax.paxtools/psimi-converter

if (participant.hasExperimentalRoles()) {
  for (ExperimentalRole role : participant.getExperimentalRoles()) {
    if(exp==null || role.getExperiments().contains(exp) || role.getExperiments().isEmpty()) {
origin: psidev.psi.mi/psimitab

if (xmlParticipant.hasExperimentalRoles()) {
origin: org.biopax.paxtools/psimi-converter

  .create(Evidence.class, genUri(Evidence.class, "p",participant.getId()));
if(participant.hasExperimentalRoles() 
  || participant.hasExperimentalInteractors() 
    || participant.hasFeatures()) 
origin: psidev.psi.mi/psi25-xml

if ( participant.hasExperimentalRoles() ) {
  for ( ExperimentalRole er : participant.getExperimentalRoles() ) {
    if ( er.hasExperimentRefs() ) {
origin: psidev.psi.mi/psi25-xml

if ( mParticipant.hasExperimentalRoles() ) {
  if ( jParticipant.getExperimentalRoleList() == null ) {
    jParticipant.setExperimentalRoleList( new ParticipantType.ExperimentalRoleList() );
origin: psidev.psi.mi/psi25-xml

if ( mParticipant.hasExperimentalRoles() ) {
  if ( jParticipant.getExperimentalRoleList() == null ) {
    jParticipant.setExperimentalRoleList( new psidev.psi.mi.xml254.jaxb.ExperimentalRoleList() );
psidev.psi.mi.xml.modelParticipanthasExperimentalRoles

Javadoc

Check if the optional experimentalRoles is defined.

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.
  • 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

  • Start an intent from android
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • onRequestPermissionsResult (Fragment)
  • setRequestProperty (URLConnection)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Best IntelliJ plugins
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