au.gov.nehta.vendorlibrary.clinicalpackage.enums
Enum UriTypes

java.lang.Object
  extended by java.lang.Enum<UriTypes>
      extended by au.gov.nehta.vendorlibrary.clinicalpackage.enums.UriTypes
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<UriTypes>

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

Enumeration of the various URI types used in package generation and extraction.


Enum Constant Summary
FQ_SUBSET_DIR
          Fully qualified name of the submission set directory.
INDEX
          Name of the file providing an HTML entry point into the package contents.
README
          Name of the file providing informative information about the package.
ROOT_DIR
          Name of the root package contents directory.
ROOT_DOCUMENT
          Name of the root CDA document.
SIGNATURE
          Name of the ROOT_DOCUMENT's signature file.
SUBSET_DIR
          Name of the submission set directory.
 
Method Summary
 java.lang.String getUri()
          Returns the URI type.
static UriTypes valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static UriTypes[] 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

ROOT_DOCUMENT

public static final UriTypes ROOT_DOCUMENT
Name of the root CDA document.


SIGNATURE

public static final UriTypes SIGNATURE
Name of the ROOT_DOCUMENT's signature file.


INDEX

public static final UriTypes INDEX
Name of the file providing an HTML entry point into the package contents.


README

public static final UriTypes README
Name of the file providing informative information about the package.


ROOT_DIR

public static final UriTypes ROOT_DIR
Name of the root package contents directory.


SUBSET_DIR

public static final UriTypes SUBSET_DIR
Name of the submission set directory.


FQ_SUBSET_DIR

public static final UriTypes FQ_SUBSET_DIR
Fully qualified name of the submission set directory.

Method Detail

values

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

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

valueOf

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

getUri

public java.lang.String getUri()
Returns the URI type.

Returns:
URI (type String).