Record Class WealthModule.WealthInitializationSummary
java.lang.Object
java.lang.Record
simpaths.model.benefitunit.WealthModule.WealthInitializationSummary
- Enclosing class:
WealthModule
public static record WealthModule.WealthInitializationSummary(int benefitUnits, int homeowners, int housingCappedLower, int housingCappedUpper, int mortgageHolders, int mortgageCappedLower, int mortgageCappedUpper, int highCostDebtHolders, double maxAbsoluteHousingResidualBefore, double maxAbsoluteHousingResidualAfter, double maxAbsoluteMortgageResidualBefore, double maxAbsoluteMortgageResidualAfter)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionWealthInitializationSummary(int benefitUnits, int homeowners, int housingCappedLower, int housingCappedUpper, int mortgageHolders, int mortgageCappedLower, int mortgageCappedUpper, int highCostDebtHolders, double maxAbsoluteHousingResidualBefore, double maxAbsoluteHousingResidualAfter, double maxAbsoluteMortgageResidualBefore, double maxAbsoluteMortgageResidualAfter) Creates an instance of aWealthInitializationSummaryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thebenefitUnitsrecord 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 thehighCostDebtHoldersrecord component.intReturns the value of thehomeownersrecord component.intReturns the value of thehousingCappedLowerrecord component.intReturns the value of thehousingCappedUpperrecord component.doubleReturns the value of themaxAbsoluteHousingResidualAfterrecord component.doubleReturns the value of themaxAbsoluteHousingResidualBeforerecord component.doubleReturns the value of themaxAbsoluteMortgageResidualAfterrecord component.doubleReturns the value of themaxAbsoluteMortgageResidualBeforerecord component.intReturns the value of themortgageCappedLowerrecord component.intReturns the value of themortgageCappedUpperrecord component.intReturns the value of themortgageHoldersrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
WealthInitializationSummary
public WealthInitializationSummary(int benefitUnits, int homeowners, int housingCappedLower, int housingCappedUpper, int mortgageHolders, int mortgageCappedLower, int mortgageCappedUpper, int highCostDebtHolders, double maxAbsoluteHousingResidualBefore, double maxAbsoluteHousingResidualAfter, double maxAbsoluteMortgageResidualBefore, double maxAbsoluteMortgageResidualAfter) Creates an instance of aWealthInitializationSummaryrecord class.- Parameters:
benefitUnits- the value for thebenefitUnitsrecord componenthomeowners- the value for thehomeownersrecord componenthousingCappedLower- the value for thehousingCappedLowerrecord componenthousingCappedUpper- the value for thehousingCappedUpperrecord componentmortgageHolders- the value for themortgageHoldersrecord componentmortgageCappedLower- the value for themortgageCappedLowerrecord componentmortgageCappedUpper- the value for themortgageCappedUpperrecord componenthighCostDebtHolders- the value for thehighCostDebtHoldersrecord componentmaxAbsoluteHousingResidualBefore- the value for themaxAbsoluteHousingResidualBeforerecord componentmaxAbsoluteHousingResidualAfter- the value for themaxAbsoluteHousingResidualAfterrecord componentmaxAbsoluteMortgageResidualBefore- the value for themaxAbsoluteMortgageResidualBeforerecord componentmaxAbsoluteMortgageResidualAfter- the value for themaxAbsoluteMortgageResidualAfterrecord component
-
-
Method Details
-
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. -
benefitUnits
public int benefitUnits()Returns the value of thebenefitUnitsrecord component.- Returns:
- the value of the
benefitUnitsrecord component
-
homeowners
public int homeowners()Returns the value of thehomeownersrecord component.- Returns:
- the value of the
homeownersrecord component
-
housingCappedLower
public int housingCappedLower()Returns the value of thehousingCappedLowerrecord component.- Returns:
- the value of the
housingCappedLowerrecord component
-
housingCappedUpper
public int housingCappedUpper()Returns the value of thehousingCappedUpperrecord component.- Returns:
- the value of the
housingCappedUpperrecord component
-
mortgageHolders
public int mortgageHolders()Returns the value of themortgageHoldersrecord component.- Returns:
- the value of the
mortgageHoldersrecord component
-
mortgageCappedLower
public int mortgageCappedLower()Returns the value of themortgageCappedLowerrecord component.- Returns:
- the value of the
mortgageCappedLowerrecord component
-
mortgageCappedUpper
public int mortgageCappedUpper()Returns the value of themortgageCappedUpperrecord component.- Returns:
- the value of the
mortgageCappedUpperrecord component
-
highCostDebtHolders
public int highCostDebtHolders()Returns the value of thehighCostDebtHoldersrecord component.- Returns:
- the value of the
highCostDebtHoldersrecord component
-
maxAbsoluteHousingResidualBefore
public double maxAbsoluteHousingResidualBefore()Returns the value of themaxAbsoluteHousingResidualBeforerecord component.- Returns:
- the value of the
maxAbsoluteHousingResidualBeforerecord component
-
maxAbsoluteHousingResidualAfter
public double maxAbsoluteHousingResidualAfter()Returns the value of themaxAbsoluteHousingResidualAfterrecord component.- Returns:
- the value of the
maxAbsoluteHousingResidualAfterrecord component
-
maxAbsoluteMortgageResidualBefore
public double maxAbsoluteMortgageResidualBefore()Returns the value of themaxAbsoluteMortgageResidualBeforerecord component.- Returns:
- the value of the
maxAbsoluteMortgageResidualBeforerecord component
-
maxAbsoluteMortgageResidualAfter
public double maxAbsoluteMortgageResidualAfter()Returns the value of themaxAbsoluteMortgageResidualAfterrecord component.- Returns:
- the value of the
maxAbsoluteMortgageResidualAfterrecord component
-