Record Class RootObjContainer.Counts
java.lang.Object
java.lang.Record
hdi.model.RootObjContainer.Counts
- Enclosing class:
RootObjContainer
public static record RootObjContainer.Counts(int tranCount, int claimCount, int paymentCount, int coverageCount, int statusCount, int providerAdjustmentCount, int issueCount)
extends Record
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theclaimCountrecord component.intReturns the value of thecoverageCountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisEmpty()intReturns the value of theissueCountrecord component.intReturns the value of thepaymentCountrecord component.intReturns the value of theproviderAdjustmentCountrecord component.intReturns the value of thestatusCountrecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of thetranCountrecord component.withCounts(RootObjContainer.Counts anotherCountsObj)
-
Constructor Details
-
Counts
public Counts() -
Counts
public Counts(int tranCount, int claimCount, int paymentCount, int coverageCount, int statusCount, int providerAdjustmentCount, int issueCount) Creates an instance of aCountsrecord class.- Parameters:
tranCount- the value for thetranCountrecord componentclaimCount- the value for theclaimCountrecord componentpaymentCount- the value for thepaymentCountrecord componentcoverageCount- the value for thecoverageCountrecord componentstatusCount- the value for thestatusCountrecord componentproviderAdjustmentCount- the value for theproviderAdjustmentCountrecord componentissueCount- the value for theissueCountrecord component
-
-
Method Details
-
withCounts
-
isEmpty
public boolean isEmpty() -
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
tranCount
public int tranCount()Returns the value of thetranCountrecord component.- Returns:
- the value of the
tranCountrecord component
-
claimCount
public int claimCount()Returns the value of theclaimCountrecord component.- Returns:
- the value of the
claimCountrecord component
-
paymentCount
public int paymentCount()Returns the value of thepaymentCountrecord component.- Returns:
- the value of the
paymentCountrecord component
-
coverageCount
public int coverageCount()Returns the value of thecoverageCountrecord component.- Returns:
- the value of the
coverageCountrecord component
-
statusCount
public int statusCount()Returns the value of thestatusCountrecord component.- Returns:
- the value of the
statusCountrecord component
-
providerAdjustmentCount
public int providerAdjustmentCount()Returns the value of theproviderAdjustmentCountrecord component.- Returns:
- the value of the
providerAdjustmentCountrecord component
-
issueCount
public int issueCount()Returns the value of theissueCountrecord component.- Returns:
- the value of the
issueCountrecord component
-