Enum ParticipantObjectTypeCode
java.lang.Object
java.lang.Enum<ParticipantObjectTypeCode>
org.openehealth.ipf.commons.audit.codes.ParticipantObjectTypeCode
- All Implemented Interfaces:
Serializable
,Comparable<ParticipantObjectTypeCode>
,java.lang.constant.Constable
,EnumeratedValueSet<Short>
public enum ParticipantObjectTypeCode
extends Enum<ParticipantObjectTypeCode>
implements EnumeratedValueSet<Short>
Participant Object Type codes as originally specified in https://tools.ietf.org/html/rfc3881#section-5.5
and now maintained in http://dicom.nema.org/medical/dicom/current/output/html/part15.html#sect_A.5.1.2.
This value set is a literal part of the audit schema, ie.e. no other codes may be used.
- Since:
- 3.5
- Author:
- Christian Ohr
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ParticipantObjectTypeCode
enumForCode
(Short code) getValue()
static ParticipantObjectTypeCode
Returns the enum constant of this type with the specified name.static ParticipantObjectTypeCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface org.openehealth.ipf.commons.audit.types.EnumeratedValueSet
matches
-
Enum Constant Details
-
Person
-
System
-
Organization
-
Other
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
enumForCode
-
getValue
- Specified by:
getValue
in interfaceEnumeratedValueSet<Short>
-