Tabnine Logo
IntactCore.ensureInitializedRanges
Code IndexAdd Tabnine to your IDE (free)

How to use
ensureInitializedRanges
method
in
uk.ac.ebi.intact.core.persister.IntactCore

Best Java code snippets using uk.ac.ebi.intact.core.persister.IntactCore.ensureInitializedRanges (Showing top 3 results out of 315)

origin: uk.ac.ebi.intact.dataexchange.psimi/intact-psixml-converters

ranges = IntactCore.ensureInitializedRanges(intactObject);
origin: uk.ac.ebi.intact.core/intact-core-readonly

public Feature cloneFeature(Feature feature) throws IntactClonerException {
  if (feature == null) return null;
  Feature clone = new Feature();
  clonerManager.addClone(feature, clone);
  clone.setOwner(clone(feature.getOwner()));
  clone.setShortLabel(feature.getShortLabel());
  clone.setCvFeatureType(clone(feature.getCvFeatureType()));
  clone.setCvFeatureIdentification(clone(feature.getCvFeatureIdentification()));
  if (isCollectionClonable(feature.getRanges())) {
    Collection<Range> ranges = IntactCore.ensureInitializedRanges(feature);
    for (Range range : ranges) {
      clone.addRange(clone(range));
    }
  }
  clone.setComponent(clone(feature.getComponent()));
  return clone;
}
origin: uk.ac.ebi.intact.core/intact-core

public Feature cloneFeature(Feature feature) throws IntactClonerException {
  if (feature == null) return null;
  Feature clone = new Feature();
  clonerManager.addClone(feature, clone);
  clone.setOwner(clone(feature.getOwner()));
  clone.setShortLabel(feature.getShortLabel());
  clone.setCvFeatureType(clone(feature.getCvFeatureType()));
  clone.setCvFeatureIdentification(clone(feature.getCvFeatureIdentification()));
  if (isCollectionClonable(feature.getRanges())) {
    Collection<Range> ranges = IntactCore.ensureInitializedRanges(feature);
    for (Range range : ranges) {
      clone.addRange(clone(range));
    }
  }
  clone.setComponent(clone(feature.getComponent()));
  return clone;
}
uk.ac.ebi.intact.core.persisterIntactCoreensureInitializedRanges

Javadoc

Retrieves the ranges from a feature, initializing them if necessary.

Popular methods of IntactCore

  • ensureInitializedAliases
    Retrieves the aliases from an AnnotatedObject, initializing them if necessary.
  • ensureInitializedAnnotations
    Retrieves the annotations from an AnnotatedObject, initializing them if necessary.
  • ensureInitializedComponentConfidences
    Retrieves the confidences from a participant, initializing them if necessary. Do not set the initial
  • ensureInitializedComponentParameters
    Retrieves the parameters from a participant, initializing them if necessary. Do not set the initiali
  • ensureInitializedConfidences
    Retrieves the confidences from an interaction, initializing them if necessary. Do not set the initia
  • ensureInitializedExperimentalPreparations
    Retrieves the experimental preparations from a participant, initializing them if necessary. Do not s
  • ensureInitializedExperimentalRoles
    Retrieves the experimental roles from a participant, initializing them if necessary. Do not set the
  • ensureInitializedExperiments
    Retrieves the experiment from a publication, initializing them if necessary.
  • ensureInitializedFeatures
    Retrieves the features from a participant, initializing them if necessary. Do not set the initialize
  • ensureInitializedInteractionParameters
    Retrieves the parameters from an interaction, initializing them if necessary. Do not set the initial
  • ensureInitializedParticipantIdentificationMethods
    Retrieves the participant detection methods from a participant, initializing them if necessary. Do n
  • ensureInitializedParticipants
    Retrieves the components from an interaction, initializing them if necessary. Do not set the initial
  • ensureInitializedParticipantIdentificationMethods,
  • ensureInitializedParticipants,
  • ensureInitializedXrefs,
  • ensureInitializedInteractions,
  • ensureInitializedLifecycleEvents,
  • ensureInitializedPreferences,
  • ensureInitializedRoles,
  • initialize,
  • initializeAnnotatedObject

Popular in Java

  • Making http post requests using okhttp
  • setScale (BigDecimal)
  • getContentResolver (Context)
  • scheduleAtFixedRate (Timer)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Collectors (java.util.stream)
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • JFileChooser (javax.swing)
  • Top plugins for WebStorm
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