Package com.ibm.fhir.model.type.code
Enum XPathUsageType.ValueSet
- java.lang.Object
-
- java.lang.Enum<XPathUsageType.ValueSet>
-
- com.ibm.fhir.model.type.code.XPathUsageType.ValueSet
-
- All Implemented Interfaces:
Serializable,Comparable<XPathUsageType.ValueSet>
- Enclosing class:
- XPathUsageType
public static enum XPathUsageType.ValueSet extends Enum<XPathUsageType.ValueSet>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XPathUsageType.ValueSetfrom(String value)Factory method for creating XPathUsageType.ValueSet values from a passed string value.Stringvalue()static XPathUsageType.ValueSetvalueOf(String name)Returns the enum constant of this type with the specified name.static XPathUsageType.ValueSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final XPathUsageType.ValueSet NORMAL
NormalThe search parameter is derived directly from the selected nodes based on the type definitions.
-
PHONETIC
public static final XPathUsageType.ValueSet PHONETIC
PhoneticThe search parameter is derived by a phonetic transform from the selected nodes.
-
NEARBY
public static final XPathUsageType.ValueSet NEARBY
NearbyThe search parameter is based on a spatial transform of the selected nodes.
-
DISTANCE
public static final XPathUsageType.ValueSet DISTANCE
DistanceThe search parameter is based on a spatial transform of the selected nodes, using physical distance from the middle.
-
OTHER
public static final XPathUsageType.ValueSet OTHER
OtherThe interpretation of the xpath statement is unknown (and can't be automated).
-
-
Method Detail
-
values
public static XPathUsageType.ValueSet[] 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 (XPathUsageType.ValueSet c : XPathUsageType.ValueSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XPathUsageType.ValueSet 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
-
value
public String value()
- Returns:
- The java.lang.String value of the code represented by this enum
-
from
public static XPathUsageType.ValueSet from(String value)
Factory method for creating XPathUsageType.ValueSet values from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
-