Tabnine Logo
AnnotatedObject.addAlias
Code IndexAdd Tabnine to your IDE (free)

How to use
addAlias
method
in
uk.ac.ebi.intact.model.AnnotatedObject

Best Java code snippets using uk.ac.ebi.intact.model.AnnotatedObject.addAlias (Showing top 5 results out of 315)

origin: uk.ac.ebi.intact.core/intact-core

target.addAlias( alias );
origin: uk.ac.ebi.intact.core/intact-core-readonly

target.addAlias( alias );
origin: uk.ac.ebi.intact.dataexchange.psimi/intact-psixml-converters

public static <A extends Alias> void populateAliases(Collection<psidev.psi.mi.xml.model.Alias> psiAliases, AnnotatedObject<?, A> annotatedObject, AliasConverter<A> aliasConverter) {
  if (psiAliases == null) {
    return;
  }
  for (psidev.psi.mi.xml.model.Alias psiAlias : psiAliases) {
    if (psiAlias.hasValue()) {
      A alias = aliasConverter.psiToIntact(psiAlias);
      annotatedObject.addAlias(alias);
      if (annotatedObject instanceof Institution) {
        alias.setOwner((Institution) annotatedObject);
      }
    } else {
      if (log.isWarnEnabled()) log.warn("Alias without value in location: "+ ConverterContext.getInstance().getLocation().getCurrentLocation().pathFromRootAsString());
    }
  }
}
origin: uk.ac.ebi.intact.core/intact-core-readonly

clone.addAlias(clone(alias));
origin: uk.ac.ebi.intact.core/intact-core

clone.addAlias(clone(alias));
uk.ac.ebi.intact.modelAnnotatedObjectaddAlias

Popular methods of AnnotatedObject

  • getAnnotations
  • getAc
  • getShortLabel
  • getXrefs
  • getAliases
  • getOwner
  • getFullName
  • getCreated
  • addAnnotation
  • setOwner
  • addXref
  • setAc
  • addXref,
  • setAc,
  • setFullName,
  • setShortLabel,
  • getCreator,
  • removeAlias,
  • removeAnnotation,
  • removeXref,
  • setCreated

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (ScheduledExecutorService)
  • requestLocationUpdates (LocationManager)
  • getSharedPreferences (Context)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • 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