Package com.ibm.fhir.model.type.code
Class AuditEventOutcome
- 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.AuditEventOutcome
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class AuditEventOutcome extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuditEventOutcome.Builderstatic classAuditEventOutcome.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static AuditEventOutcomeOUTCOME_0Successstatic AuditEventOutcomeOUTCOME_12Major failurestatic AuditEventOutcomeOUTCOME_4Minor failurestatic AuditEventOutcomeOUTCOME_8Serious failure
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuditEventOutcome.Builderbuilder()static Codecode(String value)Inherited factory method for creating AuditEventOutcome objects from a passed string value.booleanequals(Object obj)AuditEventOutcome.ValueSetgetValueAsEnumConstant()inthashCode()static AuditEventOutcomeof(AuditEventOutcome.ValueSet value)Factory method for creating AuditEventOutcome objects from a passed enum value.static AuditEventOutcomeof(String value)Factory method for creating AuditEventOutcome objects from a passed string value.static Stringstring(String value)Inherited factory method for creating AuditEventOutcome objects from a passed string value.AuditEventOutcome.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
-
OUTCOME_0
public static final AuditEventOutcome OUTCOME_0
SuccessThe operation completed successfully (whether with warnings or not).
-
OUTCOME_4
public static final AuditEventOutcome OUTCOME_4
Minor failureThe action was not successful due to some kind of minor failure (often equivalent to an HTTP 400 response).
-
OUTCOME_8
public static final AuditEventOutcome OUTCOME_8
Serious failureThe action was not successful due to some kind of unexpected error (often equivalent to an HTTP 500 response).
-
OUTCOME_12
public static final AuditEventOutcome OUTCOME_12
Major failureAn error of such magnitude occurred that the system is no longer available for use (i.e. the system died).
-
-
Method Detail
-
getValueAsEnumConstant
public AuditEventOutcome.ValueSet getValueAsEnumConstant()
-
of
public static AuditEventOutcome of(AuditEventOutcome.ValueSet value)
Factory method for creating AuditEventOutcome objects from a passed enum value.
-
of
public static AuditEventOutcome of(String value)
Factory method for creating AuditEventOutcome 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 AuditEventOutcome 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 AuditEventOutcome 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 AuditEventOutcome.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static AuditEventOutcome.Builder builder()
-
-