Package com.ibm.fhir.model.type.code
Class EventCapabilityMode
- 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.EventCapabilityMode
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class EventCapabilityMode extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEventCapabilityMode.Builderstatic classEventCapabilityMode.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static EventCapabilityModeRECEIVERReceiverstatic EventCapabilityModeSENDERSender
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EventCapabilityMode.Builderbuilder()static Codecode(String value)Inherited factory method for creating EventCapabilityMode objects from a passed string value.booleanequals(Object obj)EventCapabilityMode.ValueSetgetValueAsEnumConstant()inthashCode()static EventCapabilityModeof(EventCapabilityMode.ValueSet value)Factory method for creating EventCapabilityMode objects from a passed enum value.static EventCapabilityModeof(String value)Factory method for creating EventCapabilityMode objects from a passed string value.static Stringstring(String value)Inherited factory method for creating EventCapabilityMode objects from a passed string value.EventCapabilityMode.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
-
SENDER
public static final EventCapabilityMode SENDER
SenderThe application sends requests and receives responses.
-
RECEIVER
public static final EventCapabilityMode RECEIVER
ReceiverThe application receives requests and sends responses.
-
-
Method Detail
-
getValueAsEnumConstant
public EventCapabilityMode.ValueSet getValueAsEnumConstant()
-
of
public static EventCapabilityMode of(EventCapabilityMode.ValueSet value)
Factory method for creating EventCapabilityMode objects from a passed enum value.
-
of
public static EventCapabilityMode of(String value)
Factory method for creating EventCapabilityMode 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 EventCapabilityMode 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 EventCapabilityMode 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 EventCapabilityMode.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static EventCapabilityMode.Builder builder()
-
-