Package com.ibm.fhir.model.util
Enum ReferenceType
- java.lang.Object
-
- java.lang.Enum<ReferenceType>
-
- com.ibm.fhir.model.util.ReferenceType
-
- All Implemented Interfaces:
Serializable,Comparable<ReferenceType>
public enum ReferenceType extends Enum<ReferenceType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABSOLUTE_FHIR_URLABSOLUTE_OIDABSOLUTE_OTHER_URLABSOLUTE_UUIDCONTAINEDINVALIDNO_REFERENCE_VALUEOTHERRELATIVE_FHIR_URL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReferenceTypeof(Reference ref)static ReferenceTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ReferenceType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_REFERENCE_VALUE
public static final ReferenceType NO_REFERENCE_VALUE
-
CONTAINED
public static final ReferenceType CONTAINED
-
ABSOLUTE_FHIR_URL
public static final ReferenceType ABSOLUTE_FHIR_URL
-
RELATIVE_FHIR_URL
public static final ReferenceType RELATIVE_FHIR_URL
-
ABSOLUTE_OTHER_URL
public static final ReferenceType ABSOLUTE_OTHER_URL
-
ABSOLUTE_OID
public static final ReferenceType ABSOLUTE_OID
-
ABSOLUTE_UUID
public static final ReferenceType ABSOLUTE_UUID
-
OTHER
public static final ReferenceType OTHER
-
INVALID
public static final ReferenceType INVALID
-
-
Method Detail
-
values
public static ReferenceType[] 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 (ReferenceType c : ReferenceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReferenceType 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
-
of
public static ReferenceType of(Reference ref)
-
-