Record Class InheritanceModule.FamilyLinkAudit
java.lang.Object
java.lang.Record
simpaths.model.InheritanceModule.FamilyLinkAudit
- Enclosing class:
InheritanceModule
public static record InheritanceModule.FamilyLinkAudit(int year, long validReferences, long resolvedAcrossHouseholds, long unresolvedReferences, long validImmigrantReferences, long unresolvedImmigrantReferences)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionFamilyLinkAudit(int year, long validReferences, long resolvedAcrossHouseholds, long unresolvedReferences, long validImmigrantReferences, long unresolvedImmigrantReferences) Creates an instance of aFamilyLinkAuditrecord 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.longReturns the value of theresolvedAcrossHouseholdsrecord component.final StringtoString()Returns a string representation of this record class.longReturns the value of theunresolvedImmigrantReferencesrecord component.longReturns the value of theunresolvedReferencesrecord component.longReturns the value of thevalidImmigrantReferencesrecord component.longReturns the value of thevalidReferencesrecord component.intyear()Returns the value of theyearrecord component.
-
Constructor Details
-
FamilyLinkAudit
public FamilyLinkAudit(int year, long validReferences, long resolvedAcrossHouseholds, long unresolvedReferences, long validImmigrantReferences, long unresolvedImmigrantReferences) Creates an instance of aFamilyLinkAuditrecord class.- Parameters:
year- the value for theyearrecord componentvalidReferences- the value for thevalidReferencesrecord componentresolvedAcrossHouseholds- the value for theresolvedAcrossHouseholdsrecord componentunresolvedReferences- the value for theunresolvedReferencesrecord componentvalidImmigrantReferences- the value for thevalidImmigrantReferencesrecord componentunresolvedImmigrantReferences- the value for theunresolvedImmigrantReferencesrecord 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. -
year
public int year()Returns the value of theyearrecord component.- Returns:
- the value of the
yearrecord component
-
validReferences
public long validReferences()Returns the value of thevalidReferencesrecord component.- Returns:
- the value of the
validReferencesrecord component
-
resolvedAcrossHouseholds
public long resolvedAcrossHouseholds()Returns the value of theresolvedAcrossHouseholdsrecord component.- Returns:
- the value of the
resolvedAcrossHouseholdsrecord component
-
unresolvedReferences
public long unresolvedReferences()Returns the value of theunresolvedReferencesrecord component.- Returns:
- the value of the
unresolvedReferencesrecord component
-
validImmigrantReferences
public long validImmigrantReferences()Returns the value of thevalidImmigrantReferencesrecord component.- Returns:
- the value of the
validImmigrantReferencesrecord component
-
unresolvedImmigrantReferences
public long unresolvedImmigrantReferences()Returns the value of theunresolvedImmigrantReferencesrecord component.- Returns:
- the value of the
unresolvedImmigrantReferencesrecord component
-