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

    Constructors
    Constructor
    Description
    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 a WealthInitializationSummary record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the value of the benefitUnits record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    int
    Returns the value of the highCostDebtHolders record component.
    int
    Returns the value of the homeowners record component.
    int
    Returns the value of the housingCappedLower record component.
    int
    Returns the value of the housingCappedUpper record component.
    double
    Returns the value of the maxAbsoluteHousingResidualAfter record component.
    double
    Returns the value of the maxAbsoluteHousingResidualBefore record component.
    double
    Returns the value of the maxAbsoluteMortgageResidualAfter record component.
    double
    Returns the value of the maxAbsoluteMortgageResidualBefore record component.
    int
    Returns the value of the mortgageCappedLower record component.
    int
    Returns the value of the mortgageCappedUpper record component.
    int
    Returns the value of the mortgageHolders record component.
    Returns a string representation of this record class.

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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 a WealthInitializationSummary record class.
      Parameters:
      benefitUnits - the value for the benefitUnits record component
      homeowners - the value for the homeowners record component
      housingCappedLower - the value for the housingCappedLower record component
      housingCappedUpper - the value for the housingCappedUpper record component
      mortgageHolders - the value for the mortgageHolders record component
      mortgageCappedLower - the value for the mortgageCappedLower record component
      mortgageCappedUpper - the value for the mortgageCappedUpper record component
      highCostDebtHolders - the value for the highCostDebtHolders record component
      maxAbsoluteHousingResidualBefore - the value for the maxAbsoluteHousingResidualBefore record component
      maxAbsoluteHousingResidualAfter - the value for the maxAbsoluteHousingResidualAfter record component
      maxAbsoluteMortgageResidualBefore - the value for the maxAbsoluteMortgageResidualBefore record component
      maxAbsoluteMortgageResidualAfter - the value for the maxAbsoluteMortgageResidualAfter record component
  • Method Details

    • toString

      public 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 the compare method from their corresponding wrapper classes.
      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.
    • benefitUnits

      public int benefitUnits()
      Returns the value of the benefitUnits record component.
      Returns:
      the value of the benefitUnits record component
    • homeowners

      public int homeowners()
      Returns the value of the homeowners record component.
      Returns:
      the value of the homeowners record component
    • housingCappedLower

      public int housingCappedLower()
      Returns the value of the housingCappedLower record component.
      Returns:
      the value of the housingCappedLower record component
    • housingCappedUpper

      public int housingCappedUpper()
      Returns the value of the housingCappedUpper record component.
      Returns:
      the value of the housingCappedUpper record component
    • mortgageHolders

      public int mortgageHolders()
      Returns the value of the mortgageHolders record component.
      Returns:
      the value of the mortgageHolders record component
    • mortgageCappedLower

      public int mortgageCappedLower()
      Returns the value of the mortgageCappedLower record component.
      Returns:
      the value of the mortgageCappedLower record component
    • mortgageCappedUpper

      public int mortgageCappedUpper()
      Returns the value of the mortgageCappedUpper record component.
      Returns:
      the value of the mortgageCappedUpper record component
    • highCostDebtHolders

      public int highCostDebtHolders()
      Returns the value of the highCostDebtHolders record component.
      Returns:
      the value of the highCostDebtHolders record component
    • maxAbsoluteHousingResidualBefore

      public double maxAbsoluteHousingResidualBefore()
      Returns the value of the maxAbsoluteHousingResidualBefore record component.
      Returns:
      the value of the maxAbsoluteHousingResidualBefore record component
    • maxAbsoluteHousingResidualAfter

      public double maxAbsoluteHousingResidualAfter()
      Returns the value of the maxAbsoluteHousingResidualAfter record component.
      Returns:
      the value of the maxAbsoluteHousingResidualAfter record component
    • maxAbsoluteMortgageResidualBefore

      public double maxAbsoluteMortgageResidualBefore()
      Returns the value of the maxAbsoluteMortgageResidualBefore record component.
      Returns:
      the value of the maxAbsoluteMortgageResidualBefore record component
    • maxAbsoluteMortgageResidualAfter

      public double maxAbsoluteMortgageResidualAfter()
      Returns the value of the maxAbsoluteMortgageResidualAfter record component.
      Returns:
      the value of the maxAbsoluteMortgageResidualAfter record component