Class RepositoryValidatingRuleBuilder
java.lang.Object
ca.uhn.fhir.jpa.interceptor.validation.RepositoryValidatingRuleBuilder
This class is used to construct rules to populate the
RepositoryValidatingInterceptor
.
See Repository Validating Interceptor
in the HAPI FHIR documentation for more information on how to use this.-
Nested Class Summary
Modifier and TypeClassDescriptionclass
final class
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRepositoryValidatingRuleBuilder
(ca.uhn.fhir.context.support.IValidationSupport theValidationSupport) -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create the repository validation rulesforResourcesOfType
(String theType) Begin a new rule for a specific resource type.
-
Field Details
-
REPOSITORY_VALIDATING_RULE_BUILDER
- See Also:
-
-
Constructor Details
-
RepositoryValidatingRuleBuilder
public RepositoryValidatingRuleBuilder(ca.uhn.fhir.context.support.IValidationSupport theValidationSupport)
-
-
Method Details
-
forResourcesOfType
public RepositoryValidatingRuleBuilder.RepositoryValidatingRuleBuilderTyped forResourcesOfType(String theType) Begin a new rule for a specific resource type.- Parameters:
theType
- The resource type e.g. "Patient" (must not be null)
-
build
Create the repository validation rules
-