Class Person

java.lang.Object
simpaths.model.Person
All Implemented Interfaces:
Comparable<Person>, microsim.agent.Weight, microsim.event.EventListener, microsim.statistics.IDoubleSource, microsim.statistics.IIntSource

@Entity public class Person extends Object implements microsim.event.EventListener, microsim.statistics.IDoubleSource, microsim.statistics.IIntSource, microsim.agent.Weight, Comparable<Person>
  • Field Details

    • personIdCounter

      public static long personIdCounter
    • statMScore

      public static Double statMScore
    • statFScore

      public static Double statFScore
    • countMale

      public static Double countMale
    • countFemale

      public static Double countFemale
    • statInverseMillsRatioMaxM

      public static Double statInverseMillsRatioMaxM
    • statInverseMillsRatioMinM

      public static Double statInverseMillsRatioMinM
    • statInverseMillsRatioMaxF

      public static Double statInverseMillsRatioMaxF
    • statInverseMillsRatioMinF

      public static Double statInverseMillsRatioMinF
  • Constructor Details

    • Person

      public Person()
    • Person

      public Person(long id)
    • Person

      public Person(boolean regressionModel)
    • Person

      public Person(Gender gender, Person mother)
    • Person

      public Person(Person originalPerson, long statSeed, SampleEntry demEnterSample)
    • Person

      public Person(Long id, long statSeed)
  • Method Details

    • cloneCleanup

      public void cloneCleanup()
    • setAdditionalFieldsInInitialPopulation

      public void setAdditionalFieldsInInitialPopulation()
      method to generate additional person level characteristics for initialisation population
    • onEvent

      public void onEvent(Enum<?> type)
      Specified by:
      onEvent in interface microsim.event.EventListener
    • fertility

      public void fertility()
    • fertility

      public void fertility(double probitAdjustment)
    • updateNonPensionWealth

      public void updateNonPensionWealth()
    • updatePensionContributionStatus

      public void updatePensionContributionStatus()
    • getPrivatePensionContributionRate

      public double getPrivatePensionContributionRate()
      Method to obtain private pension contribution (omitting employer contribution) Used for reducing earnings prior to evaluation of taxes and benefits
      Returns:
    • updatePensionWealth

      public void updatePensionWealth()
    • updateRetirementStatus

      public boolean updateRetirementStatus()
      considers retirement status
      Returns:
      true if to retire
    • updateRetirementStatus

      public boolean updateRetirementStatus(double probitAdjustment)
      Considers retirement status, shifting the R1a/R1b probit index by the retirement alignment adjustment (0 unless retirement alignment is on). RetirementAlignment evaluates the same probabilities when it searches for the adjustment, so keep the two in step.
      Parameters:
      probitAdjustment - shift added to the R1a/R1b score
      Returns:
      true if to retire
    • healthMentalHM1Level

      protected void healthMentalHM1Level()
      Health and wellbeing - GHQ-12 subjective wellbeing, Likert scale 0-36 step 1

      Calculates the 'baseline' yearly update to the GHQ-12 likert (level) score (healthWbScore0to36) based on demographic variables. Runs before healthMentalHM2Level().

      See Also:
      Applies to:
      Age 16+
      Changes the following variables:
      Person.healthWbScore0to36
    • healthMentalHM2Level

      protected void healthMentalHM2Level()
      Health and wellbeing - GHQ-12 subjective wellbeing, Likert scale 0-36 step 2

      Updates GHQ-12 likert (level) score (healthWbScore0to36) from the causal effects of economic transitions. Applies separate estimates for Male and Female Persons. Runs after healthMentalHM1Level()

      See Also:
      Applies to:
      Age 25-64
      Changes the following variables:
      Person.healthWbScore0to36
    • healthMentalHM1Case

      protected void healthMentalHM1Case()
      Health and wellbeing - GHQ-12 subjective wellbeing, Caseness scale 0-12 step 1

      Calculates the 'baseline' yearly update to the GHQ-12 Caseness (cases) score (healthPsyDstrss0to12) based on demographic variables. Runs before healthMentalHM2Case().

      See Also:
      Applies to:
      Age 16+
      Changes the following variables:
      Person.healthPsyDstrss0to12
    • healthMentalHM2Case

      protected void healthMentalHM2Case()
      Health and wellbeing - GHQ-12 subjective wellbeing, Caseness scale 0-12 step 2

      Updates GHQ-12 Caseness (cases) score (healthPsyDstrss0to12) from the causal effects of economic transitions. Applies separate estimates for Male and Female Persons. Runs after healthMentalHM1Case()

      See Also:
      Applies to:
      Age 25-64
      Changes the following variables:
      Person.healthPsyDstrss0to12
    • healthMCS1

      protected void healthMCS1()
      Health and wellbeing - Mental Component Summary update step 1

      Calculates the 'baseline' yearly update to the MCS score (healthMentalMcs) based on demographic variables. Runs before healthMCS2().

      See Also:
      Applies to:
      Age 16+
      Changes the following variables:
      Person.healthMentalMcs
    • healthMCS2

      protected void healthMCS2()
      Health and wellbeing - Mental Component Summary update step 2

      Updates MCS score (healthMentalMcs) from the causal effects of economic transitions. Applies separate estimates for Male and Female Persons. Runs after healthMCS1()

      See Also:
      Applies to:
      Age 18-64
      Changes the following variables:
      Person.healthMentalMcs
    • healthPCS1

      protected void healthPCS1()
      Health and wellbeing - Physical Component Summary update step 1

      Calculates the 'baseline' yearly update to the PCS score (healthPhysicalPcs) based on demographic variables. Runs before healthPCS2().

      See Also:
      Applies to:
      Age 16+
      Changes the following variables:
      Person.healthPhysicalPcs
    • healthPCS2

      protected void healthPCS2()
      Health and wellbeing - Physical Component Summary update step 2

      Updates PCS score (healthPhysicalPcs) from the causal effects of economic transitions. Applies separate estimates for Male and Female Persons. Runs after healthPCS1()

      See Also:
      Applies to:
      Age 18-64
      Changes the following variables:
      Person.healthPhysicalPcs
    • lifeSatisfaction1

      protected void lifeSatisfaction1()
      Health and wellbeing - Life satisfaction score 0-10 step 1

      Calculates the 'baseline' yearly update to the Life Satisfaction score (demLifeSatScore0to10) based on demographic variables. Runs before lifeSatisfaction2().

      See Also:
      Applies to:
      Age 16+
      Changes the following variables:
      Person.demLifeSatScore0to10
    • lifeSatisfaction2

      protected void lifeSatisfaction2()
      Health and wellbeing - Life satisfaction score 0-10 step 2

      Updates Life Satisfaction score (demLifeSatScore0to10) from the causal effects of economic transitions. Applies separate estimates for Male and Female Persons. Runs after lifeSatisfaction1()

      See Also:
      Applies to:
      Age 25-64
      Changes the following variables:
      Person.demLifeSatScore0to10
    • healthEQ5D

      protected void healthEQ5D()
      Generate EQ5D score from MCS and PCS

      Calculates an EQ5D score per person from previously updated MCS and PCS scores. Loads conversion parameters selected as 'franks' or 'lawrence' at Parameters.eq5dConversionParameters. Estimates are truncated to -0.594 to 1.0.

      See Also:
      Applies to:
      Age 16+
      Changes the following variables:
      Person.demLifeSatEQ5D
    • constrainDhmEstimate

      protected Double constrainDhmEstimate(Double healthWbScore0to36)
      Constrains GHQ12 Level estimates to valid range, 0-36
      Parameters:
      healthWbScore0to36 - predicted GHQ12 Level score
      Returns:
      Person.healthWbScore0to36 Level score constrained to 0-36
    • constrainhealthPsyDstrssEstimate

      protected Double constrainhealthPsyDstrssEstimate(Double healthPsyDstrss0to12)
      Constrains GHQ12 Caseness estimates to valid range, 0-12
      Parameters:
      healthPsyDstrss0to12 - predicted GHQ12 Caseness score
      Returns:
      Person.healthPsyDstrss0to12 Caseness score constrained to 0-12
    • constrainSF12Estimate

      protected Double constrainSF12Estimate(double sf12)
      Constrains SF12 (MCS or PCS) estimates to valid range, 0-100
      Parameters:
      sf12 - predicted MCS or PCS score
      Returns:
      Person.healthMentalMcs or Person.healthPhysicalPcs score constrained to 0-100
    • constrainLifeSatisfactionEstimate

      protected Double constrainLifeSatisfactionEstimate(double dls_estimate)
      Constrains life satisfaction score to valid range, 0-10
      Parameters:
      dls_estimate - predicted life satisfaction score
      Returns:
      Person.demLifeSatScore0to10 score constrained to 0-10
    • health

      protected void health()
    • evaluateSocialCareReceipt

      protected void evaluateSocialCareReceipt()
    • evaluateSocialCareProvision

      protected void evaluateSocialCareProvision()
    • evaluateSocialCareProvision

      public void evaluateSocialCareProvision(double probitAdjustment)
    • cohabitation

      public void cohabitation()
    • cohabitation

      protected void cohabitation(double probitAdjustment)
    • partnershipDissolution

      protected void partnershipDissolution()
    • inSchool

      public boolean inSchool()
    • inSchool

      public boolean inSchool(double probitAdjustment)
    • leavingSchool

      public void leavingSchool()
    • initialisePotentialHourlyEarnings

      protected void initialisePotentialHourlyEarnings()
    • updateFullTimeHourlyEarnings

      protected void updateFullTimeHourlyEarnings()
    • setyCapitalPersMonth

      public void setyCapitalPersMonth(double val)
    • setYPensPersGrossMonth

      public void setYPensPersGrossMonth(double val)
    • getPensionIncomeAnnual

      public double getPensionIncomeAnnual()
    • updatePrivatePensionIncome

      public double updatePrivatePensionIncome()
      method to project private pension income
    • getPensionLumpSum

      public double getPensionLumpSum()
    • updateInvestmentIncome

      protected void updateInvestmentIncome()
      method to project investment income where non-pension wealth is not explicitly simulated
    • setNonLabourIncome

      protected void setNonLabourIncome()
      method to summarise non-labour income
    • atRiskOfWork

      public boolean atRiskOfWork()
    • setEducationLevel

      public void setEducationLevel()
    • getLiquidWealth

      public double getLiquidWealth()
    • projectEquivConsumption

      protected void projectEquivConsumption()
    • updateAttributes

      protected void updateAttributes()
    • setupNewHousehold

      protected void setupNewHousehold()
    • setupNewBenefitUnit

      public void setupNewBenefitUnit(boolean automaticUpdateOfBenefitUnits)
      CREATE NEW BENEFIT UNIT FOR PERSON A new benefit unit is created for someone when: they reach age of maturity - default to parental household (no change in household) they enter a new cohabiting relationship they leave a cohabiting relationship (in which case it is the woman that is allocated a new benefit unit)
      Parameters:
      automaticUpdateOfBenefitUnits - - This is a toggle to control the automatic update of the model's set of benefitUnits, which would cause concurrent modification exception to be thrown if called within an iteration through benefitUnits. There are two possible causes of concurrent modification issues: 1) adding of the new benefitUnit to the model's benefitUnits set and 2) removal of the last person from the benefitUnit when updateHousehold() method is called would lead to the automatic removal of the old house from the model's benefitUnits set. To prevent concurrent modification exception being thrown, set this parameter to false and use the iterator on the benefitUnits to add the new benefitUnit manually e.g. (houseIterator.add(newHouse)). Also the updateHousehold() method will need to be called and the person removed from the old house manually outside the iteration through benefitUnits.
    • setupNewBenefitUnit

      public void setupNewBenefitUnit(Person partner, boolean automaticUpdateOfBenefitUnits)
    • compareTo

      public int compareTo(Person person)
      Specified by:
      compareTo in interface Comparable<Person>
    • initialise_les_c6_from_c4

      public void initialise_les_c6_from_c4()
    • getIntValue

      public int getIntValue(Enum<?> variableID)
      Specified by:
      getIntValue in interface microsim.statistics.IIntSource
    • getDoubleValue

      public double getDoubleValue(Enum<?> variableID)
      Specified by:
      getDoubleValue in interface microsim.statistics.IDoubleSource
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getKey

      public microsim.data.db.PanelEntityKey getKey()
      Returns a defensive copy of the field. The caller of this method can do anything they want with the returned Key object, without affecting the internals of this class in any way.
    • getPersonCount

      public int getPersonCount()
    • getDemAge

      public int getDemAge()
    • getDemAgeSq

      public int getDemAgeSq()
    • setDemAge

      public void setDemAge(Integer demAge)
    • getDemMaleFlag

      public Gender getDemMaleFlag()
    • getGender

      public int getGender()
    • setDemMaleFlag

      public void setDemMaleFlag(Gender demMaleFlag)
    • getLabC4

      public Les_c4 getLabC4()
    • getStudent

      public int getStudent()
    • getEducation

      public int getEducation()
    • setLabC4

      public void setLabC4(Les_c4 labC4)
    • setLabC7Covid

      public void setLabC7Covid(Les_c7_covid labC7Covid)
    • getLabC7Covid

      public Les_c7_covid getLabC7Covid()
    • getLabC4L1

      public Les_c4 getLabC4L1()
    • getLabC7CovidL1

      public Les_c7_covid getLabC7CovidL1()
    • setLabC7CovidL1

      public void setLabC7CovidL1(Les_c7_covid labC7CovidL1)
    • getHouseholdStatus

      public HouseholdStatus getHouseholdStatus()
    • getCohabiting

      public int getCohabiting()
    • getEduHighestC4

      public Education getEduHighestC4()
    • setEduHighestC4

      public void setEduHighestC4(Education eduHighestC4)
    • setEduHighestC4L1

      public void setEduHighestC4L1(Education eduHighestC4L1)
    • getEduHighestMotherC4

      public Education getEduHighestMotherC4()
    • setEduHighestMotherC4

      public void setEduHighestMotherC4(Education eduHighestMotherC4)
    • getEduHighestFatherC4

      public Education getEduHighestFatherC4()
    • setEduHighestFatherC4

      public void setEduHighestFatherC4(Education eduHighestFatherC4)
    • getEduSpellFlag

      public Indicator getEduSpellFlag()
    • getEduSpellFlagL1

      public Indicator getEduSpellFlagL1()
    • setEduSpellFlag

      public void setEduSpellFlag(Indicator eduSpellFlag)
    • setEduSpellFlagL1

      public void setEduSpellFlagL1(Indicator eduSpellFlagL1)
    • getLowEducation

      public int getLowEducation()
    • getMidEducation

      public int getMidEducation()
    • getHighEducation

      public int getHighEducation()
    • setEducation

      public void setEducation(Education educationlevel)
    • getGoodHealth

      public int getGoodHealth()
    • getBadHealth

      public int getBadHealth()
    • getHealthStatusConversion

      public HealthStatus getHealthStatusConversion()
    • getEmployed

      public int getEmployed()
    • getNonwork

      public int getNonwork()
    • getEmployedFlagL1

      public int getEmployedFlagL1()
    • getNonworkFlagL1

      public int getNonworkFlagL1()
    • setI_demRgn

      public void setI_demRgn(Region region)
    • getRegion

      public Region getRegion()
    • setRegion

      public void setRegion(Region region)
    • getDemStatusHhL1

      public HouseholdStatus getDemStatusHhL1()
    • isToGiveBirth

      public boolean isToGiveBirth()
    • setToGiveBirth

      public void setToGiveBirth(boolean toGiveBirth_)
    • isToLeaveSchool

      public boolean isToLeaveSchool()
    • setToLeaveSchool

      public void setToLeaveSchool(boolean eduLeaveSchoolFlag)
    • getWgt

      public double getWgt()
    • setWgt

      public void setWgt(double wgt)
    • getWeight

      public double getWeight()
      Specified by:
      getWeight in interface microsim.agent.Weight
    • getBenefitUnit

      public BenefitUnit getBenefitUnit()
    • setBenefitUnit

      public void setBenefitUnit(BenefitUnit newBenefitUnit)
    • getPartner

      public Person getPartner()
    • isPartnered

      public boolean isPartnered()
    • getPartnerID

      public Long getPartnerID()
    • getLabourSupplyWeekly

      public Labour getLabourSupplyWeekly()
    • getLabHrsWorkEnumWeekL1

      public Labour getLabHrsWorkEnumWeekL1()
      Previous year's weekly labour supply, or null before it has been initialised (unlike getL1LabourSupplyHoursWeekly(), which throws).
    • getL1LabourSupplyHoursWeekly

      public int getL1LabourSupplyHoursWeekly()
    • getLabourSupplyHoursWeekly

      public int getLabourSupplyHoursWeekly()
    • getDoubleLabourSupplyHoursWeekly

      public double getDoubleLabourSupplyHoursWeekly()
    • setLabourSupplyWeekly

      public void setLabourSupplyWeekly(Labour labourSupply)
    • isEvaluatingLabourChoice

      public boolean isEvaluatingLabourChoice()
      True while BenefitUnit is scoring the labour-supply choice across candidate hours brackets. While on (and Parameters.useRepresentativeHoursInUtility is true), Labour.getHours returns each bracket's representative hours instead of this person's realised hours.
    • setEvaluatingLabourChoice

      public void setEvaluatingLabourChoice(boolean evaluating)
    • updateUkhlsLhwSheet

      public void updateUkhlsLhwSheet()
      Fixes the UKHLS hours-distribution sheet for the coming labour-supply choice pass (called from BenefitUnit.resetLabourStates), so the sample type is resolved once per pass rather than for every candidate hours bracket, which would rerun the partner's atRiskOfWork() each time.
    • getUkhlsLhwSheet

      public String getUkhlsLhwSheet()
      UKHLS hours-distribution sheet used to draw realised hours (Parameters.USE_UKHLS_LHW_DISTRIBUTION): the one fixed at the start of the last labour-supply choice pass, otherwise the person's current sample type.
    • getLabourSupplyHoursYearly

      public double getLabourSupplyHoursYearly()
    • getScaledLabourSupplyYearly

      public double getScaledLabourSupplyYearly()
    • getGrossEarningsYearly

      public double getGrossEarningsYearly()
    • getAtRiskOfPoverty

      public int getAtRiskOfPoverty()
    • getLabWageFullTimeHrly

      public double getLabWageFullTimeHrly()
    • getDemAgeDiffDesired

      public double getDemAgeDiffDesired()
    • getYWageDesired

      public double getYWageDesired()
    • getHealthSelfRated

      public Dhe getHealthSelfRated()
    • setHealthSelfRated

      public void setHealthSelfRated(Dhe health)
    • getHealthSelfRatedValue

      public double getHealthSelfRatedValue()
    • getHealthWbScore0to36

      public double getHealthWbScore0to36()
    • getDemLifeSatScore0to10

      public Double getDemLifeSatScore0to10()
    • getHealthMentalMcs

      public double getHealthMentalMcs()
    • getHealthPhysicalPcs

      public double getHealthPhysicalPcs()
    • setHealthMentalMcs

      public void setHealthMentalMcs(Double healthMentalMcs)
    • setHealthPhysicalPcs

      public void setHealthPhysicalPcs(Double healthPhysicalPcs)
    • populateSocialCareReceipt

      public void populateSocialCareReceipt(SocialCareReceiptState state)
    • populateSocialCareReceipt_lag1

      public void populateSocialCareReceipt_lag1(SocialCareReceiptState state)
    • matchLifetimeIncome

      public void matchLifetimeIncome(int age, boolean agePlus, double[] sortedZ, List<TemplateIndividual> templateIndividuals)
    • setCareFromInformalFlag

      public void setCareFromInformalFlag(boolean val)
    • setCareHrsInformalWeekL1

      public void setCareHrsInformalWeekL1(double val)
    • setCareHrsFormalWeekL1

      public void setCareHrsFormalWeekL1(double val)
    • setCareProvidedFlagL1

      public void setCareProvidedFlagL1(Indicator careProvision)
    • setHealthWbScore0to36

      public void setHealthWbScore0to36(Double healthWbScore0to36)
    • setHealthSelfRatedL1

      public void setHealthSelfRatedL1(Dhe health)
    • setHealthWbScore0to36L1

      public void setHealthWbScore0to36L1(Double dhm)
    • getHealthPsyDstrss0to12

      public Double getHealthPsyDstrss0to12()
    • setHealthPsyDstrss0to12

      public void setHealthPsyDstrss0to12(Double dhm_ghq)
    • isPsychologicallyDistressed

      public int isPsychologicallyDistressed()
    • getDemEthnC6

      public Ethnicity getDemEthnC6()
    • setDemEthnC6

      public void setDemEthnC6(Ethnicity demEthnC6)
    • getYFinDstrssFlag

      public boolean getYFinDstrssFlag()
    • getCareNeedFlag

      public Indicator getCareNeedFlag()
    • setCareNeedFlag

      public void setCareNeedFlag(Indicator careNeedFlag)
    • setEduReturnFlag

      public void setEduReturnFlag(Indicator eduReturnFlag)
    • getEduReturnFlag

      public Indicator getEduReturnFlag()
    • getEduExitSampleFlag

      public Indicator getEduExitSampleFlag()
    • getIdPersOriginal

      public Long getIdPersOriginal()
    • getIdBuOriginal

      public Long getIdBuOriginal()
    • getIdHhOriginal

      public Long getIdHhOriginal()
    • getDemAgeGroup

      public int getDemAgeGroup()
    • isClonedFlag

      public boolean isClonedFlag()
    • setClonedFlag

      public void setClonedFlag(boolean demClonedFlag)
    • getDemPartnerStatus

      public Dcpst getDemPartnerStatus()
    • setI_demPartnerStatus

      public void setI_demPartnerStatus(Dcpst demPartnerStatus)
    • getHealthDsblLongtermFlag

      public Indicator getHealthDsblLongtermFlag()
    • setHealthDsblLongtermFlag

      public void setHealthDsblLongtermFlag(Indicator healthDsblLongtermFlag)
    • setSocialCareReceipt

      public void setSocialCareReceipt(SocialCareReceipt who)
    • setSocialCareProvision

      public void setSocialCareProvision(Indicator provide)
    • getHealthDsblLongtermFlagL1

      public Indicator getHealthDsblLongtermFlagL1()
    • setHealthDsblLongtermFlagL1

      public void setHealthDsblLongtermFlagL1(Indicator healthDsblLongtermFlagL1)
    • setEduExitSampleFlag

      public void setEduExitSampleFlag(Indicator eduExitSampleFlag)
    • isLeftEducation

      public boolean isLeftEducation()
    • setEduLeftEduFlag

      public void setEduLeftEduFlag(boolean eduLeftEduFlag)
    • isLeftPartnership

      public boolean isLeftPartnership()
    • setDemLeftPartnerFlag

      public void setDemLeftPartnerFlag(boolean demLeftPartnerFlag)
    • getDemPartnerNYear

      public Integer getDemPartnerNYear()
    • setDemPartnerNYear

      public void setDemPartnerNYear(Integer demPartnerNYear)
    • getDemAgePartnerDiff

      public Integer getDemAgePartnerDiff()
    • getYNonBenPersGrossMonth

      public Double getYNonBenPersGrossMonth()
    • setYNonBenPersGrossMonth

      public void setYNonBenPersGrossMonth(Double val)
    • getYNonBenPersGrossMonthL1

      public Double getYNonBenPersGrossMonthL1()
    • getYMiscPersGrossMonth

      public Double getYMiscPersGrossMonth()
    • getYCapitalPersMonth

      public Double getYCapitalPersMonth()
    • getYPensPersGrossMonth

      public Double getYPensPersGrossMonth()
    • setYMiscPersGrossMonth

      public void setYMiscPersGrossMonth(double yMiscPersGrossMonth)
    • getYMiscPersGrossMonthL1

      public Double getYMiscPersGrossMonthL1()
    • getYEmpPersGrossMonth

      public double getYEmpPersGrossMonth()
    • setYEmpPersGrossMonth

      public void setYEmpPersGrossMonth(double val)
    • getWealthPensValue

      public Double getWealthPensValue()
    • getWealthPensValue

      public double getWealthPensValue(boolean throwError)
    • setWealthPensValue

      public void setWealthPensValue(Double v)
    • getYEmpPersGrossMonthL1

      public double getYEmpPersGrossMonthL1()
    • getYEmpPersGrossMonthL2

      public double getYEmpPersGrossMonthL2()
    • getYEmpPersGrossMonthL3

      public double getYEmpPersGrossMonthL3()
    • getYPersAndPartnerGrossDiffMonthL1

      public Double getYPersAndPartnerGrossDiffMonthL1()
    • getLabStatusPartnerAndOwnC4

      public Lesdf_c4 getLabStatusPartnerAndOwnC4()
    • getLabStatusPartnerAndOwnC4L1

      public Lesdf_c4 getLabStatusPartnerAndOwnC4L1()
    • setLabC4L1

      public void setLabC4L1(Les_c4 labC4L1)
    • setLabStatusPartnerAndOwnC4L1

      public void setLabStatusPartnerAndOwnC4L1(Lesdf_c4 labStatusPartnerAndOwnC4L1)
    • setYNonBenPersGrossMonthL1

      public void setYNonBenPersGrossMonthL1(Double val)
    • setEduHighestPartnerC4L1

      public void setEduHighestPartnerC4L1(Education eduHighestPartnerC4L1)
    • setHealthPartnerSelfRatedL1

      public void setHealthPartnerSelfRatedL1(Dhe healthPartnerSelfRatedL1)
    • setYPersAndPartnerGrossDiffMonthL1

      public void setYPersAndPartnerGrossDiffMonthL1(Double val)
    • setDemPartnerNYearL1

      public void setDemPartnerNYearL1(Integer demPartnerNYearL1)
    • setDemAgePartnerDiffL1

      public void setDemAgePartnerDiffL1(Integer demAgePartnerDiffL1)
    • setDemPartnerStatusL1

      public void setDemPartnerStatusL1(Dcpst demPartnerStatusL1)
    • setLabWageFullTimeHrly

      public void setLabWageFullTimeHrly(double potentialHourlyEarnings)
    • getLabWageFullTimeHrlyL1

      public double getLabWageFullTimeHrlyL1()
    • setLabWageFullTimeHrlyL1

      public void setLabWageFullTimeHrlyL1(double potentialHourlyEarnings)
    • setLiwwh

      public void setLiwwh(Integer labEmpNyear)
    • setIoFlag

      public void setIoFlag(boolean demIoFlag)
    • isToBePartnered

      public boolean isToBePartnered()
    • setToBePartnered

      public void setToBePartnered(boolean demBePartnerFlag)
    • getAdultChildFlag

      public int getAdultChildFlag()
    • getIdHousehold

      public Long getIdHousehold()
    • setIdHousehold

      public void setIdHousehold(Long idHh)
    • getXEquivYear

      public Double getXEquivYear()
    • setXEquivYear

      public void setXEquivYear(Double xEquivYear)
    • getXEquivYearL1

      public Double getXEquivYearL1()
    • setXEquivYearL1

      public void setXEquivYearL1(Double val)
    • getLabHrsWorkNewL1

      public Integer getLabHrsWorkNewL1()
    • setLabHrsWorkNewL1

      public void setLabHrsWorkNewL1(Integer labHrsWorkNewL1)
    • getCovidYLabGrossL1

      public double getCovidYLabGrossL1()
    • setCovidYLabGrossL1

      public void setCovidYLabGrossL1(double covidYLabGrossL1)
    • getCovidSEISSReceivedFlag

      public Indicator getCovidSEISSReceivedFlag()
    • setCovidSEISSReceivedFlag

      public void setCovidSEISSReceivedFlag(Indicator covidSEISSReceivedFlag)
    • getCovidYLabGross

      public double getCovidYLabGross()
    • setCovidYLabGross

      public void setCovidYLabGross(double covidYLabGross)
    • getCovidYLabGrossXt5

      public Quintiles getCovidYLabGrossXt5()
    • setCovidYLabGrossXt5

      public void setCovidYLabGrossXt5(Quintiles covidYLabGrossXt5)
    • isReceivesBenefitsFlag

      public boolean isReceivesBenefitsFlag()
    • setReceivesBenefitsFlag

      public void setReceivesBenefitsFlag(boolean yBenReceivedFlag)
    • isReceivesBenefitsFlag_L1

      public boolean isReceivesBenefitsFlag_L1()
    • setYBenReceivedFlagL1

      public void setYBenReceivedFlagL1(boolean yBenReceivedFlagL1)
    • isReceivesBenefitsFlagUC

      public boolean isReceivesBenefitsFlagUC()
    • setReceivesBenefitsFlagUC

      public void setReceivesBenefitsFlagUC(boolean yBenUCReceivedFlag)
    • isReceivesBenefitsFlagUC_L1

      public boolean isReceivesBenefitsFlagUC_L1()
    • setYBenUCReceivedFlagL1

      public void setYBenUCReceivedFlagL1(boolean yBenUCReceivedFlagL1)
    • isReceivesBenefitsFlagNonUC

      public boolean isReceivesBenefitsFlagNonUC()
    • setReceivesBenefitsFlagNonUC

      public void setReceivesBenefitsFlagNonUC(boolean yBenNonUCReceivedFlag)
    • isReceivesBenefitsFlagNonUC_L1

      public boolean isReceivesBenefitsFlagNonUC_L1()
    • setYBenNonUCReceivedFlagL1

      public void setYBenNonUCReceivedFlagL1(boolean yBenNonUCReceivedFlagL1)
    • getEquivalisedDisposableIncomeYearly

      public double getEquivalisedDisposableIncomeYearly()
    • getDisposableIncomeMonthlyNoNull

      public double getDisposableIncomeMonthlyNoNull()
    • getDisposableIncomeMonthly

      public double getDisposableIncomeMonthly()
    • getWageOffer

      public double getWageOffer()
    • getDisability

      public int getDisability()
    • getSocialCareReceipt

      public SocialCareReceipt getSocialCareReceipt()
    • getSocialCareReceiptState

      public SocialCareReceiptState getSocialCareReceiptState()
    • getSocialCareProvisionState

      public double getSocialCareProvisionState()
    • getSocialCareProvision

      public Indicator getSocialCareProvision()
    • getRetired

      public double getRetired()
    • setI_demYear

      public void setI_demYear(Integer i_demYear)
    • getYear

      public int getYear()
    • setI_demNchild0to17

      public void setI_demNchild0to17(Integer nbr)
    • setI_demNChild0to2

      public void setI_demNChild0to2(Indicator idctr)
    • setI_yHhQuintilesC5

      public void setI_yHhQuintilesC5(Ydses_c5 yHhQuintilesC5L1)
    • setI_demCompHhC4L1

      public void setI_demCompHhC4L1(Dhhtp_c4 demCompHhC4L1)
    • setI_demNchild

      public void setI_demNchild(Integer nbr)
    • setI_demNchildL1

      public void setI_demNchildL1(Integer nbr)
    • setI_demNchild0to2L1

      public void setI_demNchild0to2L1(Integer nbr)
    • getHourlyWageRate1

      public double getHourlyWageRate1()
    • getHourlyWageRate

      public double getHourlyWageRate()
    • getHourlyWageRate

      public double getHourlyWageRate(double labourHoursWeekly)
    • getHourlyWageRate

      public double getHourlyWageRate(int labourHoursWeekly)
    • getEarningsWeekly

      public double getEarningsWeekly()
    • getEarningsWeekly

      public double getEarningsWeekly(double labourHoursWeekly)
    • getEarningsWeekly

      public double getEarningsWeekly(int labourHoursWeekly)
    • getNumberChildren017Local

      public Integer getNumberChildren017Local()
    • getNumberChildrenAllLocal

      public Integer getNumberChildrenAllLocal()
    • getIndicatorChildren02Local

      public Indicator getIndicatorChildren02Local()
    • getPersonContinuousHoursLabourSupplyMap

      public Map<Labour,Integer> getPersonContinuousHoursLabourSupplyMap()
    • setPersonContinuousHoursLabourSupplyMap

      public void setPersonContinuousHoursLabourSupplyMap(Map<Labour,Integer> personContinuousHoursLabourSupplyMap)
    • getLabourSupplySingleDraw

      public double getLabourSupplySingleDraw()
    • getBenefitUnitRandomUniform

      public double getBenefitUnitRandomUniform()
    • getCareHrsFormalWeekL1

      public double getCareHrsFormalWeekL1()
    • getHoursFormalSocialCare

      public double getHoursFormalSocialCare()
    • getCareHrsInformalWeek

      public double getCareHrsInformalWeek()
    • getCareHoursFromPartnerWeekly

      public double getCareHoursFromPartnerWeekly()
    • setCareHoursFromPartnerWeekly

      public void setCareHoursFromPartnerWeekly(double hours)
    • getCareHoursFromParentWeekly

      public double getCareHoursFromParentWeekly()
    • getCareHoursFromDaughterWeekly

      public double getCareHoursFromDaughterWeekly()
    • getCareHoursFromSonWeekly

      public double getCareHoursFromSonWeekly()
    • getCareHoursFromOtherWeekly

      public double getCareHoursFromOtherWeekly()
    • getCareHoursProvidedWeekly

      public double getCareHoursProvidedWeekly()
    • getCareHrsInformalWeekL1

      public double getCareHrsInformalWeekL1()
    • getCareHrsTotalWeekL1

      public double getCareHrsTotalWeekL1()
    • getCareHoursFromParent_L1

      public double getCareHoursFromParent_L1()
    • getCareHoursFromPartner_L1

      public double getCareHoursFromPartner_L1()
    • getCareHoursFromDaughter_L1

      public double getCareHoursFromDaughter_L1()
    • getCareHoursFromSon_L1

      public double getCareHoursFromSon_L1()
    • getCareHoursFromOther_L1

      public double getCareHoursFromOther_L1()
    • getSocialCareCostWeekly

      public double getSocialCareCostWeekly()
    • getTestPartner

      public boolean getTestPartner()
    • setHasTestPartner

      public void setHasTestPartner(boolean demAlignPartnerProcess)
    • getLeavePartner

      public boolean getLeavePartner()
    • setLeavePartner

      public void setLeavePartner(boolean demLeavePartnerFlag)
    • getLowWageOffer

      public boolean getLowWageOffer()
    • getBornInSimulation

      public boolean getBornInSimulation()
    • setBornInSimulation

      public void setBornInSimulation(boolean demBornInSimFlag)
    • getHoursWorkedWeekly

      public double getHoursWorkedWeekly()
    • getLeisureHoursPerWeek

      public double getLeisureHoursPerWeek()
    • setSampleExit

      public void setSampleExit(SampleExit demExitSample)
    • getSampleExit

      public SampleExit getSampleExit()
    • getFertilityRandomUniform2

      public double getFertilityRandomUniform2()
    • getCohabitRandomUniform2

      public double getCohabitRandomUniform2()
    • getRegressionName

      public RegressionName getRegressionName(Axis axis)
    • setProcessedId

      public void setProcessedId(long id)
    • getSeed

      public long getSeed()
    • getYPersAndPartnerGrossDiffMonth

      public Double getYPersAndPartnerGrossDiffMonth()
    • getId

      public long getId()
    • getIdMother

      public Long getIdMother()
    • getIdFather

      public Long getIdFather()
    • getInheritanceSourceId

      public Long getInheritanceSourceId()
    • getToBePartnered

      public boolean getToBePartnered()
    • setPersonIdCounter

      public static void setPersonIdCounter(long id)
    • getDemLifeSatEQ5D

      public Double getDemLifeSatEQ5D()
    • setDemLifeSatEQ5D

      public void setDemLifeSatEQ5D(Double demLifeSatEQ5D)
    • getHealthPhysicalPartnerPcs

      public Double getHealthPhysicalPartnerPcs()
    • setHealthPhysicalPartnerPcs

      public void setHealthPhysicalPartnerPcs(Double healthPhysicalPartnerPcs)
    • getHealthMentalPartnerMcs

      public Double getHealthMentalPartnerMcs()
    • setHealthMentalPartnerMcs

      public void setHealthMentalPartnerMcs(Double healthMentalPartnerMcs)
    • getHealthMentalMcsL1

      public Double getHealthMentalMcsL1()
    • getHealthPhysicalPcsL1

      public Double getHealthPhysicalPcsL1()
    • setLtIncomeDonor

      public void setLtIncomeDonor(TemplateIndividual donor)
    • getImputedIncome

      public double getImputedIncome(int age)
    • setLtIncome

      public void setLtIncome(int maxAge)
    • getYLifeTime

      public double getYLifeTime()
    • updateLtIncome

      public void updateLtIncome()
    • getLtIncomeDonor

      public TemplateIndividual getLtIncomeDonor()
    • getLiwwh

      public Integer getLiwwh()
    • isHousingOwned

      public boolean isHousingOwned()
    • getEduHighestPartner

      public Education getEduHighestPartner()
    • getHealthPartner

      public Dhe getHealthPartner()
    • getAgeDifferencePartner

      public Integer getAgeDifferencePartner()
    • getIdPartner

      public Long getIdPartner()
    • getWealthPensOpEeContRate

      public Double getWealthPensOpEeContRate()
    • getWealthPensOpEeContRate

      public double getWealthPensOpEeContRate(boolean throwError)
    • setWealthPensOpEeContRate

      public void setWealthPensOpEeContRate(Double wealthPensOpEeContRate)
    • getWealthPensOpErContRate

      public Double getWealthPensOpErContRate()
    • getWealthPensOpErContRate

      public double getWealthPensOpErContRate(boolean throwError)
    • setWealthPensOpErContRate

      public void setWealthPensOpErContRate(Double wealthPensOpErContRate)
    • getWealthPensPpContRate

      public Double getWealthPensPpContRate()
    • getWealthPensPpContRate

      public double getWealthPensPpContRate(boolean throwError)
    • setWealthPensPpContRate

      public void setWealthPensPpContRate(Double wealthPensPpContRate)
    • getPrivatePension

      public PrivatePension getPrivatePension()
    • getWealthNonPensValue

      public Double getWealthNonPensValue()
    • getWealthNonPensValue

      public double getWealthNonPensValue(boolean throwError)
    • setWealthNonPensValue

      public void setWealthNonPensValue(Double v)
    • getWealthNonPensValueL1

      public Double getWealthNonPensValueL1()
    • setWealthNonPensValueL1

      public void setWealthNonPensValueL1(Double wealthNonPensValueL1)