Class FHIRPathResourceNode

    • Method Detail

      • isResourceNode

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

        public Resource resource()
        The Resource wrapped by this FHIRPathResourceNode
        Returns:
        the Resource wrapped by this FHIRPathResourceNode
      • getTree

        public FHIRPathTree getTree()
        The FHIRPathTree that contains this FHIRPathResourceNode
        Returns:
        the FHIRPathTree that contains this FHIRPathResourceNode, otherwise null
      • resourceNode

        public static FHIRPathResourceNode resourceNode​(Resource resource)
        Static factory method for creating FHIRPathResourceNode instances from a Resource
        Parameters:
        resource - the resource
        Returns:
        a new FHIRPathResource instance
      • resourceNode

        public static FHIRPathResourceNode resourceNode​(java.lang.String name,
                                                        Resource resource)
        Static factory method for creating named FHIRPathResourceNode instances from a Resource
        Parameters:
        name - the name
        resource - the resource
        Returns:
        a new FHIRPathResourceNode instance
      • resourceNode

        public static FHIRPathResourceNode resourceNode​(FHIRPathType type)
        Static factory method for creating FHIRPathResourceNode instances from a FHIRPathType
        Parameters:
        type - the type
        Returns:
        a new FHIRPathResourceNode instance
      • builder

        public static FHIRPathResourceNode.Builder builder​(Resource resource)
        Static factory method for creating builder instances from a Resource
        Parameters:
        resource - the resource
        Returns:
        a new builder for building FHIRPathResource instances
      • compareTo

        public int compareTo​(FHIRPathNode node)
        This method is not supported for this FHIRPathResourceNode
      • equals

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

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