Package com.tuladb
Record Class Models.AccountInfo
java.lang.Object
java.lang.Record
com.tuladb.Models.AccountInfo
- Enclosing class:
Models
public static record Models.AccountInfo(long accountHi, long accountLo, int ledgerId, int currency, short tier, short flags, long creditsPosted, long debitsPosted, long creditsPending, long debitsPending, long limitLow, long limitHigh, long seq, long lastBatchSeq, long timestamp, short scale, boolean participantIdPresent, long participantId)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAccountInfo(long accountHi, long accountLo, int ledgerId, int currency, short tier, short flags, long creditsPosted, long debitsPosted, long creditsPending, long debitsPending, long limitLow, long limitHigh, long seq, long lastBatchSeq, long timestamp, short scale) AccountInfo(long accountHi, long accountLo, int ledgerId, int currency, short tier, short flags, long creditsPosted, long debitsPosted, long creditsPending, long debitsPending, long limitLow, long limitHigh, long seq, long lastBatchSeq, long timestamp, short scale, boolean participantIdPresent, long participantId) Creates an instance of aAccountInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of theaccountHirecord component.longReturns the value of theaccountLorecord component.longReturns the value of thecreditsPendingrecord component.longReturns the value of thecreditsPostedrecord component.intcurrency()Returns the value of thecurrencyrecord component.longReturns the value of thedebitsPendingrecord component.longReturns the value of thedebitsPostedrecord component.final booleanIndicates whether some other object is "equal to" this one.shortflags()Returns the value of theflagsrecord component.final inthashCode()Returns a hash code value for this object.longReturns the value of thelastBatchSeqrecord component.intledgerId()Returns the value of theledgerIdrecord component.longReturns the value of thelimitHighrecord component.longlimitLow()Returns the value of thelimitLowrecord component.longReturns the value of theparticipantIdrecord component.booleanReturns the value of theparticipantIdPresentrecord component.shortscale()Returns the value of thescalerecord component.longseq()Returns the value of theseqrecord component.shorttier()Returns the value of thetierrecord component.longReturns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AccountInfo
public AccountInfo(long accountHi, long accountLo, int ledgerId, int currency, short tier, short flags, long creditsPosted, long debitsPosted, long creditsPending, long debitsPending, long limitLow, long limitHigh, long seq, long lastBatchSeq, long timestamp, short scale) -
AccountInfo
public AccountInfo(long accountHi, long accountLo, int ledgerId, int currency, short tier, short flags, long creditsPosted, long debitsPosted, long creditsPending, long debitsPending, long limitLow, long limitHigh, long seq, long lastBatchSeq, long timestamp, short scale, boolean participantIdPresent, long participantId) Creates an instance of aAccountInforecord class.- Parameters:
accountHi- the value for theaccountHirecord componentaccountLo- the value for theaccountLorecord componentledgerId- the value for theledgerIdrecord componentcurrency- the value for thecurrencyrecord componenttier- the value for thetierrecord componentflags- the value for theflagsrecord componentcreditsPosted- the value for thecreditsPostedrecord componentdebitsPosted- the value for thedebitsPostedrecord componentcreditsPending- the value for thecreditsPendingrecord componentdebitsPending- the value for thedebitsPendingrecord componentlimitLow- the value for thelimitLowrecord componentlimitHigh- the value for thelimitHighrecord componentseq- the value for theseqrecord componentlastBatchSeq- the value for thelastBatchSeqrecord componenttimestamp- the value for thetimestamprecord componentscale- the value for thescalerecord componentparticipantIdPresent- the value for theparticipantIdPresentrecord componentparticipantId- the value for theparticipantIdrecord component
-
-
Method Details
-
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. -
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. -
equals
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 '=='. -
accountHi
public long accountHi()Returns the value of theaccountHirecord component.- Returns:
- the value of the
accountHirecord component
-
accountLo
public long accountLo()Returns the value of theaccountLorecord component.- Returns:
- the value of the
accountLorecord component
-
ledgerId
public int ledgerId()Returns the value of theledgerIdrecord component.- Returns:
- the value of the
ledgerIdrecord component
-
currency
public int currency()Returns the value of thecurrencyrecord component.- Returns:
- the value of the
currencyrecord component
-
tier
public short tier()Returns the value of thetierrecord component.- Returns:
- the value of the
tierrecord component
-
flags
public short flags()Returns the value of theflagsrecord component.- Returns:
- the value of the
flagsrecord component
-
creditsPosted
public long creditsPosted()Returns the value of thecreditsPostedrecord component.- Returns:
- the value of the
creditsPostedrecord component
-
debitsPosted
public long debitsPosted()Returns the value of thedebitsPostedrecord component.- Returns:
- the value of the
debitsPostedrecord component
-
creditsPending
public long creditsPending()Returns the value of thecreditsPendingrecord component.- Returns:
- the value of the
creditsPendingrecord component
-
debitsPending
public long debitsPending()Returns the value of thedebitsPendingrecord component.- Returns:
- the value of the
debitsPendingrecord component
-
limitLow
public long limitLow()Returns the value of thelimitLowrecord component.- Returns:
- the value of the
limitLowrecord component
-
limitHigh
public long limitHigh()Returns the value of thelimitHighrecord component.- Returns:
- the value of the
limitHighrecord component
-
seq
public long seq()Returns the value of theseqrecord component.- Returns:
- the value of the
seqrecord component
-
lastBatchSeq
public long lastBatchSeq()Returns the value of thelastBatchSeqrecord component.- Returns:
- the value of the
lastBatchSeqrecord component
-
timestamp
public long timestamp()Returns the value of thetimestamprecord component.- Returns:
- the value of the
timestamprecord component
-
scale
public short scale()Returns the value of thescalerecord component.- Returns:
- the value of the
scalerecord component
-
participantIdPresent
public boolean participantIdPresent()Returns the value of theparticipantIdPresentrecord component.- Returns:
- the value of the
participantIdPresentrecord component
-
participantId
public long participantId()Returns the value of theparticipantIdrecord component.- Returns:
- the value of the
participantIdrecord component
-