Record Class InheritanceModule.AlignmentFlow
java.lang.Object
java.lang.Record
simpaths.model.InheritanceModule.AlignmentFlow
- Enclosing class:
InheritanceModule
-
Constructor Summary
ConstructorsConstructorDescriptionAlignmentFlow(int year, String event, long benefitUnitId, Long personId, double financial, double housing, double pension, double minorTrust) Creates an instance of aAlignmentFlowrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of thebenefitUnitIdrecord component.final booleanIndicates whether some other object is "equal to" this one.event()Returns the value of theeventrecord component.doubleReturns the value of thefinancialrecord component.final inthashCode()Returns a hash code value for this object.doublehousing()Returns the value of thehousingrecord component.doubleReturns the value of theminorTrustrecord component.doublepension()Returns the value of thepensionrecord component.personId()Returns the value of thepersonIdrecord component.final StringtoString()Returns a string representation of this record class.intyear()Returns the value of theyearrecord component.
-
Constructor Details
-
AlignmentFlow
public AlignmentFlow(int year, String event, long benefitUnitId, Long personId, double financial, double housing, double pension, double minorTrust) Creates an instance of aAlignmentFlowrecord class.- Parameters:
year- the value for theyearrecord componentevent- the value for theeventrecord componentbenefitUnitId- the value for thebenefitUnitIdrecord componentpersonId- the value for thepersonIdrecord componentfinancial- the value for thefinancialrecord componenthousing- the value for thehousingrecord componentpension- the value for thepensionrecord componentminorTrust- the value for theminorTrustrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
year
public int year()Returns the value of theyearrecord component.- Returns:
- the value of the
yearrecord component
-
event
Returns the value of theeventrecord component.- Returns:
- the value of the
eventrecord component
-
benefitUnitId
public long benefitUnitId()Returns the value of thebenefitUnitIdrecord component.- Returns:
- the value of the
benefitUnitIdrecord component
-
personId
Returns the value of thepersonIdrecord component.- Returns:
- the value of the
personIdrecord component
-
financial
public double financial()Returns the value of thefinancialrecord component.- Returns:
- the value of the
financialrecord component
-
housing
public double housing()Returns the value of thehousingrecord component.- Returns:
- the value of the
housingrecord component
-
pension
public double pension()Returns the value of thepensionrecord component.- Returns:
- the value of the
pensionrecord component
-
minorTrust
public double minorTrust()Returns the value of theminorTrustrecord component.- Returns:
- the value of the
minorTrustrecord component
-