Class TriggerType
- 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.TriggerType
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class TriggerType extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTriggerType.Builderstatic classTriggerType.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static TriggerTypeDATA_ACCESS_ENDEDData Access Endedstatic TriggerTypeDATA_ACCESSEDData Accessedstatic TriggerTypeDATA_ADDEDData Addedstatic TriggerTypeDATA_CHANGEDData Changedstatic TriggerTypeDATA_MODIFIEDData Updatedstatic TriggerTypeDATA_REMOVEDData Removedstatic TriggerTypeNAMED_EVENTNamed Eventstatic TriggerTypePERIODICPeriodic
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TriggerType.Builderbuilder()static Codecode(String value)Inherited factory method for creating TriggerType objects from a passed string value.booleanequals(Object obj)TriggerType.ValueSetgetValueAsEnumConstant()inthashCode()static TriggerTypeof(TriggerType.ValueSet value)Factory method for creating TriggerType objects from a passed enum value.static TriggerTypeof(String value)Factory method for creating TriggerType objects from a passed string value.static Stringstring(String value)Inherited factory method for creating TriggerType objects from a passed string value.TriggerType.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
-
NAMED_EVENT
public static final TriggerType NAMED_EVENT
Named EventThe trigger occurs in response to a specific named event, and no other information about the trigger is specified. Named events are completely pre-coordinated, and the formal semantics of the trigger are not provided.
-
PERIODIC
public static final TriggerType PERIODIC
PeriodicThe trigger occurs at a specific time or periodically as described by a timing or schedule. A periodic event cannot have any data elements, but may have a name assigned as a shorthand for the event.
-
DATA_CHANGED
public static final TriggerType DATA_CHANGED
Data ChangedThe trigger occurs whenever data of a particular type is changed in any way, either added, modified, or removed.
-
DATA_ADDED
public static final TriggerType DATA_ADDED
Data AddedThe trigger occurs whenever data of a particular type is added.
-
DATA_MODIFIED
public static final TriggerType DATA_MODIFIED
Data UpdatedThe trigger occurs whenever data of a particular type is modified.
-
DATA_REMOVED
public static final TriggerType DATA_REMOVED
Data RemovedThe trigger occurs whenever data of a particular type is removed.
-
DATA_ACCESSED
public static final TriggerType DATA_ACCESSED
Data AccessedThe trigger occurs whenever data of a particular type is accessed.
-
DATA_ACCESS_ENDED
public static final TriggerType DATA_ACCESS_ENDED
Data Access EndedThe trigger occurs whenever access to data of a particular type is completed.
-
-
Method Detail
-
getValueAsEnumConstant
public TriggerType.ValueSet getValueAsEnumConstant()
-
of
public static TriggerType of(TriggerType.ValueSet value)
Factory method for creating TriggerType objects from a passed enum value.
-
of
public static TriggerType of(String value)
Factory method for creating TriggerType 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 TriggerType 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 TriggerType 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 TriggerType.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static TriggerType.Builder builder()
-
-