Codota Logo
Participant.hasExperimentalRoles
Code IndexAdd Codota 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)

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

  • Reactive rest calls using spring rest template
  • getExternalFilesDir (Context)
  • compareTo (BigDecimal)
  • getApplicationContext (Context)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • InetAddress (java.net)
    This class represents an Internet Protocol (IP) address. An IP address is either a 32-bit or 128-bit
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • JPanel (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
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