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

How to use
setOrganism
method
in
psidev.psi.mi.jami.model.Interactor

Best Java code snippets using psidev.psi.mi.jami.model.Interactor.setOrganism (Showing top 2 results out of 315)

origin: psidev.psi.mi.jami/jami-core

/***
 * This method will copy properties of interactor source in interactor target and will override all the other properties of Target interactor.
 * @param source
 * @param target
 */
public static void copyAndOverrideBasicInteractorProperties(Interactor source, Interactor target){
  if (source != null && target != null){
    target.setShortName(source.getShortName());
    target.setFullName(source.getFullName());
    target.setInteractorType(source.getInteractorType());
    target.setOrganism(source.getOrganism());
    // copy collections
    target.getAnnotations().clear();
    target.getAnnotations().addAll(source.getAnnotations());
    target.getIdentifiers().clear();
    target.getIdentifiers().addAll(source.getIdentifiers());
    target.getAliases().clear();
    target.getAliases().addAll(source.getAliases());
    target.getXrefs().clear();
    target.getXrefs().addAll(source.getXrefs());
    target.getChecksums().clear();
    target.getChecksums().addAll(source.getChecksums());
  }
}
origin: psidev.psi.mi.jami/jami-mitab

interactor.setOrganism(currentOrganism);
interactor.setOrganism(organisms.iterator().next());
psidev.psi.mi.jami.modelInteractorsetOrganism

Javadoc

Sets the source organism of this interactor

Popular methods of Interactor

  • getShortName
    The short name of the interactor. It cannot be null or empty. Ex: brca2
  • getAliases
    Collection of aliases for an interactor The Collection cannot be null and if the interactor does not
  • getAnnotations
    Collection of annotations for an interactor. The set cannot be null and if the interactor does not h
  • getIdentifiers
    Set of identifiers for this interactor. The identifiers can be from different databases, can be prim
  • getInteractorType
    The molecule type of this interactor. It is a controlled vocabulary term and cannot be null. Ex: pro
  • getOrganism
    The original source organism for this interactor. It can be null in case of chemical compounds/synth
  • getChecksums
    Set of checksums computed for this interactor. The Collection cannot be null so when an interactor d
  • getXrefs
    Collection of other xrefs that give more information about the interactor. Ex: GO references to give
  • getFullName
    The full name of the interactor. It can be null Ex: Breast cancer type 2 susceptibility protein
  • getPreferredIdentifier
    The identifier in the list of identifiers which is the preferred identifier. If no identifiers is pr
  • setFullName
    Sets the full name of the interactor
  • setInteractorType
    Sets the molecule type for this interactor If the given type is null, this method automatically sets
  • setFullName,
  • setInteractorType,
  • setShortName

Popular in Java

  • Reactive rest calls using spring rest template
  • findViewById (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSharedPreferences (Context)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Best plugins for Eclipse
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