Package com.ibm.fhir.path
Class FHIRPathAbstractTemporalValue.Builder
- java.lang.Object
-
- com.ibm.fhir.path.FHIRPathAbstractNode.Builder
-
- com.ibm.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 FHIRPathAbstractNode.Builder
-
-
Field Summary
Fields Modifier and Type Field Description protected ChronoFieldprecisionprotected TemporalAccessortemporalAccessorprotected Stringtext
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder(FHIRPathType type, TemporalAccessor temporalAccessor, ChronoField precision)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract FHIRPathTemporalValuebuild()Build a FHIRPathNode using this builderFHIRPathAbstractTemporalValue.Builderchildren(FHIRPathNode... children)Child nodes of the FHIRPathNodeFHIRPathAbstractTemporalValue.Builderchildren(Collection<FHIRPathNode> children)Child nodes of the FHIRPathNodeFHIRPathAbstractTemporalValue.Buildername(String name)The name of the FHIRPathNodeFHIRPathAbstractTemporalValue.Builderpath(String path)The path of the FHIRPathNodeFHIRPathAbstractTemporalValue.Buildertext(String text)FHIRPathAbstractTemporalValue.Buildervalue(FHIRPathSystemValue value)The primitive value of the FHIRPathNode
-
-
-
Field Detail
-
temporalAccessor
protected final TemporalAccessor temporalAccessor
-
precision
protected final ChronoField precision
-
text
protected String text
-
-
Constructor Detail
-
Builder
protected Builder(FHIRPathType type, TemporalAccessor temporalAccessor, ChronoField precision)
-
-
Method Detail
-
name
public FHIRPathAbstractTemporalValue.Builder name(String name)
Description copied from interface:FHIRPathNode.BuilderThe name of the FHIRPathNode- Specified by:
namein interfaceFHIRPathNode.Builder- Overrides:
namein classFHIRPathAbstractNode.Builder- Parameters:
name- the name of the FHIRPathNode- Returns:
- A reference to this builder instance
-
path
public FHIRPathAbstractTemporalValue.Builder path(String path)
Description copied from interface:FHIRPathNode.BuilderThe path of the FHIRPathNode- Specified by:
pathin interfaceFHIRPathNode.Builder- Overrides:
pathin classFHIRPathAbstractNode.Builder- Parameters:
path- the path of the FHIRPathNode- Returns:
- A reference to this builder instance
-
value
public FHIRPathAbstractTemporalValue.Builder value(FHIRPathSystemValue value)
Description copied from interface:FHIRPathNode.BuilderThe primitive value of the FHIRPathNode- Specified by:
valuein interfaceFHIRPathNode.Builder- Overrides:
valuein classFHIRPathAbstractNode.Builder- Returns:
- A reference to this builder instance
-
children
public FHIRPathAbstractTemporalValue.Builder children(FHIRPathNode... children)
Description copied from interface:FHIRPathNode.BuilderChild nodes of the FHIRPathNode- Specified by:
childrenin interfaceFHIRPathNode.Builder- Overrides:
childrenin classFHIRPathAbstractNode.Builder- Returns:
- A reference to this builder instance
-
children
public FHIRPathAbstractTemporalValue.Builder children(Collection<FHIRPathNode> children)
Description copied from interface:FHIRPathNode.BuilderChild nodes of the FHIRPathNode- Specified by:
childrenin interfaceFHIRPathNode.Builder- Overrides:
childrenin classFHIRPathAbstractNode.Builder- Returns:
- A reference to this builder instance
-
text
public FHIRPathAbstractTemporalValue.Builder text(String text)
-
build
public abstract FHIRPathTemporalValue build()
Description copied from interface:FHIRPathNode.BuilderBuild a FHIRPathNode using this builder- Specified by:
buildin interfaceFHIRPathNode.Builder- Specified by:
buildin classFHIRPathAbstractNode.Builder- Returns:
- a new FHIRPathNode instance
-
-