Package com.ibm.fhir.path
Class FHIRPathTypeInfoNode
- java.lang.Object
-
- com.ibm.fhir.path.FHIRPathAbstractNode
-
- com.ibm.fhir.path.FHIRPathTypeInfoNode
-
- All Implemented Interfaces:
FHIRPathNode
,Comparable<FHIRPathNode>
public class FHIRPathTypeInfoNode extends FHIRPathAbstractNode
AFHIRPathNode
that wraps aTypeInfo
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FHIRPathTypeInfoNode(com.ibm.fhir.path.FHIRPathTypeInfoNode.Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(FHIRPathNodeVisitor visitor)
A method for accepting aFHIRPathNodeVisitor
int
compareTo(FHIRPathNode o)
The compareTo operation is not supported for this FHIRPathTypeInfoNodeboolean
equals(Object obj)
Indicates whether theTypeInfo
wrapped by this FHIRPathTypeInfoNode is equal the parameterint
hashCode()
boolean
isTypeInfoNode()
Indicates whether this FHIRPathNode is type compatible withFHIRPathTypeInfoNode
com.ibm.fhir.path.FHIRPathTypeInfoNode.Builder
toBuilder()
This toBuilder is not supported for this FHIRPathTypeInfoNodeString
toString()
TypeInfo
typeInfo()
TheTypeInfo
wrapped by this FHIRPathTypeInfoNodestatic FHIRPathTypeInfoNode
typeInfoNode(TypeInfo typeInfo)
-
Methods inherited from class com.ibm.fhir.path.FHIRPathAbstractNode
as, children, descendants, getValue, hasValue, is, name, path, stream, type
-
Methods inherited from interface com.ibm.fhir.path.FHIRPathNode
asElementNode, asResourceNode, asSystemValue, asTermServiceNode, asTypeInfoNode, isComparableTo, isElementNode, isResourceNode, isSystemValue, isTermServiceNode
-
-
-
-
Method Detail
-
isTypeInfoNode
public boolean isTypeInfoNode()
Description copied from interface:FHIRPathNode
Indicates whether this FHIRPathNode is type compatible withFHIRPathTypeInfoNode
- Returns:
- true if this FHIRPathNode is type compatible with
FHIRPathTypeInfoNode
, otherwise false
-
typeInfo
public TypeInfo typeInfo()
TheTypeInfo
wrapped by this FHIRPathTypeInfoNode- Returns:
- the
TypeInfo
wrapped by this FHIRPathTypeInfoNode
-
typeInfoNode
public static FHIRPathTypeInfoNode typeInfoNode(TypeInfo typeInfo)
- Parameters:
typeInfo
- the typeInfo- Returns:
- a new FHIRPathTypeInfoNode instance
-
toBuilder
public com.ibm.fhir.path.FHIRPathTypeInfoNode.Builder toBuilder()
This toBuilder is not supported for this FHIRPathTypeInfoNode- Specified by:
toBuilder
in classFHIRPathAbstractNode
- Returns:
- a new
FHIRPathNode.Builder
instance containing the fields from thisFHIRPathNode
instance
-
compareTo
public int compareTo(FHIRPathNode o)
The compareTo operation is not supported for this FHIRPathTypeInfoNode
-
equals
public boolean equals(Object obj)
Indicates whether theTypeInfo
wrapped by this FHIRPathTypeInfoNode is equal the parameter
-
accept
public void accept(FHIRPathNodeVisitor visitor)
Description copied from interface:FHIRPathNode
A method for accepting aFHIRPathNodeVisitor
- Parameters:
visitor
- theFHIRPathNodeVisitor
that this FHIRPathNode is accepting
-
-