Package com.ibm.fhir.model.type.code
Class IssueSeverity
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.IssueSeverity
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class IssueSeverity extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIssueSeverity.Builderstatic classIssueSeverity.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static IssueSeverityERRORErrorstatic IssueSeverityFATALFatalstatic IssueSeverityINFORMATIONInformationstatic IssueSeverityWARNINGWarning
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IssueSeverity.Builderbuilder()static Codecode(String value)Inherited factory method for creating IssueSeverity objects from a passed string value.booleanequals(Object obj)IssueSeverity.ValueSetgetValueAsEnumConstant()inthashCode()static IssueSeverityof(IssueSeverity.ValueSet value)Factory method for creating IssueSeverity objects from a passed enum value.static IssueSeverityof(String value)Factory method for creating IssueSeverity objects from a passed string value.static Stringstring(String value)Inherited factory method for creating IssueSeverity objects from a passed string value.IssueSeverity.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
FATAL
public static final IssueSeverity FATAL
FatalThe issue caused the action to fail and no further checking could be performed.
-
ERROR
public static final IssueSeverity ERROR
ErrorThe issue is sufficiently important to cause the action to fail.
-
WARNING
public static final IssueSeverity WARNING
WarningThe issue is not important enough to cause the action to fail but may cause it to be performed suboptimally or in a way that is not as desired.
-
INFORMATION
public static final IssueSeverity INFORMATION
InformationThe issue has no relation to the degree of success of the action.
-
-
Method Detail
-
getValueAsEnumConstant
public IssueSeverity.ValueSet getValueAsEnumConstant()
-
of
public static IssueSeverity of(IssueSeverity.ValueSet value)
Factory method for creating IssueSeverity objects from a passed enum value.
-
of
public static IssueSeverity of(String value)
Factory method for creating IssueSeverity objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
string
public static String string(String value)
Inherited factory method for creating IssueSeverity objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
code
public static Code code(String value)
Inherited factory method for creating IssueSeverity objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
toBuilder
public IssueSeverity.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static IssueSeverity.Builder builder()
-
-