Package com.tuladb

Record Class Models.TxnSearch

java.lang.Object
java.lang.Record
com.tuladb.Models.TxnSearch
Enclosing class:
Models

public static record Models.TxnSearch(long afterSeq, int afterIndex, long minTimestamp, long maxTimestamp, int limit, Integer ledgerId, Integer currency, Long sourceId, Integer resultCode, Long accountHi, Long accountLo, Integer phase, Integer flagsMask, Integer flagsValue, String txnId) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    TxnSearch(long afterSeq, int afterIndex, long minTimestamp, long maxTimestamp, int limit, Integer ledgerId, Integer currency, Long sourceId, Integer resultCode, Long accountHi, Long accountLo, Integer phase, Integer flagsMask, Integer flagsValue, String txnId)
    Creates an instance of a TxnSearch record class.
    TxnSearch(long afterSeq, long minTimestamp, long maxTimestamp, int limit, Integer ledgerId, Integer currency, Long sourceId, Integer resultCode, Long accountHi, Long accountLo, Integer phase, Integer flagsMask, Integer flagsValue, String txnId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the accountHi record component.
    Returns the value of the accountLo record component.
    int
    Returns the value of the afterIndex record component.
    long
    Returns the value of the afterSeq record component.
    Returns the value of the currency record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    Returns the value of the flagsMask record component.
    Returns the value of the flagsValue record component.
    final int
    Returns a hash code value for this object.
    Returns the value of the ledgerId record component.
    int
    Returns the value of the limit record component.
    long
    Returns the value of the maxTimestamp record component.
    long
    Returns the value of the minTimestamp record component.
    Returns the value of the phase record component.
    Returns the value of the resultCode record component.
    Returns the value of the sourceId record component.
    final String
    Returns a string representation of this record class.
    Returns the value of the txnId record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • TxnSearch

      public TxnSearch(long afterSeq, long minTimestamp, long maxTimestamp, int limit, Integer ledgerId, Integer currency, Long sourceId, Integer resultCode, Long accountHi, Long accountLo, Integer phase, Integer flagsMask, Integer flagsValue, String txnId)
    • TxnSearch

      public TxnSearch(long afterSeq, int afterIndex, long minTimestamp, long maxTimestamp, int limit, Integer ledgerId, Integer currency, Long sourceId, Integer resultCode, Long accountHi, Long accountLo, Integer phase, Integer flagsMask, Integer flagsValue, String txnId)
      Creates an instance of a TxnSearch record class.
      Parameters:
      afterSeq - the value for the afterSeq record component
      afterIndex - the value for the afterIndex record component
      minTimestamp - the value for the minTimestamp record component
      maxTimestamp - the value for the maxTimestamp record component
      limit - the value for the limit record component
      ledgerId - the value for the ledgerId record component
      currency - the value for the currency record component
      sourceId - the value for the sourceId record component
      resultCode - the value for the resultCode record component
      accountHi - the value for the accountHi record component
      accountLo - the value for the accountLo record component
      phase - the value for the phase record component
      flagsMask - the value for the flagsMask record component
      flagsValue - the value for the flagsValue record component
      txnId - the value for the txnId record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • afterSeq

      public long afterSeq()
      Returns the value of the afterSeq record component.
      Returns:
      the value of the afterSeq record component
    • afterIndex

      public int afterIndex()
      Returns the value of the afterIndex record component.
      Returns:
      the value of the afterIndex record component
    • minTimestamp

      public long minTimestamp()
      Returns the value of the minTimestamp record component.
      Returns:
      the value of the minTimestamp record component
    • maxTimestamp

      public long maxTimestamp()
      Returns the value of the maxTimestamp record component.
      Returns:
      the value of the maxTimestamp record component
    • limit

      public int limit()
      Returns the value of the limit record component.
      Returns:
      the value of the limit record component
    • ledgerId

      public Integer ledgerId()
      Returns the value of the ledgerId record component.
      Returns:
      the value of the ledgerId record component
    • currency

      public Integer currency()
      Returns the value of the currency record component.
      Returns:
      the value of the currency record component
    • sourceId

      public Long sourceId()
      Returns the value of the sourceId record component.
      Returns:
      the value of the sourceId record component
    • resultCode

      public Integer resultCode()
      Returns the value of the resultCode record component.
      Returns:
      the value of the resultCode record component
    • accountHi

      public Long accountHi()
      Returns the value of the accountHi record component.
      Returns:
      the value of the accountHi record component
    • accountLo

      public Long accountLo()
      Returns the value of the accountLo record component.
      Returns:
      the value of the accountLo record component
    • phase

      public Integer phase()
      Returns the value of the phase record component.
      Returns:
      the value of the phase record component
    • flagsMask

      public Integer flagsMask()
      Returns the value of the flagsMask record component.
      Returns:
      the value of the flagsMask record component
    • flagsValue

      public Integer flagsValue()
      Returns the value of the flagsValue record component.
      Returns:
      the value of the flagsValue record component
    • txnId

      public String txnId()
      Returns the value of the txnId record component.
      Returns:
      the value of the txnId record component