Class Patch

    • Constructor Detail

      • Patch

        public Patch()
    • Method Detail

      • getPatchedItemId

        public String getPatchedItemId()
        Get the id of the item that will be concerned by this patch
        Returns:
        item id
      • setPatchedItemId

        public void setPatchedItemId​(String patchedItemId)
      • getPatchedItemType

        public String getPatchedItemType()
        Get the item type of the item that will be concerned by this patch
        Returns:
        item type
      • setPatchedItemType

        public void setPatchedItemType​(String patchedItemType)
      • getOperation

        public String getOperation()
        Get the type of patch operation : override, patch or remove
        Returns:
        operation
      • setOperation

        public void setOperation​(String operation)
      • getData

        public Object getData()
        Get the patch data For override operation, the data is the full item For patch, the data is a JsonPatch object For remove, no data is needed
        Returns:
        data
      • setData

        public void setData​(Object data)
      • getLastApplication

        public Date getLastApplication()
        Get the date of the last patch application
        Returns:
        last application date
      • setLastApplication

        public void setLastApplication​(Date lastApplication)