Tabnine Logo
Interaction.getCreatedDate
Code IndexAdd Tabnine to your IDE (free)

How to use
getCreatedDate
method
in
psidev.psi.mi.jami.model.Interaction

Best Java code snippets using psidev.psi.mi.jami.model.Interaction.getCreatedDate (Showing top 7 results out of 315)

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

public Date getCreatedDate() {
  return wrappedInteraction.getCreatedDate();
}
origin: psidev.psi.mi.jami/jami-core

public void onCreatedDateUpdate(T interaction, Date oldCreated) {
  if (oldCreated == null){
    interactionChangeLogger.log(Level.INFO, "The creation date has been initialised for the interaction " + interaction.toString());
  }
  else if (interaction.getCreatedDate() == null){
    interactionChangeLogger.log(Level.INFO, "The creation date has been reset for the interaction " + interaction.toString());
  }
  else {
    interactionChangeLogger.log(Level.INFO, "The creation date " + oldCreated + " has been updated with " + interaction.getCreatedDate() + " in the interaction " + interaction.toString());
  }
}
origin: psidev.psi.mi.jami/jami-core

  /**
   *
   * @param interaction
   * @return the hashcode consistent with the equals method for this comparator
   */
  public static int hashCode(Interaction interaction){
    if (unambiguousCuratedInteractionBaseComparator == null){
      unambiguousCuratedInteractionBaseComparator = new UnambiguousCuratedInteractionBaseComparator();
    }

    if (interaction == null){
      return 0;
    }

    int hashcode = 31;

    hashcode = 31*hashcode + UnambiguousInteractionBaseComparator.hashCode(interaction);
    hashcode = 31*hashcode + (interaction.getCreatedDate() != null ? interaction.getCreatedDate().hashCode() : 0);
    hashcode = 31*hashcode + (interaction.getUpdatedDate() != null ? interaction.getUpdatedDate().hashCode() : 0);

    return hashcode;
  }
}
origin: psidev.psi.mi.jami/jami-core

Date createdDate1 = interaction1.getCreatedDate();
Date createdDate2 = interaction2.getCreatedDate();
origin: psidev.psi.mi.jami/jami-core

Date createdDate1 = interaction1.getCreatedDate();
Date createdDate2 = interaction2.getCreatedDate();
origin: psidev.psi.mi.jami/jami-core

/**
 * This method will copy basic properties from the Interaction source in the complex target.
 * It will erase existing annotations, xrefs, checksums and identifiers
 * This method does not copy the participants of the source
 * @param source
 * @param target
 */
public static void copyAndOverrideBasicComplexPropertiesWithInteractionProperties(Interaction source, Complex target){
  if (source != null && target != null){
    target.setInteractionType(source.getInteractionType());
    target.setCreatedDate(source.getCreatedDate());
    target.setUpdatedDate(source.getUpdatedDate());
    if (source.getShortName() != null){
      target.setShortName(source.getShortName());
    }
    // copy collections
    target.getAnnotations().clear();
    target.getAnnotations().addAll(source.getAnnotations());
    target.getXrefs().clear();
    target.getXrefs().addAll(source.getXrefs());
    target.getIdentifiers().clear();
    target.getIdentifiers().addAll(source.getIdentifiers());
    target.getChecksums().clear();
    target.getChecksums().addAll(source.getChecksums());
  }
}
origin: psidev.psi.mi.jami/jami-core

target.setCreatedDate(source.getCreatedDate());
target.setShortName(source.getShortName());
target.setInteractionType(source.getInteractionType());
psidev.psi.mi.jami.modelInteractiongetCreatedDate

Javadoc

The creation date. It can be null if not relevant or not known.

Popular methods of Interaction

  • getIdentifiers
    The identifiers for an interaction. The Collection cannot be null. If the interaction does not have
  • getInteractionType
    The interaction type is a controlled vocabulary term. It can be null. Ex: direct interaction, associ
  • getParticipants
    The collection of participants involved in this interaction. The collection cannot be null. If the i
  • getXrefs
    The external cross references for an interaction. The Collection cannot be null. If the interaction
  • addParticipant
    This method will add the participant and set the interaction of the new participant to this current
  • getAnnotations
    The Collection of annotations describing the interaction. The Collection cannot be null. If the inte
  • getChecksums
    Set of checksums computed for this interaction.. The Collection cannot be null so when an interactio
  • getShortName
    The short name of the interaction. It can be null. Ex: foxc1-flna, ...
  • setCreatedDate
    Sets the created date
  • setInteractionType
    Sets the interaction type.
  • setUpdatedDate
    Sets the last update date
  • getRigid
    The checksum computed from the rogids from all the proteins involved in the interaction. It is only
  • setUpdatedDate,
  • getRigid,
  • getUpdatedDate,
  • removeParticipant,
  • setRigid,
  • setShortName

Popular in Java

  • Reactive rest calls using spring rest template
  • onRequestPermissionsResult (Fragment)
  • requestLocationUpdates (LocationManager)
  • getSupportFragmentManager (FragmentActivity)
  • Path (java.nio.file)
  • 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
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Reference (javax.naming)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Top 12 Jupyter Notebook extensions
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