Package com.ibm.fhir.path
Class FHIRPathResourceNode.Builder
- java.lang.Object
-
- com.ibm.fhir.path.FHIRPathAbstractNode.Builder
-
- com.ibm.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 protectedBuilder(FHIRPathType type, Resource resource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FHIRPathResourceNodebuild()Build a FHIRPathResourceNode using this builderFHIRPathResourceNode.Builderchildren(FHIRPathNode... children)Child nodes of the FHIRPathNodeFHIRPathResourceNode.Builderchildren(java.util.Collection<FHIRPathNode> children)Child nodes of the FHIRPathNodeFHIRPathResourceNode.Buildername(java.lang.String name)The name of the FHIRPathNodeFHIRPathResourceNode.Builderpath(java.lang.String path)The path of the FHIRPathNodeFHIRPathResourceNode.Buildertree(FHIRPathTree tree)-
Methods inherited from class com.ibm.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.BuilderThe name of the FHIRPathNode- Specified by:
namein interfaceFHIRPathNode.Builder- Overrides:
namein 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.BuilderThe path of the FHIRPathNode- Specified by:
pathin interfaceFHIRPathNode.Builder- Overrides:
pathin 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.BuilderChild nodes of the FHIRPathNode- Specified by:
childrenin interfaceFHIRPathNode.Builder- Overrides:
childrenin classFHIRPathAbstractNode.Builder- Returns:
- A reference to this builder instance
-
children
public FHIRPathResourceNode.Builder children(java.util.Collection<FHIRPathNode> children)
Description copied from interface:FHIRPathNode.BuilderChild nodes of the FHIRPathNode- Specified by:
childrenin interfaceFHIRPathNode.Builder- Overrides:
childrenin classFHIRPathAbstractNode.Builder- Returns:
- A reference to this builder instance
-
build
public FHIRPathResourceNode build()
Build a FHIRPathResourceNode using this builder- Specified by:
buildin interfaceFHIRPathNode.Builder- Specified by:
buildin classFHIRPathAbstractNode.Builder- Returns:
- a new FHIRPathResourceNode instance
-
-