Package org.hl7.fhir.r4.model
Enum ExampleScenario.ExampleScenarioActorType
- java.lang.Object
-
- java.lang.Enum<ExampleScenario.ExampleScenarioActorType>
-
- org.hl7.fhir.r4.model.ExampleScenario.ExampleScenarioActorType
-
- All Implemented Interfaces:
Serializable,Comparable<ExampleScenario.ExampleScenarioActorType>
- Enclosing class:
- ExampleScenario
public static enum ExampleScenario.ExampleScenarioActorType extends Enum<ExampleScenario.ExampleScenarioActorType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExampleScenario.ExampleScenarioActorTypefromCode(String codeString)StringgetDefinition()StringgetDisplay()StringgetSystem()StringtoCode()static ExampleScenario.ExampleScenarioActorTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ExampleScenario.ExampleScenarioActorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PERSON
public static final ExampleScenario.ExampleScenarioActorType PERSON
A person.
-
ENTITY
public static final ExampleScenario.ExampleScenarioActorType ENTITY
A system.
-
NULL
public static final ExampleScenario.ExampleScenarioActorType NULL
added to help the parsers with the generic types
-
-
Method Detail
-
values
public static ExampleScenario.ExampleScenarioActorType[] 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 (ExampleScenario.ExampleScenarioActorType c : ExampleScenario.ExampleScenarioActorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExampleScenario.ExampleScenarioActorType 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
-
fromCode
public static ExampleScenario.ExampleScenarioActorType fromCode(String codeString) throws org.hl7.fhir.exceptions.FHIRException
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getDefinition
public String getDefinition()
-
getDisplay
public String getDisplay()
-
-