Enum ReferenceValidationPolicy
- java.lang.Object
-
- java.lang.Enum<ReferenceValidationPolicy>
-
- org.hl7.fhir.r4b.utils.validation.constants.ReferenceValidationPolicy
-
- All Implemented Interfaces:
Serializable,Comparable<ReferenceValidationPolicy>
public enum ReferenceValidationPolicy extends Enum<ReferenceValidationPolicy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHECK_EXISTSCHECK_EXISTS_AND_TYPECHECK_TYPE_IF_EXISTSCHECK_VALIDIGNORE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckExists()booleancheckType()booleancheckValid()booleanignore()static ReferenceValidationPolicyvalueOf(String name)Returns the enum constant of this type with the specified name.static 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 ReferenceValidationPolicy IGNORE
-
CHECK_TYPE_IF_EXISTS
public static final ReferenceValidationPolicy CHECK_TYPE_IF_EXISTS
-
CHECK_EXISTS
public static final ReferenceValidationPolicy CHECK_EXISTS
-
CHECK_EXISTS_AND_TYPE
public static final ReferenceValidationPolicy CHECK_EXISTS_AND_TYPE
-
CHECK_VALID
public static final ReferenceValidationPolicy CHECK_VALID
-
-
Method Detail
-
values
public static 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 (ReferenceValidationPolicy c : 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 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
-
ignore
public boolean ignore()
-
checkExists
public boolean checkExists()
-
checkType
public boolean checkType()
-
checkValid
public boolean checkValid()
-
-