congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
Interactor.getFullName
Code IndexAdd Tabnine to your IDE (free)

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

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

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

public void onFullNameUpdate(T protein, String oldFullName) {
  if (oldFullName == null){
    interactorChangeLogger.log(Level.INFO, "The full name has been initialised for the interactor " + protein.toString());
  }
  else if (protein.getFullName() == null){
    interactorChangeLogger.log(Level.INFO, "The full name has been reset for the interactor " + protein.toString());
  }
  else {
    interactorChangeLogger.log(Level.INFO, "The full name " + oldFullName + " has been updated with " + protein.getFullName() + " in the interactor " + protein.toString());
  }
}
origin: psidev.psi.mi.jami/jami-mitab

if (interactor.getFullName() != null){
  writer.write("|");
  writer.write(CvTerm.PSI_MI);
  writer.write(":");
  escapeAndWriteString(interactor.getFullName());
  writer.write("(");
  writer.write(MitabUtils.DISPLAY_LONG);
origin: psidev.psi.mi.jami/jami-core

hashcode = 31*hashcode + (interactor.getFullName() != null ? interactor.getFullName().hashCode() : 0);
origin: psidev.psi.mi.jami/jami-core

String fullName1 = interactor1.getFullName();
String fullName2 = interactor2.getFullName();
if (fullName1 != null && fullName2 != null){
  if(fullName1.equals(fullName2)){
origin: psidev.psi.mi.jami/jami-core

String fullName1 = interactor1.getFullName();
String fullName2 = interactor2.getFullName();
if (fullName1 == null && fullName2 == null){
  comp = 0;
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());
  }
}
psidev.psi.mi.jami.modelInteractorgetFullName

Javadoc

The full name of the interactor. It can be null Ex: Breast cancer type 2 susceptibility protein

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
  • 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
  • setOrganism
    Sets the source organism of this interactor
  • setInteractorType
    Sets the molecule type for this interactor If the given type is null, this method automatically sets
  • setOrganism,
  • setInteractorType,
  • setShortName

Popular in Java

  • Updating database using SQL prepared statement
  • getExternalFilesDir (Context)
  • onCreateOptionsMenu (Activity)
  • scheduleAtFixedRate (Timer)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • JTable (javax.swing)
  • Top 17 Plugins for Android Studio
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