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 protectedBuilder(FHIRPathType type, Element element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FHIRPathElementNodebuild()Build a FHIRPathElementNode using this builderFHIRPathElementNode.Builderchildren(FHIRPathNode... children)Child nodes of the FHIRPathNodeFHIRPathElementNode.Builderchildren(Collection<FHIRPathNode> children)Child nodes of the FHIRPathNodeFHIRPathElementNode.Buildername(String name)The name of the FHIRPathNodeFHIRPathElementNode.Builderpath(String path)The path of the FHIRPathNodeFHIRPathElementNode.Buildervalue(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.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 FHIRPathElementNode.Builder path(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
-
value
public FHIRPathElementNode.Builder value(FHIRPathSystemValue value)
Description copied from interface:FHIRPathNode.BuilderThe child system value of the FHIRPathNode- Specified by:
valuein interfaceFHIRPathNode.Builder- Overrides:
valuein classFHIRPathAbstractNode.Builder- Returns:
- A reference to this builder instance
-
children
public FHIRPathElementNode.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 FHIRPathElementNode.Builder children(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 FHIRPathElementNode build()
Build a FHIRPathElementNode using this builder- Specified by:
buildin interfaceFHIRPathNode.Builder- Specified by:
buildin classFHIRPathAbstractNode.Builder- Returns:
- a new FHIRPathElementNode instance
-
-