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
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected Elementelementprotected FHIRPathTreetree 
- 
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(java.util.Collection<FHIRPathNode> children)Child nodes of the FHIRPathNodeFHIRPathElementNode.Buildername(java.lang.String name)The name of the FHIRPathNodeFHIRPathElementNode.Builderpath(java.lang.String path)The path of the FHIRPathNodeFHIRPathElementNode.Buildertree(FHIRPathTree tree)FHIRPathElementNode.Buildervalue(FHIRPathSystemValue value)The child system value of the FHIRPathNode 
 - 
 
- 
- 
Field Detail
- 
element
protected final Element element
 
- 
tree
protected FHIRPathTree tree
 
 - 
 
- 
Constructor Detail
- 
Builder
protected Builder(FHIRPathType type, Element element)
 
 - 
 
- 
Method Detail
- 
tree
public FHIRPathElementNode.Builder tree(FHIRPathTree tree)
 
- 
name
public FHIRPathElementNode.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 FHIRPathElementNode.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
 
 
- 
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(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 FHIRPathElementNode build()
Build a FHIRPathElementNode using this builder- Specified by:
 buildin interfaceFHIRPathNode.Builder- Specified by:
 buildin classFHIRPathAbstractNode.Builder- Returns:
 - a new FHIRPathElementNode instance
 
 
 - 
 
 -