Package org.linuxforhealth.fhir.path
Class FHIRPathQuantityNode.Builder
- java.lang.Object
-
- org.linuxforhealth.fhir.path.FHIRPathAbstractNode.Builder
-
- org.linuxforhealth.fhir.path.FHIRPathElementNode.Builder
-
- org.linuxforhealth.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 org.linuxforhealth.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(java.util.Collection<FHIRPathNode> children)
Child nodes of the FHIRPathNodeFHIRPathQuantityNode.Builder
children(FHIRPathNode... children)
Child nodes of the FHIRPathNodeFHIRPathQuantityNode.Builder
name(java.lang.String name)
The name of the FHIRPathNodeFHIRPathQuantityNode.Builder
path(java.lang.String path)
The path of the FHIRPathNodeFHIRPathQuantityNode.Builder
value(FHIRPathSystemValue value)
The child system value of the FHIRPathNode-
Methods inherited from class org.linuxforhealth.fhir.path.FHIRPathElementNode.Builder
tree
-
-
-
-
Constructor Detail
-
Builder
protected Builder(FHIRPathType type, Quantity quantity)
-
-
Method Detail
-
name
public FHIRPathQuantityNode.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 classFHIRPathElementNode.Builder
- Parameters:
name
- the name of the FHIRPathNode- Returns:
- A reference to this builder instance
-
path
public FHIRPathQuantityNode.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 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(java.util.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
-
-