Enum DocumentEntryType
- java.lang.Object
-
- java.lang.Enum<DocumentEntryType>
-
- org.openehealth.ipf.commons.ihe.xds.core.metadata.DocumentEntryType
-
- All Implemented Interfaces:
Serializable
,Comparable<DocumentEntryType>
public enum DocumentEntryType extends Enum<DocumentEntryType>
Type of a document entry.- Author:
- Dmytro Rud
-
-
Field Summary
Fields Modifier and Type Field Description static String[]
STABLE_OR_ON_DEMAND
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getUuid()
static String
toUuid(DocumentEntryType type)
static DocumentEntryType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DocumentEntryType
valueOfUuid(String uuid)
static DocumentEntryType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STABLE
public static final DocumentEntryType STABLE
-
ON_DEMAND
public static final DocumentEntryType ON_DEMAND
-
-
Field Detail
-
STABLE_OR_ON_DEMAND
public static final String[] STABLE_OR_ON_DEMAND
-
-
Method Detail
-
values
public static DocumentEntryType[] 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 (DocumentEntryType c : DocumentEntryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentEntryType 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
-
getUuid
public String getUuid()
-
toUuid
public static String toUuid(DocumentEntryType type)
-
valueOfUuid
public static DocumentEntryType valueOfUuid(String uuid)
-
-