Package org.linuxforhealth.fhir.path
Class FHIRPathAbstractTemporalValue.Builder
- java.lang.Object
-
- org.linuxforhealth.fhir.path.FHIRPathAbstractNode.Builder
-
- org.linuxforhealth.fhir.path.FHIRPathAbstractSystemValue.Builder
-
- org.linuxforhealth.fhir.path.FHIRPathAbstractTemporalValue.Builder
-
- All Implemented Interfaces:
FHIRPathNode.Builder
- Direct Known Subclasses:
FHIRPathDateTimeValue.Builder
,FHIRPathDateValue.Builder
,FHIRPathTimeValue.Builder
- Enclosing class:
- FHIRPathAbstractTemporalValue
public abstract static class FHIRPathAbstractTemporalValue.Builder extends FHIRPathAbstractSystemValue.Builder
-
-
Field Summary
Fields Modifier and Type Field Description protected java.time.temporal.ChronoField
precision
protected java.time.temporal.TemporalAccessor
temporalAccessor
protected java.lang.String
text
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(FHIRPathType type, java.time.temporal.TemporalAccessor temporalAccessor, java.time.temporal.ChronoField precision)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract FHIRPathTemporalValue
build()
Build a FHIRPathNode using this builderFHIRPathAbstractTemporalValue.Builder
name(java.lang.String name)
The name of the FHIRPathNodeFHIRPathAbstractTemporalValue.Builder
path(java.lang.String path)
The path of the FHIRPathNodeFHIRPathAbstractTemporalValue.Builder
text(java.lang.String text)
-
Methods inherited from class org.linuxforhealth.fhir.path.FHIRPathAbstractSystemValue.Builder
children, children, value
-
-
-
-
Constructor Detail
-
Builder
protected Builder(FHIRPathType type, java.time.temporal.TemporalAccessor temporalAccessor, java.time.temporal.ChronoField precision)
-
-
Method Detail
-
name
public FHIRPathAbstractTemporalValue.Builder name(java.lang.String name)
Description copied from interface:FHIRPathNode.Builder
The name of the FHIRPathNode- Specified by:
name
in interfaceFHIRPathNode.Builder
- Overrides:
name
in classFHIRPathAbstractSystemValue.Builder
- Parameters:
name
- the name of the FHIRPathNode- Returns:
- A reference to this builder instance
-
path
public FHIRPathAbstractTemporalValue.Builder path(java.lang.String path)
Description copied from interface:FHIRPathNode.Builder
The path of the FHIRPathNode- Specified by:
path
in interfaceFHIRPathNode.Builder
- Overrides:
path
in classFHIRPathAbstractSystemValue.Builder
- Parameters:
path
- the path of the FHIRPathNode- Returns:
- A reference to this builder instance
-
text
public FHIRPathAbstractTemporalValue.Builder text(java.lang.String text)
-
build
public abstract FHIRPathTemporalValue build()
Description copied from interface:FHIRPathNode.Builder
Build a FHIRPathNode using this builder- Specified by:
build
in interfaceFHIRPathNode.Builder
- Specified by:
build
in classFHIRPathAbstractSystemValue.Builder
- Returns:
- a new FHIRPathNode instance
-
-