Package com.tuladb

Record Class Models.TransferResult

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

public static record Models.TransferResult(byte phase, int status, long batchSeq, long timestamp, long drPostedBalance, long drAvailableBalance, long crPostedBalance, long crAvailableBalance, long transferHi, long transferLo, int batchIndex) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    TransferResult(byte phase, int status, long batchSeq, long timestamp, long drPostedBalance, long drAvailableBalance, long crPostedBalance, long crAvailableBalance, long transferHi, long transferLo, int batchIndex)
    Creates an instance of a TransferResult record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the value of the batchIndex record component.
    long
    Returns the value of the batchSeq record component.
    long
    Returns the value of the crAvailableBalance record component.
    long
    Returns the value of the crPostedBalance record component.
    long
    Returns the value of the drAvailableBalance record component.
    long
    Returns the value of the drPostedBalance record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    byte
    Returns the value of the phase record component.
    int
    Returns the value of the status record component.
    long
    Returns the value of the timestamp record component.
    final String
    Returns a string representation of this record class.
    long
    Returns the value of the transferHi record component.
    long
    Returns the value of the transferLo record component.

    Methods inherited from class java.lang.Object

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

    • TransferResult

      public TransferResult(byte phase, int status, long batchSeq, long timestamp, long drPostedBalance, long drAvailableBalance, long crPostedBalance, long crAvailableBalance, long transferHi, long transferLo, int batchIndex)
      Creates an instance of a TransferResult record class.
      Parameters:
      phase - the value for the phase record component
      status - the value for the status record component
      batchSeq - the value for the batchSeq record component
      timestamp - the value for the timestamp record component
      drPostedBalance - the value for the drPostedBalance record component
      drAvailableBalance - the value for the drAvailableBalance record component
      crPostedBalance - the value for the crPostedBalance record component
      crAvailableBalance - the value for the crAvailableBalance record component
      transferHi - the value for the transferHi record component
      transferLo - the value for the transferLo record component
      batchIndex - the value for the batchIndex 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. All components in this record class 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.
    • phase

      public byte phase()
      Returns the value of the phase record component.
      Returns:
      the value of the phase record component
    • status

      public int status()
      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • batchSeq

      public long batchSeq()
      Returns the value of the batchSeq record component.
      Returns:
      the value of the batchSeq record component
    • timestamp

      public long timestamp()
      Returns the value of the timestamp record component.
      Returns:
      the value of the timestamp record component
    • drPostedBalance

      public long drPostedBalance()
      Returns the value of the drPostedBalance record component.
      Returns:
      the value of the drPostedBalance record component
    • drAvailableBalance

      public long drAvailableBalance()
      Returns the value of the drAvailableBalance record component.
      Returns:
      the value of the drAvailableBalance record component
    • crPostedBalance

      public long crPostedBalance()
      Returns the value of the crPostedBalance record component.
      Returns:
      the value of the crPostedBalance record component
    • crAvailableBalance

      public long crAvailableBalance()
      Returns the value of the crAvailableBalance record component.
      Returns:
      the value of the crAvailableBalance record component
    • transferHi

      public long transferHi()
      Returns the value of the transferHi record component.
      Returns:
      the value of the transferHi record component
    • transferLo

      public long transferLo()
      Returns the value of the transferLo record component.
      Returns:
      the value of the transferLo record component
    • batchIndex

      public int batchIndex()
      Returns the value of the batchIndex record component.
      Returns:
      the value of the batchIndex record component