org.nhindirect.xd.common.type
Enum ExternalIdentifierTypeEnum

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

public enum ExternalIdentifierTypeEnum
extends Enum<ExternalIdentifierTypeEnum>

Enumeration for data identifying an External Identifier element.

Author:
beau

Enum Constant Summary
DOC_PATIENT_ID
           
DOC_UNIQUE_ID
           
SS_PATIENT_ID
           
SS_SOURCE_ID
           
SS_UNIQUE_ID
           
 
Method Summary
 String getIdentificationId()
          Get the value of identificationId.
 String getIdentificationScheme()
          Get the value of identificationScheme.
 String getLocalizedString()
           
 boolean matchesScheme(String identificationScheme)
          Check to see if the given identificationScheme matches the current object.
static ExternalIdentifierTypeEnum valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ExternalIdentifierTypeEnum[] 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

DOC_PATIENT_ID

public static final ExternalIdentifierTypeEnum DOC_PATIENT_ID

DOC_UNIQUE_ID

public static final ExternalIdentifierTypeEnum DOC_UNIQUE_ID

SS_UNIQUE_ID

public static final ExternalIdentifierTypeEnum SS_UNIQUE_ID

SS_SOURCE_ID

public static final ExternalIdentifierTypeEnum SS_SOURCE_ID

SS_PATIENT_ID

public static final ExternalIdentifierTypeEnum SS_PATIENT_ID
Method Detail

values

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

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

valueOf

public static ExternalIdentifierTypeEnum 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

matchesScheme

public boolean matchesScheme(String identificationScheme)
Check to see if the given identificationScheme matches the current object.

Parameters:
identificationScheme - the identificationScheme to check.
Returns:
true if the values match, false otherwise.

getIdentificationId

public String getIdentificationId()
Get the value of identificationId.

Returns:
the value of identificationId.

getIdentificationScheme

public String getIdentificationScheme()
Get the value of identificationScheme.

Returns:
the value of identificationScheme.

getLocalizedString

public String getLocalizedString()


Copyright © 2010-2011. All Rights Reserved.