Class AbstractTransaction

    • Constructor Detail

      • AbstractTransaction

        public AbstractTransaction​(String transactionId,
                                   Scn startScn,
                                   Instant changeTime,
                                   String userName)
    • Method Detail

      • getTransactionId

        public String getTransactionId()
        Description copied from interface: Transaction
        Get the transaction identifier
        Specified by:
        getTransactionId in interface Transaction
        Returns:
        the transaction unique identifier, never null
      • getStartScn

        public Scn getStartScn()
        Description copied from interface: Transaction
        Get the system change number of when the transaction started
        Specified by:
        getStartScn in interface Transaction
        Returns:
        the system change number, never null
      • getChangeTime

        public Instant getChangeTime()
        Description copied from interface: Transaction
        Get the time when the transaction started
        Specified by:
        getChangeTime in interface Transaction
        Returns:
        the timestamp of the transaction, never null
      • getUserName

        public String getUserName()
        Description copied from interface: Transaction
        Get the username associated with the transaction
        Specified by:
        getUserName in interface Transaction
        Returns:
        the username, may be null
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object