org.nhindirect.xd.common.type
Enum ConfidentialityCodeEnum

java.lang.Object
  extended by java.lang.Enum<ConfidentialityCodeEnum>
      extended by org.nhindirect.xd.common.type.ConfidentialityCodeEnum
All Implemented Interfaces:
Serializable, Comparable<ConfidentialityCodeEnum>

public enum ConfidentialityCodeEnum
extends Enum<ConfidentialityCodeEnum>

Enumeration representing valid confidentiality codes.

Author:
beau

Enum Constant Summary
BUSINESS
           
CELEBRITY
           
CLINICIAN
           
HIV_RELATED
           
INDIVIDUAL
           
LOW
           
NORMAL
           
PSYCHIATRY_RELATED
           
RESTRICTED
           
SENSITIVE
           
SEXUAL_AND_DOMESTIC_VIOLENCE_RELATED
           
SUBSTANCE_ABUSE_RELATED
           
VERY_RESTRICTED
           
 
Method Summary
 String getConceptCode()
           
 String getConceptName()
           
static ConfidentialityCodeEnum valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ConfidentialityCodeEnum[] 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 class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BUSINESS

public static final ConfidentialityCodeEnum BUSINESS

CLINICIAN

public static final ConfidentialityCodeEnum CLINICIAN

INDIVIDUAL

public static final ConfidentialityCodeEnum INDIVIDUAL

LOW

public static final ConfidentialityCodeEnum LOW

NORMAL

public static final ConfidentialityCodeEnum NORMAL

RESTRICTED

public static final ConfidentialityCodeEnum RESTRICTED

VERY_RESTRICTED

public static final ConfidentialityCodeEnum VERY_RESTRICTED

SUBSTANCE_ABUSE_RELATED

public static final ConfidentialityCodeEnum SUBSTANCE_ABUSE_RELATED

HIV_RELATED

public static final ConfidentialityCodeEnum HIV_RELATED

PSYCHIATRY_RELATED

public static final ConfidentialityCodeEnum PSYCHIATRY_RELATED

SEXUAL_AND_DOMESTIC_VIOLENCE_RELATED

public static final ConfidentialityCodeEnum SEXUAL_AND_DOMESTIC_VIOLENCE_RELATED

CELEBRITY

public static final ConfidentialityCodeEnum CELEBRITY

SENSITIVE

public static final ConfidentialityCodeEnum SENSITIVE
Method Detail

values

public static ConfidentialityCodeEnum[] 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 (ConfidentialityCodeEnum c : ConfidentialityCodeEnum.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ConfidentialityCodeEnum 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 name
NullPointerException - if the argument is null

getConceptCode

public String getConceptCode()
Returns:
the conceptCode

getConceptName

public String getConceptName()
Returns:
the conceptName


Copyright © 2010-2011. All Rights Reserved.