Enum FHIRPathPatchType

    • Enum Constant Detail

      • ADD

        public static final FHIRPathPatchType ADD
        The content will be appended to the element identified in the path, using the name specified. Add can used for non-repeating elements as long as they do not already exist.
      • INSERT

        public static final FHIRPathPatchType INSERT
        The content will be inserted into the nominated list at the index specified (0 based). Note: add is easier than insert at the end of the list.
      • DELETE

        public static final FHIRPathPatchType DELETE
        Delete the content at the specified path (if found)
      • REPLACE

        public static final FHIRPathPatchType REPLACE
        Replace the content at the specified path
      • MOVE

        public static final FHIRPathPatchType MOVE
        Move an element within a single list
    • Method Detail

      • values

        public static FHIRPathPatchType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (FHIRPathPatchType c : FHIRPathPatchType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FHIRPathPatchType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()