Tabnine Logo
TerminologyID.equals
Code IndexAdd Tabnine to your IDE (free)

How to use
equals
method
in
org.openehr.rm.support.identification.TerminologyID

Best Java code snippets using org.openehr.rm.support.identification.TerminologyID.equals (Showing top 4 results out of 315)

origin: openEHR/java-libs

@Override
public boolean validValue(CodePhrase value) {
  if(value == null) {
    return false;
  }
  if(terminologyId != null 
      && !terminologyId.equals(value.getTerminologyId())) {
    return false;
  }
  if(codeList != null && !codeList.contains(value.getCodeString())) {
    return false;
  }

  return true;
}
origin: org.openehr.java-libs/openehr-ap

@Override
public boolean validValue(CodePhrase value) {
  if(value == null) {
    return false;
  }
  if(terminologyId != null 
      && !terminologyId.equals(value.getTerminologyId())) {
    return false;
  }
  if(codeList != null && !codeList.contains(value.getCodeString())) {
    return false;
  }

  return true;
}
origin: openEHR/java-libs

/**
 * Tests if two instances are strictly comparable.
 *
 * @param ordered
 * @return true if two instances are strictly comparable
 */
public boolean isStrictlyComparableTo(DvOrdered ordered) {
  if (!(ordered instanceof DvOrdinal)) {
    return false;
  }
  final DvOrdinal dvOrdinal = (DvOrdinal) ordered;
  if (!symbol.getDefiningCode().getTerminologyId().equals(
      dvOrdinal.symbol.getDefiningCode().getTerminologyId())) {
    return false;
  }
  // todo: check if symbols are from same subset or value range in the same vocabulary
  return true;
}
origin: org.openehr.java-libs/openehr-rm-core

/**
 * Tests if two instances are strictly comparable.
 *
 * @param ordered
 * @return true if two instances are strictly comparable
 */
public boolean isStrictlyComparableTo(DvOrdered ordered) {
  if (!(ordered instanceof DvOrdinal)) {
    return false;
  }
  final DvOrdinal dvOrdinal = (DvOrdinal) ordered;
  if (!symbol.getDefiningCode().getTerminologyId().equals(
      dvOrdinal.symbol.getDefiningCode().getTerminologyId())) {
    return false;
  }
  // todo: check if symbols are from same subset or value range in the same vocabulary
  return true;
}
org.openehr.rm.support.identificationTerminologyIDequals

Popular methods of TerminologyID

  • getValue
  • <init>
    Constructs a TerminologyID by name and version
  • toString
  • name
    Name of this terminology ID
  • loadValue
  • toValue

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getContentResolver (Context)
  • setContentView (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Runner (org.openjdk.jmh.runner)
  • From CI to AI: The AI layer in your organization
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