Enum TriggerType.ValueSet
- java.lang.Object
-
- java.lang.Enum<TriggerType.ValueSet>
-
- com.ibm.fhir.model.type.code.TriggerType.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<TriggerType.ValueSet>
- Enclosing class:
- TriggerType
public static enum TriggerType.ValueSet extends Enum<TriggerType.ValueSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATA_ACCESS_ENDEDData Access EndedDATA_ACCESSEDData AccessedDATA_ADDEDData AddedDATA_CHANGEDData ChangedDATA_MODIFIEDData UpdatedDATA_REMOVEDData RemovedNAMED_EVENTNamed EventPERIODICPeriodic
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TriggerType.ValueSetfrom(String value)Factory method for creating TriggerType.ValueSet values from a passed string value.Stringvalue()static TriggerType.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static TriggerType.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NAMED_EVENT
public static final TriggerType.ValueSet 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.ValueSet 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.ValueSet 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.ValueSet DATA_ADDED
Data AddedThe trigger occurs whenever data of a particular type is added.
-
DATA_MODIFIED
public static final TriggerType.ValueSet DATA_MODIFIED
Data UpdatedThe trigger occurs whenever data of a particular type is modified.
-
DATA_REMOVED
public static final TriggerType.ValueSet DATA_REMOVED
Data RemovedThe trigger occurs whenever data of a particular type is removed.
-
DATA_ACCESSED
public static final TriggerType.ValueSet DATA_ACCESSED
Data AccessedThe trigger occurs whenever data of a particular type is accessed.
-
DATA_ACCESS_ENDED
public static final TriggerType.ValueSet DATA_ACCESS_ENDED
Data Access EndedThe trigger occurs whenever access to data of a particular type is completed.
-
-
Method Detail
-
values
public static TriggerType.ValueSet[] 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 (TriggerType.ValueSet c : TriggerType.ValueSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TriggerType.ValueSet 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
-
value
public String value()
- Returns:
- The java.lang.String value of the code represented by this enum
-
from
public static TriggerType.ValueSet from(String value)
Factory method for creating TriggerType.ValueSet values 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
-
-