Package org.hl7.fhir.r4.utils
Enum IResourceValidator.ReferenceValidationPolicy
- java.lang.Object
-
- java.lang.Enum<IResourceValidator.ReferenceValidationPolicy>
-
- org.hl7.fhir.r4.utils.IResourceValidator.ReferenceValidationPolicy
-
- All Implemented Interfaces:
Serializable
,Comparable<IResourceValidator.ReferenceValidationPolicy>
- Enclosing interface:
- IResourceValidator
public static enum IResourceValidator.ReferenceValidationPolicy extends Enum<IResourceValidator.ReferenceValidationPolicy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHECK_EXISTS
CHECK_EXISTS_AND_TYPE
CHECK_TYPE_IF_EXISTS
CHECK_VALID
IGNORE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkExists()
boolean
checkType()
boolean
checkValid()
static IResourceValidator.ReferenceValidationPolicy
valueOf(String name)
Returns the enum constant of this type with the specified name.static IResourceValidator.ReferenceValidationPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IGNORE
public static final IResourceValidator.ReferenceValidationPolicy IGNORE
-
CHECK_TYPE_IF_EXISTS
public static final IResourceValidator.ReferenceValidationPolicy CHECK_TYPE_IF_EXISTS
-
CHECK_EXISTS
public static final IResourceValidator.ReferenceValidationPolicy CHECK_EXISTS
-
CHECK_EXISTS_AND_TYPE
public static final IResourceValidator.ReferenceValidationPolicy CHECK_EXISTS_AND_TYPE
-
CHECK_VALID
public static final IResourceValidator.ReferenceValidationPolicy CHECK_VALID
-
-
Method Detail
-
values
public static IResourceValidator.ReferenceValidationPolicy[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IResourceValidator.ReferenceValidationPolicy c : IResourceValidator.ReferenceValidationPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IResourceValidator.ReferenceValidationPolicy valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
checkExists
public boolean checkExists()
-
checkType
public boolean checkType()
-
checkValid
public boolean checkValid()
-
-