Class DirectMapChangeRecord

    • Field Detail

      • addObjectsList

        protected HashMap addObjectsList
      • removeObjectsList

        protected HashMap removeObjectsList
    • Constructor Detail

      • DirectMapChangeRecord

        public DirectMapChangeRecord()
      • DirectMapChangeRecord

        public DirectMapChangeRecord​(ObjectChangeSet owner)
    • Method Detail

      • hasChanges

        public boolean hasChanges()
        Returns true if the change set has changes.
      • addAdditionChange

        public void addAdditionChange​(HashMap additions)
        Adds the items that were added to the collection.
      • addRemoveChange

        public void addRemoveChange​(HashMap subtractions)
        Adds the items that were removed from the collection.
      • addAdditionChange

        public void addAdditionChange​(Object key,
                                      Object value)
        Adds the items that were added to the collection.
      • addRemoveChange

        public void addRemoveChange​(Object key,
                                    Object value)
        Adds the items that were removed from the collection.
      • setAddObjects

        public void setAddObjects​(HashMap addObjects)
        Sets the added items list.
      • getAddObjects

        public HashMap getAddObjects()
        Returns the added items list.
      • setRemoveObjects

        public void setRemoveObjects​(HashMap removeObjects)
        Sets the removed items list.
      • getRemoveObjects

        public HashMap getRemoveObjects()
        Returns the removed items list.