Class FHIRPathElementNode

    • Method Detail

      • element

        public Element element()
        The Element wrapped by this FHIRPathElementNode
        Returns:
        the Element wrapped by this FHIRPathElementNode
      • isElementNode

        public boolean isElementNode()
        Description copied from interface: FHIRPathNode
        Indicates whether this FHIRPathNode is type compatible with FHIRPathElementNode
        Returns:
        true if this FHIRPathNode is type compatible with FHIRPathElementNode, otherwise false
      • isQuantityNode

        public boolean isQuantityNode()
        Indicates whether this FHIRPathElementNode is type compatible with FHIRPathQuantityNode
        Returns:
        true if this FHIRPathElementNode is type compatible with FHIRPathQuantityNode, otherwise false
      • elementNode

        public static FHIRPathElementNode elementNode​(Element element)
        Static factory method for creating FHIRPathElementNode instances from an Element
        Parameters:
        element - the element
        Returns:
        a new FHIRPathElementNode instance
      • elementNode

        public static FHIRPathElementNode elementNode​(java.lang.String name,
                                                      Element element)
        Static factory method for creating named FHIRPathElementNode instances from an Element
        Parameters:
        name - the name
        element - the element
        Returns:
        a new named FHIRPathElementNode instance
      • builder

        public static FHIRPathElementNode.Builder builder​(Element element)
        Static factory method for creating builder instances from an Element
        Parameters:
        element - the element
        Returns:
        a new builder for building FHIRPathElementNode instances
      • isComparableTo

        public boolean isComparableTo​(FHIRPathNode other)
        Indicates whether this FHIRPathElementNode has a primitive value and is comparable to the parameter
        Parameters:
        other - the other FHIRPathNode
        Returns:
        true if this FHIRPathElementNode has a primitive value and is comparable to the primitive value of the parameter, otherwise false
      • compareTo

        public int compareTo​(FHIRPathNode other)
        Compare the element wrapped by this FHIRPathElementNode to the parameter
        Parameters:
        other - the other FHIRPathNode
        Returns:
        the result of comparing the primitive value of this FHIRPathElementNode to the primitive value of the parameter
      • equals

        public boolean equals​(java.lang.Object obj)
        Indicates whether this FHIRPathElementNode is equal to the parameter
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - the other Object
        Returns:
        true if the primitive value of this FHIRPathElementNode is equal to the primitive value of the parameter or the Element wrapped by this FHIRPathElementNode is equal to the Element wrapped by the parameter, otherwise false
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object