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