Class Geodatabase.TransactionStatusChangedEvent<S extends Geodatabase>

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Geodatabase

    public static final class Geodatabase.TransactionStatusChangedEvent<S extends Geodatabase>
    extends java.util.EventObject
    An event indicating that the transaction status has changed.
    Since:
    100.2.0
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      TransactionStatusChangedEvent​(S source, boolean isInTransaction)
      Constructs a TransactionStatusChangedEvent object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isInTransaction()
      Gets whether a transaction is active.
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TransactionStatusChangedEvent

        public TransactionStatusChangedEvent​(S source,
                                             boolean isInTransaction)
        Constructs a TransactionStatusChangedEvent object.
        Parameters:
        source - the Geodatabase object on which the event initially occurred
        isInTransaction - indicating whether a transaction is active
        Throws:
        java.lang.IllegalArgumentException - if source is null.
        Since:
        100.2.0
    • Method Detail

      • isInTransaction

        public boolean isInTransaction()
        Gets whether a transaction is active.
        Returns:
        true if a transaction is active, otherwise false
        Since:
        100.2.0