Enum ParticipantObjectTypeCodeRole
- java.lang.Object
-
- java.lang.Enum<ParticipantObjectTypeCodeRole>
-
- org.openehealth.ipf.commons.audit.codes.ParticipantObjectTypeCodeRole
-
- All Implemented Interfaces:
Serializable
,Comparable<ParticipantObjectTypeCodeRole>
,EnumeratedValueSet<Short>
public enum ParticipantObjectTypeCodeRole extends Enum<ParticipantObjectTypeCodeRole> implements EnumeratedValueSet<Short>
Participant Object Type Role 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
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Customer
DataDestination
DataRepository
DataSource
Doctor
Guarantor
Job
JobStream
List
Location
This is a location identified as related to the event.MasterFile
Patient
This object is the patient that is the subject of care related to this event.ProcessingElement
Provider
Query
Report
Resource
RoutingCriteria
Schedule
SecurityGranularityDefinition
SecurityResource
SecurityUserEntity
SecurityUserGroup
Subscriber
Table
User
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ParticipantObjectTypeCodeRole
enumForCode(Short code)
Short
getValue()
static ParticipantObjectTypeCodeRole
valueOf(String name)
Returns the enum constant of this type with the specified name.static ParticipantObjectTypeCodeRole[]
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, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Methods inherited from interface org.openehealth.ipf.commons.audit.types.EnumeratedValueSet
matches
-
-
-
-
Enum Constant Detail
-
Patient
public static final ParticipantObjectTypeCodeRole Patient
This object is the patient that is the subject of care related to this event. It is identifiable by patient ID or equivalent. The patient may be either human or animal.
-
Location
public static final ParticipantObjectTypeCodeRole Location
This is a location identified as related to the event. This is usually the location where the event took place. Note that for shipping, the usual events are arrival at a location or departure from a location.
-
Report
public static final ParticipantObjectTypeCodeRole Report
-
Resource
public static final ParticipantObjectTypeCodeRole Resource
-
MasterFile
public static final ParticipantObjectTypeCodeRole MasterFile
-
User
public static final ParticipantObjectTypeCodeRole User
-
List
public static final ParticipantObjectTypeCodeRole List
-
Doctor
public static final ParticipantObjectTypeCodeRole Doctor
-
Subscriber
public static final ParticipantObjectTypeCodeRole Subscriber
-
Guarantor
public static final ParticipantObjectTypeCodeRole Guarantor
-
SecurityUserEntity
public static final ParticipantObjectTypeCodeRole SecurityUserEntity
-
SecurityUserGroup
public static final ParticipantObjectTypeCodeRole SecurityUserGroup
-
SecurityResource
public static final ParticipantObjectTypeCodeRole SecurityResource
-
SecurityGranularityDefinition
public static final ParticipantObjectTypeCodeRole SecurityGranularityDefinition
-
Provider
public static final ParticipantObjectTypeCodeRole Provider
-
DataDestination
public static final ParticipantObjectTypeCodeRole DataDestination
-
DataRepository
public static final ParticipantObjectTypeCodeRole DataRepository
-
Schedule
public static final ParticipantObjectTypeCodeRole Schedule
-
Customer
public static final ParticipantObjectTypeCodeRole Customer
-
Job
public static final ParticipantObjectTypeCodeRole Job
-
JobStream
public static final ParticipantObjectTypeCodeRole JobStream
-
Table
public static final ParticipantObjectTypeCodeRole Table
-
RoutingCriteria
public static final ParticipantObjectTypeCodeRole RoutingCriteria
-
Query
public static final ParticipantObjectTypeCodeRole Query
-
DataSource
public static final ParticipantObjectTypeCodeRole DataSource
-
ProcessingElement
public static final ParticipantObjectTypeCodeRole ProcessingElement
-
-
Method Detail
-
values
public static ParticipantObjectTypeCodeRole[] 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 (ParticipantObjectTypeCodeRole c : ParticipantObjectTypeCodeRole.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParticipantObjectTypeCodeRole 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
-
enumForCode
public static ParticipantObjectTypeCodeRole enumForCode(Short code)
-
getValue
public Short getValue()
- Specified by:
getValue
in interfaceEnumeratedValueSet<Short>
-
-