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, tree
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(FHIRPathType type, Quantity quantity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FHIRPathQuantityNode
build()
Build a FHIRPathQuantityNode instance using this builderFHIRPathQuantityNode.Builder
children(FHIRPathNode... children)
Child nodes of the FHIRPathNodeFHIRPathQuantityNode.Builder
children(Collection<FHIRPathNode> children)
Child nodes of the FHIRPathNodeFHIRPathQuantityNode.Builder
name(String name)
The name of the FHIRPathNodeFHIRPathQuantityNode.Builder
path(String path)
The path of the FHIRPathNodeFHIRPathQuantityNode.Builder
value(FHIRPathSystemValue value)
The child system value of the FHIRPathNode-
Methods inherited from class com.ibm.fhir.path.FHIRPathElementNode.Builder
tree
-
-
-
-
Constructor Detail
-
Builder
protected Builder(FHIRPathType type, Quantity quantity)
-
-
Method Detail
-
name
public FHIRPathQuantityNode.Builder name(String name)
Description copied from interface:FHIRPathNode.Builder
The name of the FHIRPathNode- Specified by:
name
in interfaceFHIRPathNode.Builder
- Overrides:
name
in 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.Builder
The path of the FHIRPathNode- Specified by:
path
in interfaceFHIRPathNode.Builder
- Overrides:
path
in 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.Builder
The child system value of the FHIRPathNode- Specified by:
value
in interfaceFHIRPathNode.Builder
- Overrides:
value
in classFHIRPathElementNode.Builder
- Returns:
- A reference to this builder instance
-
children
public FHIRPathQuantityNode.Builder children(FHIRPathNode... children)
Description copied from interface:FHIRPathNode.Builder
Child nodes of the FHIRPathNode- Specified by:
children
in interfaceFHIRPathNode.Builder
- Overrides:
children
in classFHIRPathElementNode.Builder
- Returns:
- A reference to this builder instance
-
children
public FHIRPathQuantityNode.Builder children(Collection<FHIRPathNode> children)
Description copied from interface:FHIRPathNode.Builder
Child nodes of the FHIRPathNode- Specified by:
children
in interfaceFHIRPathNode.Builder
- Overrides:
children
in classFHIRPathElementNode.Builder
- Returns:
- A reference to this builder instance
-
build
public FHIRPathQuantityNode build()
Build a FHIRPathQuantityNode instance using this builder- Specified by:
build
in interfaceFHIRPathNode.Builder
- Overrides:
build
in classFHIRPathElementNode.Builder
- Returns:
- a new FHIRPathQuantityNode instance
-
-