Package org.linuxforhealth.fhir.path
Class FHIRPathAbstractSystemValue
- java.lang.Object
-
- org.linuxforhealth.fhir.path.FHIRPathAbstractNode
-
- org.linuxforhealth.fhir.path.FHIRPathAbstractSystemValue
-
- All Implemented Interfaces:
java.lang.Comparable<FHIRPathNode>
,FHIRPathNode
,FHIRPathSystemValue
- Direct Known Subclasses:
FHIRPathAbstractTemporalValue
,FHIRPathBooleanValue
,FHIRPathDecimalValue
,FHIRPathIntegerValue
,FHIRPathQuantityValue
,FHIRPathStringValue
public abstract class FHIRPathAbstractSystemValue extends FHIRPathAbstractNode implements FHIRPathSystemValue
Abstract base class for allFHIRPathSystemValue
implementationsFHIRPathSystemValue
is a terminalFHIRPathNode
and implementations will never have a child system value, children, or descendants.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FHIRPathAbstractSystemValue.Builder
-
Constructor Summary
Constructors Modifier Constructor Description protected
FHIRPathAbstractSystemValue(FHIRPathAbstractSystemValue.Builder builder)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.util.Collection<FHIRPathNode>
children()
This method always returns an emptyCollection
java.util.Collection<FHIRPathNode>
descendants()
This method always returns an emptyCollection
java.util.stream.Stream<FHIRPathNode>
stream()
This method always returns an emptyStream
abstract FHIRPathAbstractSystemValue.Builder
toBuilder()
Convert thisFHIRPathNode
instance into aFHIRPathNode.Builder
instance-
Methods inherited from class org.linuxforhealth.fhir.path.FHIRPathAbstractNode
as, getValue, hasValue, is, name, path, type
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.linuxforhealth.fhir.path.FHIRPathNode
accept, as, asElementNode, asResourceNode, asSystemValue, asTermServiceNode, asTypeInfoNode, is, isComparableTo, isElementNode, isResourceNode, isTermServiceNode, isTypeInfoNode, name, path, type
-
Methods inherited from interface org.linuxforhealth.fhir.path.FHIRPathSystemValue
asBooleanValue, asNumberValue, asQuantityValue, asStringValue, asTemporalValue, getValue, hasValue, isBooleanValue, isNumberValue, isQuantityValue, isStringValue, isSystemValue, isTemporalValue
-
-
-
-
Constructor Detail
-
FHIRPathAbstractSystemValue
protected FHIRPathAbstractSystemValue(FHIRPathAbstractSystemValue.Builder builder)
-
-
Method Detail
-
children
public final java.util.Collection<FHIRPathNode> children()
This method always returns an emptyCollection
- Specified by:
children
in interfaceFHIRPathNode
- Overrides:
children
in classFHIRPathAbstractNode
- Returns:
- an empty
Collection
-
stream
public final java.util.stream.Stream<FHIRPathNode> stream()
This method always returns an emptyStream
- Specified by:
stream
in interfaceFHIRPathNode
- Overrides:
stream
in classFHIRPathAbstractNode
- Returns:
- an empty
Stream
-
descendants
public final java.util.Collection<FHIRPathNode> descendants()
This method always returns an emptyCollection
- Specified by:
descendants
in interfaceFHIRPathNode
- Overrides:
descendants
in classFHIRPathAbstractNode
- Returns:
- an empty
Stream
-
toBuilder
public abstract FHIRPathAbstractSystemValue.Builder toBuilder()
Description copied from class:FHIRPathAbstractNode
Convert thisFHIRPathNode
instance into aFHIRPathNode.Builder
instance- Specified by:
toBuilder
in classFHIRPathAbstractNode
- Returns:
- a new
FHIRPathNode.Builder
instance containing the fields from thisFHIRPathNode
instance
-
-