Package hdi.model
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)
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.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) 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 component
 
 - 
 - 
Method Details
- 
withCounts
 - 
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 '=='. - 
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 
 
 -