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

    Constructors
    Constructor
    Description
    FamilyLinkAudit(int year, long validReferences, long resolvedAcrossHouseholds, long unresolvedReferences, long validImmigrantReferences, long unresolvedImmigrantReferences)
    Creates an instance of a FamilyLinkAudit record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    long
    Returns the value of the resolvedAcrossHouseholds record component.
    final String
    Returns a string representation of this record class.
    long
    Returns the value of the unresolvedImmigrantReferences record component.
    long
    Returns the value of the unresolvedReferences record component.
    long
    Returns the value of the validImmigrantReferences record component.
    long
    Returns the value of the validReferences record component.
    int
    Returns the value of the year record component.

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • FamilyLinkAudit

      public FamilyLinkAudit(int year, long validReferences, long resolvedAcrossHouseholds, long unresolvedReferences, long validImmigrantReferences, long unresolvedImmigrantReferences)
      Creates an instance of a FamilyLinkAudit record class.
      Parameters:
      year - the value for the year record component
      validReferences - the value for the validReferences record component
      resolvedAcrossHouseholds - the value for the resolvedAcrossHouseholds record component
      unresolvedReferences - the value for the unresolvedReferences record component
      validImmigrantReferences - the value for the validImmigrantReferences record component
      unresolvedImmigrantReferences - the value for the unresolvedImmigrantReferences record component
  • Method Details

    • toString

      public final 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.
    • year

      public int year()
      Returns the value of the year record component.
      Returns:
      the value of the year record component
    • validReferences

      public long validReferences()
      Returns the value of the validReferences record component.
      Returns:
      the value of the validReferences record component
    • resolvedAcrossHouseholds

      public long resolvedAcrossHouseholds()
      Returns the value of the resolvedAcrossHouseholds record component.
      Returns:
      the value of the resolvedAcrossHouseholds record component
    • unresolvedReferences

      public long unresolvedReferences()
      Returns the value of the unresolvedReferences record component.
      Returns:
      the value of the unresolvedReferences record component
    • validImmigrantReferences

      public long validImmigrantReferences()
      Returns the value of the validImmigrantReferences record component.
      Returns:
      the value of the validImmigrantReferences record component
    • unresolvedImmigrantReferences

      public long unresolvedImmigrantReferences()
      Returns the value of the unresolvedImmigrantReferences record component.
      Returns:
      the value of the unresolvedImmigrantReferences record component