Enum ActiveParticipantRoleIdCode
- java.lang.Object
-
- java.lang.Enum<ActiveParticipantRoleIdCode>
-
- org.openehealth.ipf.commons.audit.codes.ActiveParticipantRoleIdCode
-
- All Implemented Interfaces:
Serializable
,Comparable<ActiveParticipantRoleIdCode>
,ActiveParticipantRoleId
,CodedValueType
,EnumeratedCodedValue<ActiveParticipantRoleId>
,EnumeratedValueSet<ActiveParticipantRoleId>
public enum ActiveParticipantRoleIdCode extends Enum<ActiveParticipantRoleIdCode> implements ActiveParticipantRoleId, EnumeratedCodedValue<ActiveParticipantRoleId>
Audit Active Participant Role ID Code as specified in http://dicom.nema.org/medical/dicom/current/output/html/part16.html#sect_CID_402 1.2.840.10008.6.1.905ActiveParticipantRoleIdCode identifies which object took which role in the event. It also covers agents, multi-purpose entities, and multi-role entities. For the purpose of the event, one primary role is chosen.
When describing a human user’s participation in an event, the RoleIDCode value should represent the access control roles/permissions that authorized the event.
- Since:
- 3.5
- Author:
- Christian Ohr
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openehealth.ipf.commons.audit.types.ActiveParticipantRoleId
ActiveParticipantRoleId.ActiveParticipantRoleIdImpl
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Application
ApplicationLauncher
Destination
DestinationMedia
Source
SourceMedia
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActiveParticipantRoleIdCode
enumForCode(String code)
ActiveParticipantRoleId
getValue()
static ActiveParticipantRoleIdCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static ActiveParticipantRoleIdCode[]
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.EnumeratedCodedValue
getCode, getCodeSystemName, getDisplayName, getOriginalText, matches
-
-
-
-
Enum Constant Detail
-
Application
public static final ActiveParticipantRoleIdCode Application
-
ApplicationLauncher
public static final ActiveParticipantRoleIdCode ApplicationLauncher
-
Destination
public static final ActiveParticipantRoleIdCode Destination
-
Source
public static final ActiveParticipantRoleIdCode Source
-
DestinationMedia
public static final ActiveParticipantRoleIdCode DestinationMedia
-
SourceMedia
public static final ActiveParticipantRoleIdCode SourceMedia
-
-
Method Detail
-
values
public static ActiveParticipantRoleIdCode[] 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 (ActiveParticipantRoleIdCode c : ActiveParticipantRoleIdCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActiveParticipantRoleIdCode 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 ActiveParticipantRoleIdCode enumForCode(String code)
-
getValue
public ActiveParticipantRoleId getValue()
- Specified by:
getValue
in interfaceEnumeratedValueSet<ActiveParticipantRoleId>
-
-