Class DefaultSailChangedEvent

    • Constructor Detail

      • DefaultSailChangedEvent

        public DefaultSailChangedEvent​(Sail sail)
        Creates a new DefaultSailChangedEvent in which all possible changes are set to false.
    • Method Detail

      • statementsAdded

        public boolean statementsAdded()
        Description copied from interface: SailChangedEvent
        Indicates if statements were added to the Sail.
        Specified by:
        statementsAdded in interface SailChangedEvent
        Returns:
        true if statements were added during a transaction, false otherwise.
      • setStatementsAdded

        public void setStatementsAdded​(boolean statementsAdded)
      • statementsRemoved

        public boolean statementsRemoved()
        Description copied from interface: SailChangedEvent
        Indicates if statements were removed from the Sail.
        Specified by:
        statementsRemoved in interface SailChangedEvent
        Returns:
        true if statements were removed during a transaction, false otherwise.
      • setStatementsRemoved

        public void setStatementsRemoved​(boolean statementsRemoved)