Record Class WealthNonPension.ResidualInitializationResult
java.lang.Object
java.lang.Record
simpaths.model.benefitunit.WealthNonPension.ResidualInitializationResult
- Enclosing class:
WealthNonPension
public static record WealthNonPension.ResidualInitializationResult(boolean housingInitialized, double housingRawResidual, double housingStoredResidual, boolean mortgageInitialized, double mortgageRawResidual, double mortgageStoredResidual, boolean highCostDebtInitialized)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionResidualInitializationResult(boolean housingInitialized, double housingRawResidual, double housingStoredResidual, boolean mortgageInitialized, double mortgageRawResidual, double mortgageStoredResidual, boolean highCostDebtInitialized) Creates an instance of aResidualInitializationResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thehighCostDebtInitializedrecord component.booleanbooleanReturns the value of thehousingInitializedrecord component.doubleReturns the value of thehousingRawResidualrecord component.doubleReturns the value of thehousingStoredResidualrecord component.booleanbooleanReturns the value of themortgageInitializedrecord component.doubleReturns the value of themortgageRawResidualrecord component.doubleReturns the value of themortgageStoredResidualrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ResidualInitializationResult
public ResidualInitializationResult(boolean housingInitialized, double housingRawResidual, double housingStoredResidual, boolean mortgageInitialized, double mortgageRawResidual, double mortgageStoredResidual, boolean highCostDebtInitialized) Creates an instance of aResidualInitializationResultrecord class.- Parameters:
housingInitialized- the value for thehousingInitializedrecord componenthousingRawResidual- the value for thehousingRawResidualrecord componenthousingStoredResidual- the value for thehousingStoredResidualrecord componentmortgageInitialized- the value for themortgageInitializedrecord componentmortgageRawResidual- the value for themortgageRawResidualrecord componentmortgageStoredResidual- the value for themortgageStoredResidualrecord componenthighCostDebtInitialized- the value for thehighCostDebtInitializedrecord component
-
-
Method Details
-
housingCapped
public boolean housingCapped() -
mortgageCapped
public boolean mortgageCapped() -
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. -
housingInitialized
public boolean housingInitialized()Returns the value of thehousingInitializedrecord component.- Returns:
- the value of the
housingInitializedrecord component
-
housingRawResidual
public double housingRawResidual()Returns the value of thehousingRawResidualrecord component.- Returns:
- the value of the
housingRawResidualrecord component
-
housingStoredResidual
public double housingStoredResidual()Returns the value of thehousingStoredResidualrecord component.- Returns:
- the value of the
housingStoredResidualrecord component
-
mortgageInitialized
public boolean mortgageInitialized()Returns the value of themortgageInitializedrecord component.- Returns:
- the value of the
mortgageInitializedrecord component
-
mortgageRawResidual
public double mortgageRawResidual()Returns the value of themortgageRawResidualrecord component.- Returns:
- the value of the
mortgageRawResidualrecord component
-
mortgageStoredResidual
public double mortgageStoredResidual()Returns the value of themortgageStoredResidualrecord component.- Returns:
- the value of the
mortgageStoredResidualrecord component
-
highCostDebtInitialized
public boolean highCostDebtInitialized()Returns the value of thehighCostDebtInitializedrecord component.- Returns:
- the value of the
highCostDebtInitializedrecord component
-