Package org.hl7.fhir.dstu2.utils
Enum IResourceValidator.BestPracticeWarningLevel
- java.lang.Object
-
- java.lang.Enum<IResourceValidator.BestPracticeWarningLevel>
-
- org.hl7.fhir.dstu2.utils.IResourceValidator.BestPracticeWarningLevel
-
- All Implemented Interfaces:
Serializable,Comparable<IResourceValidator.BestPracticeWarningLevel>
- Enclosing interface:
- IResourceValidator
public static enum IResourceValidator.BestPracticeWarningLevel extends Enum<IResourceValidator.BestPracticeWarningLevel>
whether the validator should enforce best practice guidelines as defined by various HL7 committees- Author:
- Grahame Grieve
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IResourceValidator.BestPracticeWarningLevelvalueOf(String name)Returns the enum constant of this type with the specified name.static IResourceValidator.BestPracticeWarningLevel[]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.BestPracticeWarningLevel Ignore
-
Hint
public static final IResourceValidator.BestPracticeWarningLevel Hint
-
Warning
public static final IResourceValidator.BestPracticeWarningLevel Warning
-
Error
public static final IResourceValidator.BestPracticeWarningLevel Error
-
-
Method Detail
-
values
public static IResourceValidator.BestPracticeWarningLevel[] 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.BestPracticeWarningLevel c : IResourceValidator.BestPracticeWarningLevel.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.BestPracticeWarningLevel 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
-
-