Class ValidatorHostContext
- java.lang.Object
-
- org.hl7.fhir.validation.instance.utils.ValidatorHostContext
-
public class ValidatorHostContext extends Object
-
-
Constructor Summary
Constructors Constructor Description ValidatorHostContext(Object appContext)ValidatorHostContext(Object appContext, org.hl7.fhir.r5.elementmodel.Element element)ValidatorHostContext(Object appContext, org.hl7.fhir.r5.elementmodel.Element element, org.hl7.fhir.r5.elementmodel.Element root)ValidatorHostContext(Object appContext, org.hl7.fhir.r5.elementmodel.Element element, org.hl7.fhir.r5.elementmodel.Element root, org.hl7.fhir.r5.elementmodel.Element groupingResource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidatorHostContextforContained(org.hl7.fhir.r5.elementmodel.Element element)ValidatorHostContextforEntry(org.hl7.fhir.r5.elementmodel.Element element, org.hl7.fhir.r5.elementmodel.Element groupingResource)ValidatorHostContextforLocalReference(org.hl7.fhir.r5.model.StructureDefinition profile, org.hl7.fhir.r5.elementmodel.Element resource)ValidatorHostContextforProfile(org.hl7.fhir.r5.model.StructureDefinition profile)ValidatorHostContextforRemoteReference(org.hl7.fhir.r5.model.StructureDefinition profile, org.hl7.fhir.r5.elementmodel.Element resource)ValidatorHostContextforSlicing()ObjectgetAppContext()org.hl7.fhir.r5.elementmodel.ElementgetGroupingResource()org.hl7.fhir.r5.model.StructureDefinitiongetProfile()org.hl7.fhir.r5.elementmodel.ElementgetResource()org.hl7.fhir.r5.elementmodel.ElementgetRootResource()Map<String,List<org.hl7.fhir.utilities.validation.ValidationMessage>>getSliceRecords()booleanisCheckSpecials()ValidatorHostContextsetAppContext(Object appContext)voidsetCheckSpecials(boolean checkSpecials)ValidatorHostContextsetProfile(org.hl7.fhir.r5.model.StructureDefinition profile)ValidatorHostContextsetResource(org.hl7.fhir.r5.elementmodel.Element resource)ValidatorHostContextsetRootResource(org.hl7.fhir.r5.elementmodel.Element rootResource)ValidatorHostContextsetSliceRecords(Map<String,List<org.hl7.fhir.utilities.validation.ValidationMessage>> sliceRecords)voidsliceNotes(String url, List<org.hl7.fhir.utilities.validation.ValidationMessage> record)
-
-
-
Constructor Detail
-
ValidatorHostContext
public ValidatorHostContext(Object appContext)
-
ValidatorHostContext
public ValidatorHostContext(Object appContext, org.hl7.fhir.r5.elementmodel.Element element)
-
ValidatorHostContext
public ValidatorHostContext(Object appContext, org.hl7.fhir.r5.elementmodel.Element element, org.hl7.fhir.r5.elementmodel.Element root)
-
ValidatorHostContext
public ValidatorHostContext(Object appContext, org.hl7.fhir.r5.elementmodel.Element element, org.hl7.fhir.r5.elementmodel.Element root, org.hl7.fhir.r5.elementmodel.Element groupingResource)
-
-
Method Detail
-
getAppContext
public Object getAppContext()
-
setAppContext
public ValidatorHostContext setAppContext(Object appContext)
-
setResource
public ValidatorHostContext setResource(org.hl7.fhir.r5.elementmodel.Element resource)
-
getRootResource
public org.hl7.fhir.r5.elementmodel.Element getRootResource()
-
setRootResource
public ValidatorHostContext setRootResource(org.hl7.fhir.r5.elementmodel.Element rootResource)
-
getGroupingResource
public org.hl7.fhir.r5.elementmodel.Element getGroupingResource()
-
getProfile
public org.hl7.fhir.r5.model.StructureDefinition getProfile()
-
setProfile
public ValidatorHostContext setProfile(org.hl7.fhir.r5.model.StructureDefinition profile)
-
getSliceRecords
public Map<String,List<org.hl7.fhir.utilities.validation.ValidationMessage>> getSliceRecords()
-
setSliceRecords
public ValidatorHostContext setSliceRecords(Map<String,List<org.hl7.fhir.utilities.validation.ValidationMessage>> sliceRecords)
-
isCheckSpecials
public boolean isCheckSpecials()
-
setCheckSpecials
public void setCheckSpecials(boolean checkSpecials)
-
getResource
public org.hl7.fhir.r5.elementmodel.Element getResource()
-
sliceNotes
public void sliceNotes(String url, List<org.hl7.fhir.utilities.validation.ValidationMessage> record)
-
forContained
public ValidatorHostContext forContained(org.hl7.fhir.r5.elementmodel.Element element)
-
forEntry
public ValidatorHostContext forEntry(org.hl7.fhir.r5.elementmodel.Element element, org.hl7.fhir.r5.elementmodel.Element groupingResource)
-
forProfile
public ValidatorHostContext forProfile(org.hl7.fhir.r5.model.StructureDefinition profile)
-
forLocalReference
public ValidatorHostContext forLocalReference(org.hl7.fhir.r5.model.StructureDefinition profile, org.hl7.fhir.r5.elementmodel.Element resource)
-
forRemoteReference
public ValidatorHostContext forRemoteReference(org.hl7.fhir.r5.model.StructureDefinition profile, org.hl7.fhir.r5.elementmodel.Element resource)
-
forSlicing
public ValidatorHostContext forSlicing()
-
-