
Package ca.uhn.fhir.jpa.dao
Class IdSubstitutionMap
java.lang.Object
ca.uhn.fhir.jpa.dao.IdSubstitutionMap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsSource(String theId) booleancontainsSource(org.hl7.fhir.instance.model.api.IIdType theId) booleancontainsTarget(String theId) booleancontainsTarget(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>> entrySet()org.hl7.fhir.instance.model.api.IIdTypegetForSource(String theId) org.hl7.fhir.instance.model.api.IIdTypegetForSource(org.hl7.fhir.instance.model.api.IIdType theId) booleanisEmpty()voidput(org.hl7.fhir.instance.model.api.IIdType theSource, org.hl7.fhir.instance.model.api.IIdType theTarget) voidupdateTargets(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.
-
Constructor Details
-
IdSubstitutionMap
public IdSubstitutionMap()
-
-
Method Details
-
containsSource
-
containsSource
-
containsTarget
-
containsTarget
-
getForSource
public org.hl7.fhir.instance.model.api.IIdType getForSource(org.hl7.fhir.instance.model.api.IIdType theId) -
getForSource
-
entrySet
-
put
public void put(org.hl7.fhir.instance.model.api.IIdType theSource, org.hl7.fhir.instance.model.api.IIdType theTarget) -
isEmpty
-
updateTargets
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.
-