Package com.ibm.fhir.model.type.code
Class XPathUsageType
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.XPathUsageType
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class XPathUsageType extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXPathUsageType.Builderstatic classXPathUsageType.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static XPathUsageTypeDISTANCEDistancestatic XPathUsageTypeNEARBYNearbystatic XPathUsageTypeNORMALNormalstatic XPathUsageTypeOTHEROtherstatic XPathUsageTypePHONETICPhonetic
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XPathUsageType.Builderbuilder()static Codecode(String value)Inherited factory method for creating XPathUsageType objects from a passed string value.booleanequals(Object obj)XPathUsageType.ValueSetgetValueAsEnumConstant()inthashCode()static XPathUsageTypeof(XPathUsageType.ValueSet value)Factory method for creating XPathUsageType objects from a passed enum value.static XPathUsageTypeof(String value)Factory method for creating XPathUsageType objects from a passed string value.static Stringstring(String value)Inherited factory method for creating XPathUsageType objects from a passed string value.XPathUsageType.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
NORMAL
public static final XPathUsageType NORMAL
NormalThe search parameter is derived directly from the selected nodes based on the type definitions.
-
PHONETIC
public static final XPathUsageType PHONETIC
PhoneticThe search parameter is derived by a phonetic transform from the selected nodes.
-
NEARBY
public static final XPathUsageType NEARBY
NearbyThe search parameter is based on a spatial transform of the selected nodes.
-
DISTANCE
public static final XPathUsageType 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 OTHER
OtherThe interpretation of the xpath statement is unknown (and can't be automated).
-
-
Method Detail
-
getValueAsEnumConstant
public XPathUsageType.ValueSet getValueAsEnumConstant()
-
of
public static XPathUsageType of(XPathUsageType.ValueSet value)
Factory method for creating XPathUsageType objects from a passed enum value.
-
of
public static XPathUsageType of(String value)
Factory method for creating XPathUsageType objects 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
-
string
public static String string(String value)
Inherited factory method for creating XPathUsageType objects 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
-
code
public static Code code(String value)
Inherited factory method for creating XPathUsageType objects 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
-
toBuilder
public XPathUsageType.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static XPathUsageType.Builder builder()
-
-