Package com.ibm.fhir.path
Class FHIRPathQuantityNode.Builder
- java.lang.Object
-
- com.ibm.fhir.path.FHIRPathAbstractNode.Builder
-
- com.ibm.fhir.path.FHIRPathElementNode.Builder
-
- com.ibm.fhir.path.FHIRPathQuantityNode.Builder
-
- All Implemented Interfaces:
FHIRPathNode.Builder
- Enclosing class:
- FHIRPathQuantityNode
public static class FHIRPathQuantityNode.Builder extends FHIRPathElementNode.Builder
-
-
Field Summary
-
Fields inherited from class com.ibm.fhir.path.FHIRPathElementNode.Builder
element
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder(FHIRPathType type, Quantity quantity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FHIRPathQuantityNodebuild()Build a FHIRPathQuantityNode instance using this builderFHIRPathQuantityNode.Builderchildren(FHIRPathNode... children)Child nodes of the FHIRPathNodeFHIRPathQuantityNode.Builderchildren(Collection<FHIRPathNode> children)Child nodes of the FHIRPathNodeFHIRPathQuantityNode.Buildername(String name)The name of the FHIRPathNodeFHIRPathQuantityNode.Builderpath(String path)The path of the FHIRPathNodeFHIRPathQuantityNode.Buildervalue(FHIRPathSystemValue value)The primitive value of the FHIRPathNode
-
-
-
Constructor Detail
-
Builder
protected Builder(FHIRPathType type, Quantity quantity)
-
-
Method Detail
-
name
public FHIRPathQuantityNode.Builder name(String name)
Description copied from interface:FHIRPathNode.BuilderThe name of the FHIRPathNode- Specified by:
namein interfaceFHIRPathNode.Builder- Overrides:
namein classFHIRPathElementNode.Builder- Parameters:
name- the name of the FHIRPathNode- Returns:
- A reference to this builder instance
-
path
public FHIRPathQuantityNode.Builder path(String path)
Description copied from interface:FHIRPathNode.BuilderThe path of the FHIRPathNode- Specified by:
pathin interfaceFHIRPathNode.Builder- Overrides:
pathin classFHIRPathElementNode.Builder- Parameters:
path- the path of the FHIRPathNode- Returns:
- A reference to this builder instance
-
value
public FHIRPathQuantityNode.Builder value(FHIRPathSystemValue value)
Description copied from interface:FHIRPathNode.BuilderThe primitive value of the FHIRPathNode- Specified by:
valuein interfaceFHIRPathNode.Builder- Overrides:
valuein classFHIRPathElementNode.Builder- Returns:
- A reference to this builder instance
-
children
public FHIRPathQuantityNode.Builder children(FHIRPathNode... children)
Description copied from interface:FHIRPathNode.BuilderChild nodes of the FHIRPathNode- Specified by:
childrenin interfaceFHIRPathNode.Builder- Overrides:
childrenin classFHIRPathElementNode.Builder- Returns:
- A reference to this builder instance
-
children
public FHIRPathQuantityNode.Builder children(Collection<FHIRPathNode> children)
Description copied from interface:FHIRPathNode.BuilderChild nodes of the FHIRPathNode- Specified by:
childrenin interfaceFHIRPathNode.Builder- Overrides:
childrenin classFHIRPathElementNode.Builder- Returns:
- A reference to this builder instance
-
build
public FHIRPathQuantityNode build()
Build a FHIRPathQuantityNode instance using this builder- Specified by:
buildin interfaceFHIRPathNode.Builder- Overrides:
buildin classFHIRPathElementNode.Builder- Returns:
- a new FHIRPathQuantityNode instance
-
-