Package be.recipe.services.executor
Enum ReasonBreakTheGlass
- java.lang.Object
-
- java.lang.Enum<ReasonBreakTheGlass>
-
- be.recipe.services.executor.ReasonBreakTheGlass
-
- All Implemented Interfaces:
Serializable,Comparable<ReasonBreakTheGlass>
public enum ReasonBreakTheGlass extends Enum<ReasonBreakTheGlass>
Java class for reasonBreakTheGlass.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="reasonBreakTheGlass"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="UNABLE_TO_CHECK_THERAPEUTIC_RELATION"/> <enumeration value="UNABLE_TO_CREATE_THERAPEUTIC_RELATION"/> <enumeration value="OTHER_REASON"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OTHER_REASONUNABLE_TO_CHECK_THERAPEUTIC_RELATIONUNABLE_TO_CREATE_THERAPEUTIC_RELATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReasonBreakTheGlassfromValue(String v)Stringvalue()static ReasonBreakTheGlassvalueOf(String name)Returns the enum constant of this type with the specified name.static ReasonBreakTheGlass[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNABLE_TO_CHECK_THERAPEUTIC_RELATION
public static final ReasonBreakTheGlass UNABLE_TO_CHECK_THERAPEUTIC_RELATION
-
UNABLE_TO_CREATE_THERAPEUTIC_RELATION
public static final ReasonBreakTheGlass UNABLE_TO_CREATE_THERAPEUTIC_RELATION
-
OTHER_REASON
public static final ReasonBreakTheGlass OTHER_REASON
-
-
Method Detail
-
values
public static ReasonBreakTheGlass[] 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 (ReasonBreakTheGlass c : ReasonBreakTheGlass.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReasonBreakTheGlass 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
-
value
public String value()
-
fromValue
public static ReasonBreakTheGlass fromValue(String v)
-
-