Package org.linuxforhealth.fhir.path
Class FHIRPathResourceNode.Builder
- java.lang.Object
-
- org.linuxforhealth.fhir.path.FHIRPathAbstractNode.Builder
-
- org.linuxforhealth.fhir.path.FHIRPathResourceNode.Builder
-
- All Implemented Interfaces:
FHIRPathNode.Builder
- Enclosing class:
- FHIRPathResourceNode
public static class FHIRPathResourceNode.Builder extends FHIRPathAbstractNode.Builder
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(FHIRPathType type, Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FHIRPathResourceNode
build()
Build a FHIRPathResourceNode using this builderFHIRPathResourceNode.Builder
children(java.util.Collection<FHIRPathNode> children)
Child nodes of the FHIRPathNodeFHIRPathResourceNode.Builder
children(FHIRPathNode... children)
Child nodes of the FHIRPathNodeFHIRPathResourceNode.Builder
name(java.lang.String name)
The name of the FHIRPathNodeFHIRPathResourceNode.Builder
path(java.lang.String path)
The path of the FHIRPathNodeFHIRPathResourceNode.Builder
tree(FHIRPathTree tree)
-
Methods inherited from class org.linuxforhealth.fhir.path.FHIRPathAbstractNode.Builder
value
-
-
-
-
Constructor Detail
-
Builder
protected Builder(FHIRPathType type, Resource resource)
-
-
Method Detail
-
tree
public FHIRPathResourceNode.Builder tree(FHIRPathTree tree)
-
name
public FHIRPathResourceNode.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 classFHIRPathAbstractNode.Builder
- Parameters:
name
- the name of the FHIRPathNode- Returns:
- A reference to this builder instance
-
path
public FHIRPathResourceNode.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 classFHIRPathAbstractNode.Builder
- Parameters:
path
- the path of the FHIRPathNode- Returns:
- A reference to this builder instance
-
children
public FHIRPathResourceNode.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 FHIRPathResourceNode.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 classFHIRPathAbstractNode.Builder
- Returns:
- A reference to this builder instance
-
build
public FHIRPathResourceNode build()
Build a FHIRPathResourceNode using this builder- Specified by:
build
in interfaceFHIRPathNode.Builder
- Specified by:
build
in classFHIRPathAbstractNode.Builder
- Returns:
- a new FHIRPathResourceNode instance
-
-