Codota Logo
SmallMoleculeImpl.<init>
Code IndexAdd Codota to your IDE (free)

How to use
uk.ac.ebi.intact.model.SmallMoleculeImpl
constructor

Best Java code snippets using uk.ac.ebi.intact.model.SmallMoleculeImpl.<init> (Showing top 3 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: uk.ac.ebi.intact.core/intact-core

public SmallMolecule createSmallMolecule(String chebiId, String shortLabel) {
   CvInteractorType intType = createCvObject(CvInteractorType.class, CvInteractorType.SMALL_MOLECULE_MI_REF,
                        CvInteractorType.SMALL_MOLECULE);
  SmallMolecule smallMolecule = new SmallMoleculeImpl(shortLabel, getInstitution(), intType);
  InteractorXref idXref = createIdentityXrefChebi(smallMolecule, chebiId);
  smallMolecule.addXref(idXref);
  InteractorAlias alias = createAliasGeneName(smallMolecule, shortLabel.toUpperCase());
  smallMolecule.addAlias(alias);
  return smallMolecule;
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

public SmallMolecule createSmallMolecule(String chebiId, String shortLabel) {
   CvInteractorType intType = createCvObject(CvInteractorType.class, CvInteractorType.SMALL_MOLECULE_MI_REF,
                        CvInteractorType.SMALL_MOLECULE);
  SmallMolecule smallMolecule = new SmallMoleculeImpl(shortLabel, getInstitution(), intType);
  InteractorXref idXref = createIdentityXrefChebi(smallMolecule, chebiId);
  smallMolecule.addXref(idXref);
  InteractorAlias alias = createAliasGeneName(smallMolecule, shortLabel.toUpperCase());
  smallMolecule.addAlias(alias);
  return smallMolecule;
}
origin: uk.ac.ebi.intact.dataexchange.psimi/intact-psixml-converters

  interactor = new ProteinImpl( getInstitution(), organism, shortLabel, interactorType );
} else if ( CvInteractorType.SMALL_MOLECULE_MI_REF.equals(typeId)) {
  interactor = new SmallMoleculeImpl( shortLabel, getInstitution(), interactorType );
  interactor.setBioSource( organism );
} else if ( CvInteractorType.NUCLEIC_ACID_MI_REF.equals(typeId) || dnaMis.contains(typeId) ||
  interactor = new ProteinImpl( getInstitution(), organism, shortLabel, interactorType );
} else if ( interactorTypeLabel.equals( CvInteractorType.SMALL_MOLECULE ) ) {
  interactor = new SmallMoleculeImpl( shortLabel, getInstitution(), interactorType );
  interactor.setBioSource( organism );
} else if (CvInteractorType.NUCLEIC_ACID.equals(interactorTypeLabel) || dnaLabels.contains(interactorTypeLabel) ||
uk.ac.ebi.intact.modelSmallMoleculeImpl<init>

Popular methods of SmallMoleculeImpl

    Popular in Java

    • Finding current android device location
    • getSharedPreferences (Context)
    • getOriginalFilename (MultipartFile)
      Return the original filename in the client's filesystem.This may contain path information depending
    • getApplicationContext (Context)
    • VirtualMachine (com.sun.tools.attach)
      A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
    • Thread (java.lang)
      A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
    • URLConnection (java.net)
      The abstract class URLConnection is the superclass of all classes that represent a communications li
    • Iterator (java.util)
      An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
    • TreeSet (java.util)
      A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
    • Options (org.apache.commons.cli)
      Main entry-point into the library. Options represents a collection of Option objects, which describ
    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