Package com.ibm.fhir.path
Class FHIRPathAbstractNode.Builder
- java.lang.Object
 - 
- com.ibm.fhir.path.FHIRPathAbstractNode.Builder
 
 
- 
- All Implemented Interfaces:
 FHIRPathNode.Builder
- Direct Known Subclasses:
 FHIRPathAbstractTemporalValue.Builder,FHIRPathBooleanValue.Builder,FHIRPathDecimalValue.Builder,FHIRPathElementNode.Builder,FHIRPathIntegerValue.Builder,FHIRPathQuantityValue.Builder,FHIRPathResourceNode.Builder,FHIRPathStringValue.Builder
- Enclosing class:
 - FHIRPathAbstractNode
 
public abstract static class FHIRPathAbstractNode.Builder extends Object implements FHIRPathNode.Builder
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected Collection<FHIRPathNode>childrenprotected Stringnameprotected Stringpathprotected FHIRPathTypetypeprotected FHIRPathSystemValuevalue 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder(FHIRPathType type) 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract FHIRPathNodebuild()Build a FHIRPathNode using this builderFHIRPathAbstractNode.Builderchildren(FHIRPathNode... children)Child nodes of the FHIRPathNodeFHIRPathAbstractNode.Builderchildren(Collection<FHIRPathNode> children)Child nodes of the FHIRPathNodeFHIRPathAbstractNode.Buildername(String name)The name of the FHIRPathNodeFHIRPathAbstractNode.Builderpath(String path)The path of the FHIRPathNodeFHIRPathAbstractNode.Buildervalue(FHIRPathSystemValue value)The primitive value of the FHIRPathNode 
 - 
 
- 
- 
Field Detail
- 
type
protected final FHIRPathType type
 
- 
name
protected String name
 
- 
path
protected String path
 
- 
value
protected FHIRPathSystemValue value
 
- 
children
protected Collection<FHIRPathNode> children
 
 - 
 
- 
Constructor Detail
- 
Builder
protected Builder(FHIRPathType type)
 
 - 
 
- 
Method Detail
- 
name
public FHIRPathAbstractNode.Builder name(String name)
Description copied from interface:FHIRPathNode.BuilderThe name of the FHIRPathNode- Specified by:
 namein interfaceFHIRPathNode.Builder- Parameters:
 name- the name of the FHIRPathNode- Returns:
 - A reference to this builder instance
 
 
- 
path
public FHIRPathAbstractNode.Builder path(String path)
Description copied from interface:FHIRPathNode.BuilderThe path of the FHIRPathNode- Specified by:
 pathin interfaceFHIRPathNode.Builder- Parameters:
 path- the path of the FHIRPathNode- Returns:
 - A reference to this builder instance
 
 
- 
value
public FHIRPathAbstractNode.Builder value(FHIRPathSystemValue value)
Description copied from interface:FHIRPathNode.BuilderThe primitive value of the FHIRPathNode- Specified by:
 valuein interfaceFHIRPathNode.Builder- Returns:
 - A reference to this builder instance
 
 
- 
children
public FHIRPathAbstractNode.Builder children(FHIRPathNode... children)
Description copied from interface:FHIRPathNode.BuilderChild nodes of the FHIRPathNode- Specified by:
 childrenin interfaceFHIRPathNode.Builder- Returns:
 - A reference to this builder instance
 
 
- 
children
public FHIRPathAbstractNode.Builder children(Collection<FHIRPathNode> children)
Description copied from interface:FHIRPathNode.BuilderChild nodes of the FHIRPathNode- Specified by:
 childrenin interfaceFHIRPathNode.Builder- Returns:
 - A reference to this builder instance
 
 
- 
build
public abstract FHIRPathNode build()
Description copied from interface:FHIRPathNode.BuilderBuild a FHIRPathNode using this builder- Specified by:
 buildin interfaceFHIRPathNode.Builder- Returns:
 - a new FHIRPathNode instance
 
 
 - 
 
 -