Package org.ehrbase.rest.openehr.audit
Enum OpenEhrEventTypeCode
- java.lang.Object
-
- java.lang.Enum<OpenEhrEventTypeCode>
-
- org.ehrbase.rest.openehr.audit.OpenEhrEventTypeCode
-
- All Implemented Interfaces:
Serializable,Comparable<OpenEhrEventTypeCode>,org.openehealth.ipf.commons.audit.types.CodedValueType,org.openehealth.ipf.commons.audit.types.EnumeratedCodedValue<org.openehealth.ipf.commons.audit.types.EventType>,org.openehealth.ipf.commons.audit.types.EnumeratedValueSet<org.openehealth.ipf.commons.audit.types.EventType>,org.openehealth.ipf.commons.audit.types.EventType
public enum OpenEhrEventTypeCode extends Enum<OpenEhrEventTypeCode> implements org.openehealth.ipf.commons.audit.types.EventType, org.openehealth.ipf.commons.audit.types.EnumeratedCodedValue<org.openehealth.ipf.commons.audit.types.EventType>
openEHR Event Type codes used in audit messages.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openehealth.ipf.commons.audit.types.EventTypegetValue()static OpenEhrEventTypeCodevalueOf(String name)Returns the enum constant of this type with the specified name.static OpenEhrEventTypeCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE
public static final OpenEhrEventTypeCode CREATE
-
UPDATE
public static final OpenEhrEventTypeCode UPDATE
-
DELETE
public static final OpenEhrEventTypeCode DELETE
-
-
Method Detail
-
values
public static OpenEhrEventTypeCode[] 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 (OpenEhrEventTypeCode c : OpenEhrEventTypeCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpenEhrEventTypeCode 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
-
getValue
public org.openehealth.ipf.commons.audit.types.EventType getValue()
- Specified by:
getValuein interfaceorg.openehealth.ipf.commons.audit.types.EnumeratedValueSet<org.openehealth.ipf.commons.audit.types.EventType>
-
-