Codota Logo
ExperimentListGenerator.getCreatedYear
Code IndexAdd Codota to your IDE (free)

How to use
getCreatedYear
method
in
uk.ac.ebi.intact.application.dataConversion.ExperimentListGenerator

Best Java code snippets using uk.ac.ebi.intact.application.dataConversion.ExperimentListGenerator.getCreatedYear (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
origin: uk.ac.ebi.intact.app/data-conversion

/**
 * Gets the parent folders for the element
 */
private String parentFolders( Collection<SimplifiedAnnotatedObject<Experiment>> experiments,
               Classification classification ) {
  String parentFolders = null;
  switch ( classification ) {
    case SPECIES:
      parentFolders = speciesFolderName;
      break;
    case PUBLICATIONS:
      String year = getCreatedYear( experiments );
      parentFolders = publicationsFolderName + FileHelper.SLASH + year;
      break;
    case DATASETS:
      if( currentDataset == null ) {
        throw new IllegalStateException( "currentDataset should have been set prior to calling that method." );
      }
      parentFolders = datasetFolderName + FileHelper.SLASH + currentDataset;
      break;
  }
  return parentFolders;
}
origin: uk.ac.ebi.intact.util/data-conversion

/**
 * Gets the parent folders for the element
 */
private String parentFolders( Collection<SimplifiedAnnotatedObject<Experiment>> experiments,
               Classification classification ) {
  String parentFolders = null;
  switch ( classification ) {
    case SPECIES:
      parentFolders = speciesFolderName;
      break;
    case PUBLICATIONS:
      String year = getCreatedYear( experiments );
      parentFolders = publicationsFolderName + FileHelper.SLASH + year;
      break;
    case DATASETS:
      if( currentDataset == null ) {
        throw new IllegalStateException( "currentDataset should have been set prior to calling that method." );
      }
      parentFolders = datasetFolderName + FileHelper.SLASH + currentDataset;
      break;
  }
  return parentFolders;
}
origin: uk.ac.ebi.intact.dataexchange.psimi.legacy/data-conversion

/**
 * Gets the parent folders for the element
 */
private String parentFolders( Collection<SimplifiedAnnotatedObject<Experiment>> experiments,
               Classification classification ) {
  String parentFolders = null;
  switch ( classification ) {
    case SPECIES:
      parentFolders = speciesFolderName;
      break;
    case PUBLICATIONS:
      String year = getCreatedYear( experiments );
      parentFolders = publicationsFolderName + FileHelper.SLASH + year;
      break;
    case DATASETS:
      if( currentDataset == null ) {
        throw new IllegalStateException( "currentDataset should have been set prior to calling that method." );
      }
      parentFolders = datasetFolderName + FileHelper.SLASH + currentDataset;
      break;
  }
  return parentFolders;
}
uk.ac.ebi.intact.application.dataConversionExperimentListGeneratorgetCreatedYear

Javadoc

Given a set of Experiments, it returns the year of the date of creation of the oldest experiment.

Popular methods of ExperimentListGenerator

  • addToList
  • classifyExperiments
    Classify experiments matching searchPattern into a data structure according to species and experimen
  • classifyNegatives
    Checks for a negative interaction. NB This will have to be done using SQL otherwise we end up materi
  • createExpListItems
  • createExperimentListItems
  • createItemClassificationByDataset
    Build the classification by dataset. We keep the negative experiment separated from the non negative
  • createItemClassificationByPubmed
    Build the classification by pubmed id. We keep the negative experiment separated from the non negati
  • createItemClassificationBySpecies
  • generateClassificationByPublications
  • generateClassificationBySpecies
  • getDaoFactory
  • getDatasets
    Fetch dataset information (if any) from experiment.
  • getDaoFactory,
  • getDatasets,
  • getExperiments,
  • getFilteredExperimentAcs,
  • getNegativeExperiments,
  • getPubmedId,
  • getTargetSpecies,
  • interactionsForExperiment,
  • isNegative

Popular in Java

  • Making http requests using okhttp
  • getApplicationContext (Context)
  • putExtra (Intent)
  • findViewById (Activity)
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
  • JList (javax.swing)
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