Package org.linuxforhealth.fhir.path
Interface FHIRPathSystemValue
-
- All Superinterfaces:
java.lang.Comparable<FHIRPathNode>
,FHIRPathNode
- All Known Subinterfaces:
FHIRPathNumberValue
,FHIRPathTemporalValue
- All Known Implementing Classes:
FHIRPathAbstractSystemValue
,FHIRPathAbstractTemporalValue
,FHIRPathBooleanValue
,FHIRPathDateTimeValue
,FHIRPathDateValue
,FHIRPathDecimalValue
,FHIRPathIntegerValue
,FHIRPathQuantityValue
,FHIRPathStringValue
,FHIRPathTimeValue
public interface FHIRPathSystemValue extends FHIRPathNode
An interface that represents FHIRPath system data types
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.linuxforhealth.fhir.path.FHIRPathNode
FHIRPathNode.Builder
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default FHIRPathBooleanValue
asBooleanValue()
Cast this FHIRPathSystemValue to aFHIRPathBooleanValue
default FHIRPathNumberValue
asNumberValue()
Cast this FHIRPathSystemValue to aFHIRPathNumberValue
default FHIRPathQuantityValue
asQuantityValue()
Cast this FHIRPathSystemValue to aFHIRPathQuantityValue
default FHIRPathStringValue
asStringValue()
Cast this FHIRPathSystemValue to aFHIRPathStringValue
default FHIRPathTemporalValue
asTemporalValue()
Cast this FHIRPathSystemValue to aFHIRPathTemporalValue
default FHIRPathSystemValue
getValue()
The child system value of this FHIRPathNodedefault boolean
hasValue()
Indicates whether this FHIRPathNode has a child system valuedefault boolean
isBooleanValue()
Indicates whether this FHIRPathSystemValue is type compatible withFHIRPathBooleanValue
default boolean
isNumberValue()
Indicates whether this FHIRPathSystemValue is type compatible withFHIRPathNumberValue
default boolean
isQuantityValue()
Indicates whether this FHIRPathSystemValue is type compatible withFHIRPathQuantityValue
default boolean
isStringValue()
Indicates whether this FHIRPathSystemValue is type compatible withFHIRPathStringValue
default boolean
isSystemValue()
Always truedefault boolean
isTemporalValue()
Indicates whether this FHIRPathSystemValue is type compatible withFHIRPathTemporalValue
-
Methods inherited from interface org.linuxforhealth.fhir.path.FHIRPathNode
accept, as, asElementNode, asResourceNode, asSystemValue, asTermServiceNode, asTypeInfoNode, children, descendants, is, isComparableTo, isElementNode, isResourceNode, isTermServiceNode, isTypeInfoNode, name, path, stream, type
-
-
-
-
Method Detail
-
hasValue
default boolean hasValue()
Description copied from interface:FHIRPathNode
Indicates whether this FHIRPathNode has a child system value- Specified by:
hasValue
in interfaceFHIRPathNode
- Returns:
- false
-
getValue
default FHIRPathSystemValue getValue()
Description copied from interface:FHIRPathNode
The child system value of this FHIRPathNode- Specified by:
getValue
in interfaceFHIRPathNode
- Returns:
- null
- See Also:
isBooleanValue()
,isStringValue()
,isQuantityValue()
,isNumberValue()
,isTemporalValue()
,asBooleanValue()
,asStringValue()
,asQuantityValue()
,asNumberValue()
,asTemporalValue()
-
isSystemValue
default boolean isSystemValue()
Always true- Specified by:
isSystemValue
in interfaceFHIRPathNode
- Returns:
- true if this FHIRPathNode is type compatible with
FHIRPathSystemValue
, otherwise false
-
isBooleanValue
default boolean isBooleanValue()
Indicates whether this FHIRPathSystemValue is type compatible withFHIRPathBooleanValue
- Returns:
- true if this FHIRPathSystemValue is type compatible with
FHIRPathBooleanValue
, otherwise false
-
isStringValue
default boolean isStringValue()
Indicates whether this FHIRPathSystemValue is type compatible withFHIRPathStringValue
- Returns:
- true if this FHIRPathSystemValue is type compatible with
FHIRPathStringValue
, otherwise false
-
isQuantityValue
default boolean isQuantityValue()
Indicates whether this FHIRPathSystemValue is type compatible withFHIRPathQuantityValue
- Returns:
- true if this FHIRPathSystemValue is type compatible with
FHIRPathQuantityValue
, otherwise false
-
isNumberValue
default boolean isNumberValue()
Indicates whether this FHIRPathSystemValue is type compatible withFHIRPathNumberValue
- Returns:
- true if this FHIRPathSystemValue is type compatible with
FHIRPathNumberValue
, otherwise false
-
isTemporalValue
default boolean isTemporalValue()
Indicates whether this FHIRPathSystemValue is type compatible withFHIRPathTemporalValue
- Returns:
- true if this FHIRPathSystemValue is type compatible with
FHIRPathTemporalValue
, otherwise false
-
asBooleanValue
default FHIRPathBooleanValue asBooleanValue()
Cast this FHIRPathSystemValue to aFHIRPathBooleanValue
- Returns:
- this FHIRPathSystemValue as a
FHIRPathBooleanValue
-
asStringValue
default FHIRPathStringValue asStringValue()
Cast this FHIRPathSystemValue to aFHIRPathStringValue
- Returns:
- this FHIRPathSystemValue as a
FHIRPathStringValue
-
asQuantityValue
default FHIRPathQuantityValue asQuantityValue()
Cast this FHIRPathSystemValue to aFHIRPathQuantityValue
- Returns:
- this FHIRPathSystemValue as a
FHIRPathQuantityValue
-
asNumberValue
default FHIRPathNumberValue asNumberValue()
Cast this FHIRPathSystemValue to aFHIRPathNumberValue
- Returns:
- this FHIRPathSystemValue as a
FHIRPathNumberValue
-
asTemporalValue
default FHIRPathTemporalValue asTemporalValue()
Cast this FHIRPathSystemValue to aFHIRPathTemporalValue
- Returns:
- this FHIRPathSystemValue as a
FHIRPathTemporalValue
-
-