Class IdSubstitutionMap

java.lang.Object
ca.uhn.fhir.jpa.dao.IdSubstitutionMap

public class IdSubstitutionMap extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
    containsSource(org.hl7.fhir.instance.model.api.IIdType theId)
     
    boolean
     
    boolean
    containsTarget(org.hl7.fhir.instance.model.api.IIdType theId)
     
    List<org.apache.commons.lang3.tuple.Pair<org.hl7.fhir.instance.model.api.IIdType,org.hl7.fhir.instance.model.api.IIdType>>
     
    org.hl7.fhir.instance.model.api.IIdType
     
    org.hl7.fhir.instance.model.api.IIdType
    getForSource(org.hl7.fhir.instance.model.api.IIdType theId)
     
    boolean
     
    void
    put(org.hl7.fhir.instance.model.api.IIdType theSource, org.hl7.fhir.instance.model.api.IIdType theTarget)
     
    void
    updateTargets(org.hl7.fhir.instance.model.api.IIdType theNewId)
    Updates all targets of the map with a new id value if the input id has the same ResourceType and IdPart as the target id.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • containsSource

      public boolean containsSource(org.hl7.fhir.instance.model.api.IIdType theId)
    • containsSource

      public boolean containsSource(String theId)
    • containsTarget

      public boolean containsTarget(org.hl7.fhir.instance.model.api.IIdType theId)
    • containsTarget

      public boolean containsTarget(String theId)
    • getForSource

      public org.hl7.fhir.instance.model.api.IIdType getForSource(org.hl7.fhir.instance.model.api.IIdType theId)
    • getForSource

      public org.hl7.fhir.instance.model.api.IIdType getForSource(String theId)
    • entrySet

      public List<org.apache.commons.lang3.tuple.Pair<org.hl7.fhir.instance.model.api.IIdType,org.hl7.fhir.instance.model.api.IIdType>> entrySet()
    • put

      public void put(org.hl7.fhir.instance.model.api.IIdType theSource, org.hl7.fhir.instance.model.api.IIdType theTarget)
    • isEmpty

      public boolean isEmpty()
    • updateTargets

      public void updateTargets(org.hl7.fhir.instance.model.api.IIdType theNewId)
      Updates all targets of the map with a new id value if the input id has the same ResourceType and IdPart as the target id.