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 com.ibm.fhir.model.resource.Resource resource()
        The Resource wrapped by this FHIRPathResource node
        Returns:
        the Resource wrapped by this FHIRPathResource node
      • resourceNode

        public static FHIRPathResourceNode resourceNode​(com.ibm.fhir.model.resource.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​(String name,
                                                        com.ibm.fhir.model.resource.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​(com.ibm.fhir.model.resource.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​(Object obj)
        Indicates whether this FHIRPathResourceNode is equal to the parameter
        Overrides:
        equals in class 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 Object