Package org.hl7.fhir.utilities
Enum ElementDecoration.DecorationType
- java.lang.Object
-
- java.lang.Enum<ElementDecoration.DecorationType>
-
- org.hl7.fhir.utilities.ElementDecoration.DecorationType
-
- All Implemented Interfaces:
Serializable,Comparable<ElementDecoration.DecorationType>
- Enclosing class:
- ElementDecoration
public static enum ElementDecoration.DecorationType extends Enum<ElementDecoration.DecorationType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ElementDecoration.DecorationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ElementDecoration.DecorationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TYPE
public static final ElementDecoration.DecorationType TYPE
-
SLICE
public static final ElementDecoration.DecorationType SLICE
-
HINT
public static final ElementDecoration.DecorationType HINT
-
WARNING
public static final ElementDecoration.DecorationType WARNING
-
ERROR
public static final ElementDecoration.DecorationType ERROR
-
-
Method Detail
-
values
public static ElementDecoration.DecorationType[] 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 (ElementDecoration.DecorationType c : ElementDecoration.DecorationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ElementDecoration.DecorationType 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
-
-