Enum XspaPoUCode
- java.lang.Object
-
- java.lang.Enum<XspaPoUCode>
-
- org.openehealth.ipf.commons.audit.codes.XspaPoUCode
-
- All Implemented Interfaces:
Serializable
,Comparable<XspaPoUCode>
,CodedValueType
,EnumeratedCodedValue<PurposeOfUse>
,EnumeratedValueSet<PurposeOfUse>
,PurposeOfUse
public enum XspaPoUCode extends Enum<XspaPoUCode> implements PurposeOfUse, EnumeratedCodedValue<PurposeOfUse>
Purpose of Use codes from XSPA- Since:
- 3.5
- Author:
- Christian Ohr
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openehealth.ipf.commons.audit.types.PurposeOfUse
PurposeOfUse.PurposeOfUseImpl
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Emergency
Marketing
Operations
Payment
PublicHealth
Request
Research
Sysadmin
Treatment
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PurposeOfUse
getValue()
static XspaPoUCode
valueOf(String name)
Returns the enum constant of this type with the specified name.static XspaPoUCode[]
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
-
Treatment
public static final XspaPoUCode Treatment
-
Payment
public static final XspaPoUCode Payment
-
Operations
public static final XspaPoUCode Operations
-
Emergency
public static final XspaPoUCode Emergency
-
Sysadmin
public static final XspaPoUCode Sysadmin
-
Research
public static final XspaPoUCode Research
-
Marketing
public static final XspaPoUCode Marketing
-
Request
public static final XspaPoUCode Request
-
PublicHealth
public static final XspaPoUCode PublicHealth
-
-
Method Detail
-
values
public static XspaPoUCode[] 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 (XspaPoUCode c : XspaPoUCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XspaPoUCode 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 PurposeOfUse getValue()
- Specified by:
getValue
in interfaceEnumeratedValueSet<PurposeOfUse>
-
-