Package com.ibm.fhir.model.type.code
Class EndpointStatus
- 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.EndpointStatus
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class EndpointStatus extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEndpointStatus.Builderstatic classEndpointStatus.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static EndpointStatusACTIVEActivestatic EndpointStatusENTERED_IN_ERROREntered in errorstatic EndpointStatusERRORErrorstatic EndpointStatusOFFOffstatic EndpointStatusSUSPENDEDSuspendedstatic EndpointStatusTESTTest
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EndpointStatus.Builderbuilder()static Codecode(String value)Inherited factory method for creating EndpointStatus objects from a passed string value.booleanequals(Object obj)EndpointStatus.ValueSetgetValueAsEnumConstant()inthashCode()static EndpointStatusof(EndpointStatus.ValueSet value)Factory method for creating EndpointStatus objects from a passed enum value.static EndpointStatusof(String value)Factory method for creating EndpointStatus objects from a passed string value.static Stringstring(String value)Inherited factory method for creating EndpointStatus objects from a passed string value.EndpointStatus.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
-
ACTIVE
public static final EndpointStatus ACTIVE
ActiveThis endpoint is expected to be active and can be used.
-
SUSPENDED
public static final EndpointStatus SUSPENDED
SuspendedThis endpoint is temporarily unavailable.
-
ERROR
public static final EndpointStatus ERROR
ErrorThis endpoint has exceeded connectivity thresholds and is considered in an error state and should no longer be attempted to connect to until corrective action is taken.
-
OFF
public static final EndpointStatus OFF
OffThis endpoint is no longer to be used.
-
ENTERED_IN_ERROR
public static final EndpointStatus ENTERED_IN_ERROR
Entered in errorThis instance should not have been part of this patient's medical record.
-
TEST
public static final EndpointStatus TEST
TestThis endpoint is not intended for production usage.
-
-
Method Detail
-
getValueAsEnumConstant
public EndpointStatus.ValueSet getValueAsEnumConstant()
-
of
public static EndpointStatus of(EndpointStatus.ValueSet value)
Factory method for creating EndpointStatus objects from a passed enum value.
-
of
public static EndpointStatus of(String value)
Factory method for creating EndpointStatus 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 EndpointStatus 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 EndpointStatus 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 EndpointStatus.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static EndpointStatus.Builder builder()
-
-