Package com.ibm.fhir.path
Class FHIRPathElementNode.Builder
- java.lang.Object
-
- com.ibm.fhir.path.FHIRPathAbstractNode.Builder
-
- com.ibm.fhir.path.FHIRPathElementNode.Builder
-
- All Implemented Interfaces:
FHIRPathNode.Builder
- Direct Known Subclasses:
FHIRPathQuantityNode.Builder
- Enclosing class:
- FHIRPathElementNode
public static class FHIRPathElementNode.Builder extends FHIRPathAbstractNode.Builder
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(FHIRPathType type, Element element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FHIRPathElementNode
build()
Build a FHIRPathElementNode using this builderFHIRPathElementNode.Builder
children(FHIRPathNode... children)
Child nodes of the FHIRPathNodeFHIRPathElementNode.Builder
children(Collection<FHIRPathNode> children)
Child nodes of the FHIRPathNodeFHIRPathElementNode.Builder
name(String name)
The name of the FHIRPathNodeFHIRPathElementNode.Builder
path(String path)
The path of the FHIRPathNodeFHIRPathElementNode.Builder
value(FHIRPathSystemValue value)
The child system value of the FHIRPathNode
-
-
-
Field Detail
-
element
protected final Element element
-
-
Constructor Detail
-
Builder
protected Builder(FHIRPathType type, Element element)
-
-
Method Detail
-
name
public FHIRPathElementNode.Builder name(String name)
Description copied from interface:FHIRPathNode.Builder
The name of the FHIRPathNode- Specified by:
name
in interfaceFHIRPathNode.Builder
- Overrides:
name
in classFHIRPathAbstractNode.Builder
- Parameters:
name
- the name of the FHIRPathNode- Returns:
- A reference to this builder instance
-
path
public FHIRPathElementNode.Builder path(String path)
Description copied from interface:FHIRPathNode.Builder
The path of the FHIRPathNode- Specified by:
path
in interfaceFHIRPathNode.Builder
- Overrides:
path
in classFHIRPathAbstractNode.Builder
- Parameters:
path
- the path of the FHIRPathNode- Returns:
- A reference to this builder instance
-
value
public FHIRPathElementNode.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 classFHIRPathAbstractNode.Builder
- Returns:
- A reference to this builder instance
-
children
public FHIRPathElementNode.Builder children(FHIRPathNode... children)
Description copied from interface:FHIRPathNode.Builder
Child nodes of the FHIRPathNode- Specified by:
children
in interfaceFHIRPathNode.Builder
- Overrides:
children
in classFHIRPathAbstractNode.Builder
- Returns:
- A reference to this builder instance
-
children
public FHIRPathElementNode.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 classFHIRPathAbstractNode.Builder
- Returns:
- A reference to this builder instance
-
build
public FHIRPathElementNode build()
Build a FHIRPathElementNode using this builder- Specified by:
build
in interfaceFHIRPathNode.Builder
- Specified by:
build
in classFHIRPathAbstractNode.Builder
- Returns:
- a new FHIRPathElementNode instance
-
-