au.gov.nehta.vendorlibrary.pcehr.clients.common.type
Enum ConformanceLevels

java.lang.Object
  extended by java.lang.Enum<ConformanceLevels>
      extended by au.gov.nehta.vendorlibrary.pcehr.clients.common.type.ConformanceLevels
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ConformanceLevels>

public enum ConformanceLevels
extends java.lang.Enum<ConformanceLevels>

CDA document conformance levels.


Enum Constant Summary
ONE_A
          Conformance Level - 1A.
ONE_B
          Conformance Level - 1B.
THREE_A
          Conformance Level - 3A.
THREE_B
          Conformance Level - 3B.
TWO
          Conformance Level - 2.
UNDEFINED
          Conformance Level - Undefined.
 
Method Summary
 java.lang.String getLevel()
          Retrieve the conformance level.
static ConformanceLevels valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ConformanceLevels[] 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

ONE_A

public static final ConformanceLevels ONE_A
Conformance Level - 1A.


ONE_B

public static final ConformanceLevels ONE_B
Conformance Level - 1B.


TWO

public static final ConformanceLevels TWO
Conformance Level - 2.


THREE_A

public static final ConformanceLevels THREE_A
Conformance Level - 3A.


THREE_B

public static final ConformanceLevels THREE_B
Conformance Level - 3B.


UNDEFINED

public static final ConformanceLevels UNDEFINED
Conformance Level - Undefined.

Method Detail

values

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

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

valueOf

public static ConformanceLevels valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getLevel

public java.lang.String getLevel()
Retrieve the conformance level.

Returns:
conformance level.