model.internal.application.user.impl/src/main/java/com/hack23/cia/model/internal/application/data/committee/impl/ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly.java

Summary

Maintainability
F
1 wk
Test Coverage
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.02.25 at 12:05:09 AM CET
//


package com.hack23.cia.model.internal.application.data.committee.impl;


import java.math.BigDecimal;

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.hack23.cia.model.common.api.ModelObject;


/**
 * <p>Java class for ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly complex type.
 *
 * <p>The following schema fragment specifies the expected content contained within this class.
 *
 * <pre>
 * &lt;complexType name="ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="embeddedId" type="{http://committee.data.application.internal.model.cia.hack23.com/impl}RiksdagenVoteDataBallotPoliticianPeriodSummaryEmbeddedId"/&gt;
 *         &lt;element name="first_name" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="last_name" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="gender" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="party" type="{http://www.w3.org/2001/XMLSchema}string"/&gt;
 *         &lt;element name="born_year" type="{http://www.w3.org/2001/XMLSchema}int"/&gt;
 *         &lt;element name="number_ballots" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="avg_born_year" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="total_votes" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="yes_votes" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="no_votes" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="abstain_votes" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="absent_votes" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="party_total_votes" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="party_yes_votes" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="party_no_votes" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="party_abstain_votes" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="party_absent_votes" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="politician_yes_votes" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="politician_no_votes" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="politician_abstain_votes" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="politician_absent_votes" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="politician_percentage_yes" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="politician_percentage_no" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="politician_percentage_absent" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="politician_percentage_abstain" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="party_avg_born_year" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="party_avg_percentage_male" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="party_percentage_yes" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="party_percentage_no" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="party_percentage_abstain" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="party_percentage_absent" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="percentage_yes" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="percentage_no" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="percentage_abstain" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="percentage_absent" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="party_won_total" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="party_won_percentage" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="approved_total" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="approved_percentage" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="won_percentage" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="won_total" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="rebel_percentage" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *         &lt;element name="rebel_total" type="{http://www.w3.org/2001/XMLSchema}decimal"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 *
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly", propOrder = {
    "embeddedId",
    "firstName",
    "lastName",
    "gender",
    "party",
    "bornYear",
    "numberBallots",
    "avgBornYear",
    "totalVotes",
    "yesVotes",
    "noVotes",
    "abstainVotes",
    "absentVotes",
    "partyTotalVotes",
    "partyYesVotes",
    "partyNoVotes",
    "partyAbstainVotes",
    "partyAbsentVotes",
    "politicianYesVotes",
    "politicianNoVotes",
    "politicianAbstainVotes",
    "politicianAbsentVotes",
    "politicianPercentageYes",
    "politicianPercentageNo",
    "politicianPercentageAbsent",
    "politicianPercentageAbstain",
    "partyAvgBornYear",
    "partyAvgPercentageMale",
    "partyPercentageYes",
    "partyPercentageNo",
    "partyPercentageAbstain",
    "partyPercentageAbsent",
    "percentageYes",
    "percentageNo",
    "percentageAbstain",
    "percentageAbsent",
    "partyWonTotal",
    "partyWonPercentage",
    "approvedTotal",
    "approvedPercentage",
    "wonPercentage",
    "wonTotal",
    "rebelPercentage",
    "rebelTotal"
})
@Entity(name = "ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly")
@Table(name = "View_Riksdagen_Vote_Data_Ballot_Politician_Summary_Weekly")
@Inheritance(strategy = InheritanceType.JOINED)
public class ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly
    implements ModelObject
{

    /**
     *
     */
    private static final long serialVersionUID = 1L;
    @XmlElement(required = true)
    protected RiksdagenVoteDataBallotPoliticianPeriodSummaryEmbeddedId embeddedId;
    @XmlElement(name = "first_name", required = true)
    protected String firstName;
    @XmlElement(name = "last_name", required = true)
    protected String lastName;
    @XmlElement(required = true)
    protected String gender;
    @XmlElement(required = true)
    protected String party;
    @XmlElement(name = "born_year")
    protected int bornYear;
    @XmlElement(name = "number_ballots", required = true)
    protected BigDecimal numberBallots;
    @XmlElement(name = "avg_born_year", required = true)
    protected BigDecimal avgBornYear;
    @XmlElement(name = "total_votes", required = true)
    protected BigDecimal totalVotes;
    @XmlElement(name = "yes_votes", required = true)
    protected BigDecimal yesVotes;
    @XmlElement(name = "no_votes", required = true)
    protected BigDecimal noVotes;
    @XmlElement(name = "abstain_votes", required = true)
    protected BigDecimal abstainVotes;
    @XmlElement(name = "absent_votes", required = true)
    protected BigDecimal absentVotes;
    @XmlElement(name = "party_total_votes", required = true)
    protected BigDecimal partyTotalVotes;
    @XmlElement(name = "party_yes_votes", required = true)
    protected BigDecimal partyYesVotes;
    @XmlElement(name = "party_no_votes", required = true)
    protected BigDecimal partyNoVotes;
    @XmlElement(name = "party_abstain_votes", required = true)
    protected BigDecimal partyAbstainVotes;
    @XmlElement(name = "party_absent_votes", required = true)
    protected BigDecimal partyAbsentVotes;
    @XmlElement(name = "politician_yes_votes", required = true)
    protected BigDecimal politicianYesVotes;
    @XmlElement(name = "politician_no_votes", required = true)
    protected BigDecimal politicianNoVotes;
    @XmlElement(name = "politician_abstain_votes", required = true)
    protected BigDecimal politicianAbstainVotes;
    @XmlElement(name = "politician_absent_votes", required = true)
    protected BigDecimal politicianAbsentVotes;
    @XmlElement(name = "politician_percentage_yes", required = true)
    protected BigDecimal politicianPercentageYes;
    @XmlElement(name = "politician_percentage_no", required = true)
    protected BigDecimal politicianPercentageNo;
    @XmlElement(name = "politician_percentage_absent", required = true)
    protected BigDecimal politicianPercentageAbsent;
    @XmlElement(name = "politician_percentage_abstain", required = true)
    protected BigDecimal politicianPercentageAbstain;
    @XmlElement(name = "party_avg_born_year", required = true)
    protected BigDecimal partyAvgBornYear;
    @XmlElement(name = "party_avg_percentage_male", required = true)
    protected BigDecimal partyAvgPercentageMale;
    @XmlElement(name = "party_percentage_yes", required = true)
    protected BigDecimal partyPercentageYes;
    @XmlElement(name = "party_percentage_no", required = true)
    protected BigDecimal partyPercentageNo;
    @XmlElement(name = "party_percentage_abstain", required = true)
    protected BigDecimal partyPercentageAbstain;
    @XmlElement(name = "party_percentage_absent", required = true)
    protected BigDecimal partyPercentageAbsent;
    @XmlElement(name = "percentage_yes", required = true)
    protected BigDecimal percentageYes;
    @XmlElement(name = "percentage_no", required = true)
    protected BigDecimal percentageNo;
    @XmlElement(name = "percentage_abstain", required = true)
    protected BigDecimal percentageAbstain;
    @XmlElement(name = "percentage_absent", required = true)
    protected BigDecimal percentageAbsent;
    @XmlElement(name = "party_won_total", required = true)
    protected BigDecimal partyWonTotal;
    @XmlElement(name = "party_won_percentage", required = true)
    protected BigDecimal partyWonPercentage;
    @XmlElement(name = "approved_total", required = true)
    protected BigDecimal approvedTotal;
    @XmlElement(name = "approved_percentage", required = true)
    protected BigDecimal approvedPercentage;
    @XmlElement(name = "won_percentage", required = true)
    protected BigDecimal wonPercentage;
    @XmlElement(name = "won_total", required = true)
    protected BigDecimal wonTotal;
    @XmlElement(name = "rebel_percentage", required = true)
    protected BigDecimal rebelPercentage;
    @XmlElement(name = "rebel_total", required = true)
    protected BigDecimal rebelTotal;

    /**
     * Gets the value of the embeddedId property.
     *
     * @return
     *     possible object is
     *     {@link RiksdagenVoteDataBallotPoliticianPeriodSummaryEmbeddedId }
     *
     */
    @EmbeddedId
    @AttributeOverrides({
        @AttributeOverride(name = "voteDate", column = @Column(name = "EMBEDDED_ID_VOTE_DATE")),
        @AttributeOverride(name = "intressentId", column = @Column(name = "EMBEDDED_ID_INTRESSENT_ID"))
    })
    public RiksdagenVoteDataBallotPoliticianPeriodSummaryEmbeddedId getEmbeddedId() {
        return embeddedId;
    }

    /**
     * Sets the value of the embeddedId property.
     *
     * @param value
     *     allowed object is
     *     {@link RiksdagenVoteDataBallotPoliticianPeriodSummaryEmbeddedId }
     *
     */
    public void setEmbeddedId(final RiksdagenVoteDataBallotPoliticianPeriodSummaryEmbeddedId value) {
        this.embeddedId = value;
    }

    /**
     * Gets the value of the firstName property.
     *
     * @return
     *     possible object is
     *     {@link String }
     *
     */
    @Basic
    @Column(name = "FIRST_NAME")
    public String getFirstName() {
        return firstName;
    }

    /**
     * Sets the value of the firstName property.
     *
     * @param value
     *     allowed object is
     *     {@link String }
     *
     */
    public void setFirstName(final String value) {
        this.firstName = value;
    }

    /**
     * Gets the value of the lastName property.
     *
     * @return
     *     possible object is
     *     {@link String }
     *
     */
    @Basic
    @Column(name = "LAST_NAME")
    public String getLastName() {
        return lastName;
    }

    /**
     * Sets the value of the lastName property.
     *
     * @param value
     *     allowed object is
     *     {@link String }
     *
     */
    public void setLastName(final String value) {
        this.lastName = value;
    }

    /**
     * Gets the value of the gender property.
     *
     * @return
     *     possible object is
     *     {@link String }
     *
     */
    @Basic
    @Column(name = "GENDER")
    public String getGender() {
        return gender;
    }

    /**
     * Sets the value of the gender property.
     *
     * @param value
     *     allowed object is
     *     {@link String }
     *
     */
    public void setGender(final String value) {
        this.gender = value;
    }

    /**
     * Gets the value of the party property.
     *
     * @return
     *     possible object is
     *     {@link String }
     *
     */
    @Basic
    @Column(name = "PARTY")
    public String getParty() {
        return party;
    }

    /**
     * Sets the value of the party property.
     *
     * @param value
     *     allowed object is
     *     {@link String }
     *
     */
    public void setParty(final String value) {
        this.party = value;
    }

    /**
     * Gets the value of the bornYear property.
     *
     */
    @Basic
    @Column(name = "BORN_YEAR", precision = 10, scale = 0)
    public int getBornYear() {
        return bornYear;
    }

    /**
     * Sets the value of the bornYear property.
     *
     */
    public void setBornYear(final int value) {
        this.bornYear = value;
    }

    /**
     * Gets the value of the numberBallots property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "NUMBER_BALLOTS", precision = 20, scale = 10)
    public BigDecimal getNumberBallots() {
        return numberBallots;
    }

    /**
     * Sets the value of the numberBallots property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setNumberBallots(final BigDecimal value) {
        this.numberBallots = value;
    }

    /**
     * Gets the value of the avgBornYear property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "AVG_BORN_YEAR", precision = 20, scale = 10)
    public BigDecimal getAvgBornYear() {
        return avgBornYear;
    }

    /**
     * Sets the value of the avgBornYear property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setAvgBornYear(final BigDecimal value) {
        this.avgBornYear = value;
    }

    /**
     * Gets the value of the totalVotes property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "TOTAL_VOTES", precision = 20, scale = 10)
    public BigDecimal getTotalVotes() {
        return totalVotes;
    }

    /**
     * Sets the value of the totalVotes property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setTotalVotes(final BigDecimal value) {
        this.totalVotes = value;
    }

    /**
     * Gets the value of the yesVotes property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "YES_VOTES", precision = 20, scale = 10)
    public BigDecimal getYesVotes() {
        return yesVotes;
    }

    /**
     * Sets the value of the yesVotes property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setYesVotes(final BigDecimal value) {
        this.yesVotes = value;
    }

    /**
     * Gets the value of the noVotes property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "NO_VOTES", precision = 20, scale = 10)
    public BigDecimal getNoVotes() {
        return noVotes;
    }

    /**
     * Sets the value of the noVotes property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setNoVotes(final BigDecimal value) {
        this.noVotes = value;
    }

    /**
     * Gets the value of the abstainVotes property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "ABSTAIN_VOTES", precision = 20, scale = 10)
    public BigDecimal getAbstainVotes() {
        return abstainVotes;
    }

    /**
     * Sets the value of the abstainVotes property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setAbstainVotes(final BigDecimal value) {
        this.abstainVotes = value;
    }

    /**
     * Gets the value of the absentVotes property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "ABSENT_VOTES", precision = 20, scale = 10)
    public BigDecimal getAbsentVotes() {
        return absentVotes;
    }

    /**
     * Sets the value of the absentVotes property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setAbsentVotes(final BigDecimal value) {
        this.absentVotes = value;
    }

    /**
     * Gets the value of the partyTotalVotes property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "PARTY_TOTAL_VOTES", precision = 20, scale = 10)
    public BigDecimal getPartyTotalVotes() {
        return partyTotalVotes;
    }

    /**
     * Sets the value of the partyTotalVotes property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPartyTotalVotes(final BigDecimal value) {
        this.partyTotalVotes = value;
    }

    /**
     * Gets the value of the partyYesVotes property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "PARTY_YES_VOTES", precision = 20, scale = 10)
    public BigDecimal getPartyYesVotes() {
        return partyYesVotes;
    }

    /**
     * Sets the value of the partyYesVotes property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPartyYesVotes(final BigDecimal value) {
        this.partyYesVotes = value;
    }

    /**
     * Gets the value of the partyNoVotes property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "PARTY_NO_VOTES", precision = 20, scale = 10)
    public BigDecimal getPartyNoVotes() {
        return partyNoVotes;
    }

    /**
     * Sets the value of the partyNoVotes property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPartyNoVotes(final BigDecimal value) {
        this.partyNoVotes = value;
    }

    /**
     * Gets the value of the partyAbstainVotes property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "PARTY_ABSTAIN_VOTES", precision = 20, scale = 10)
    public BigDecimal getPartyAbstainVotes() {
        return partyAbstainVotes;
    }

    /**
     * Sets the value of the partyAbstainVotes property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPartyAbstainVotes(final BigDecimal value) {
        this.partyAbstainVotes = value;
    }

    /**
     * Gets the value of the partyAbsentVotes property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "PARTY_ABSENT_VOTES", precision = 20, scale = 10)
    public BigDecimal getPartyAbsentVotes() {
        return partyAbsentVotes;
    }

    /**
     * Sets the value of the partyAbsentVotes property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPartyAbsentVotes(final BigDecimal value) {
        this.partyAbsentVotes = value;
    }

    /**
     * Gets the value of the politicianYesVotes property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "POLITICIAN_YES_VOTES", precision = 20, scale = 10)
    public BigDecimal getPoliticianYesVotes() {
        return politicianYesVotes;
    }

    /**
     * Sets the value of the politicianYesVotes property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPoliticianYesVotes(final BigDecimal value) {
        this.politicianYesVotes = value;
    }

    /**
     * Gets the value of the politicianNoVotes property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "POLITICIAN_NO_VOTES", precision = 20, scale = 10)
    public BigDecimal getPoliticianNoVotes() {
        return politicianNoVotes;
    }

    /**
     * Sets the value of the politicianNoVotes property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPoliticianNoVotes(final BigDecimal value) {
        this.politicianNoVotes = value;
    }

    /**
     * Gets the value of the politicianAbstainVotes property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "POLITICIAN_ABSTAIN_VOTES", precision = 20, scale = 10)
    public BigDecimal getPoliticianAbstainVotes() {
        return politicianAbstainVotes;
    }

    /**
     * Sets the value of the politicianAbstainVotes property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPoliticianAbstainVotes(final BigDecimal value) {
        this.politicianAbstainVotes = value;
    }

    /**
     * Gets the value of the politicianAbsentVotes property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "POLITICIAN_ABSENT_VOTES", precision = 20, scale = 10)
    public BigDecimal getPoliticianAbsentVotes() {
        return politicianAbsentVotes;
    }

    /**
     * Sets the value of the politicianAbsentVotes property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPoliticianAbsentVotes(final BigDecimal value) {
        this.politicianAbsentVotes = value;
    }

    /**
     * Gets the value of the politicianPercentageYes property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "POLITICIAN_PERCENTAGE_YES", precision = 20, scale = 10)
    public BigDecimal getPoliticianPercentageYes() {
        return politicianPercentageYes;
    }

    /**
     * Sets the value of the politicianPercentageYes property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPoliticianPercentageYes(final BigDecimal value) {
        this.politicianPercentageYes = value;
    }

    /**
     * Gets the value of the politicianPercentageNo property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "POLITICIAN_PERCENTAGE_NO", precision = 20, scale = 10)
    public BigDecimal getPoliticianPercentageNo() {
        return politicianPercentageNo;
    }

    /**
     * Sets the value of the politicianPercentageNo property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPoliticianPercentageNo(final BigDecimal value) {
        this.politicianPercentageNo = value;
    }

    /**
     * Gets the value of the politicianPercentageAbsent property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "POLITICIAN_PERCENTAGE_ABSENT", precision = 20, scale = 10)
    public BigDecimal getPoliticianPercentageAbsent() {
        return politicianPercentageAbsent;
    }

    /**
     * Sets the value of the politicianPercentageAbsent property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPoliticianPercentageAbsent(final BigDecimal value) {
        this.politicianPercentageAbsent = value;
    }

    /**
     * Gets the value of the politicianPercentageAbstain property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "POLITICIAN_PERCENTAGE_ABSTAIN", precision = 20, scale = 10)
    public BigDecimal getPoliticianPercentageAbstain() {
        return politicianPercentageAbstain;
    }

    /**
     * Sets the value of the politicianPercentageAbstain property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPoliticianPercentageAbstain(final BigDecimal value) {
        this.politicianPercentageAbstain = value;
    }

    /**
     * Gets the value of the partyAvgBornYear property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "PARTY_AVG_BORN_YEAR", precision = 20, scale = 10)
    public BigDecimal getPartyAvgBornYear() {
        return partyAvgBornYear;
    }

    /**
     * Sets the value of the partyAvgBornYear property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPartyAvgBornYear(final BigDecimal value) {
        this.partyAvgBornYear = value;
    }

    /**
     * Gets the value of the partyAvgPercentageMale property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "PARTY_AVG_PERCENTAGE_MALE", precision = 20, scale = 10)
    public BigDecimal getPartyAvgPercentageMale() {
        return partyAvgPercentageMale;
    }

    /**
     * Sets the value of the partyAvgPercentageMale property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPartyAvgPercentageMale(final BigDecimal value) {
        this.partyAvgPercentageMale = value;
    }

    /**
     * Gets the value of the partyPercentageYes property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "PARTY_PERCENTAGE_YES", precision = 20, scale = 10)
    public BigDecimal getPartyPercentageYes() {
        return partyPercentageYes;
    }

    /**
     * Sets the value of the partyPercentageYes property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPartyPercentageYes(final BigDecimal value) {
        this.partyPercentageYes = value;
    }

    /**
     * Gets the value of the partyPercentageNo property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "PARTY_PERCENTAGE_NO", precision = 20, scale = 10)
    public BigDecimal getPartyPercentageNo() {
        return partyPercentageNo;
    }

    /**
     * Sets the value of the partyPercentageNo property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPartyPercentageNo(final BigDecimal value) {
        this.partyPercentageNo = value;
    }

    /**
     * Gets the value of the partyPercentageAbstain property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "PARTY_PERCENTAGE_ABSTAIN", precision = 20, scale = 10)
    public BigDecimal getPartyPercentageAbstain() {
        return partyPercentageAbstain;
    }

    /**
     * Sets the value of the partyPercentageAbstain property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPartyPercentageAbstain(final BigDecimal value) {
        this.partyPercentageAbstain = value;
    }

    /**
     * Gets the value of the partyPercentageAbsent property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "PARTY_PERCENTAGE_ABSENT", precision = 20, scale = 10)
    public BigDecimal getPartyPercentageAbsent() {
        return partyPercentageAbsent;
    }

    /**
     * Sets the value of the partyPercentageAbsent property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPartyPercentageAbsent(final BigDecimal value) {
        this.partyPercentageAbsent = value;
    }

    /**
     * Gets the value of the percentageYes property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "PERCENTAGE_YES", precision = 20, scale = 10)
    public BigDecimal getPercentageYes() {
        return percentageYes;
    }

    /**
     * Sets the value of the percentageYes property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPercentageYes(final BigDecimal value) {
        this.percentageYes = value;
    }

    /**
     * Gets the value of the percentageNo property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "PERCENTAGE_NO", precision = 20, scale = 10)
    public BigDecimal getPercentageNo() {
        return percentageNo;
    }

    /**
     * Sets the value of the percentageNo property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPercentageNo(final BigDecimal value) {
        this.percentageNo = value;
    }

    /**
     * Gets the value of the percentageAbstain property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "PERCENTAGE_ABSTAIN", precision = 20, scale = 10)
    public BigDecimal getPercentageAbstain() {
        return percentageAbstain;
    }

    /**
     * Sets the value of the percentageAbstain property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPercentageAbstain(final BigDecimal value) {
        this.percentageAbstain = value;
    }

    /**
     * Gets the value of the percentageAbsent property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "PERCENTAGE_ABSENT", precision = 20, scale = 10)
    public BigDecimal getPercentageAbsent() {
        return percentageAbsent;
    }

    /**
     * Sets the value of the percentageAbsent property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPercentageAbsent(final BigDecimal value) {
        this.percentageAbsent = value;
    }

    /**
     * Gets the value of the partyWonTotal property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "PARTY_WON_TOTAL", precision = 20, scale = 10)
    public BigDecimal getPartyWonTotal() {
        return partyWonTotal;
    }

    /**
     * Sets the value of the partyWonTotal property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPartyWonTotal(final BigDecimal value) {
        this.partyWonTotal = value;
    }

    /**
     * Gets the value of the partyWonPercentage property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "PARTY_WON_PERCENTAGE", precision = 20, scale = 10)
    public BigDecimal getPartyWonPercentage() {
        return partyWonPercentage;
    }

    /**
     * Sets the value of the partyWonPercentage property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPartyWonPercentage(final BigDecimal value) {
        this.partyWonPercentage = value;
    }

    /**
     * Gets the value of the approvedTotal property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "APPROVED_TOTAL", precision = 20, scale = 10)
    public BigDecimal getApprovedTotal() {
        return approvedTotal;
    }

    /**
     * Sets the value of the approvedTotal property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setApprovedTotal(final BigDecimal value) {
        this.approvedTotal = value;
    }

    /**
     * Gets the value of the approvedPercentage property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "APPROVED_PERCENTAGE", precision = 20, scale = 10)
    public BigDecimal getApprovedPercentage() {
        return approvedPercentage;
    }

    /**
     * Sets the value of the approvedPercentage property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setApprovedPercentage(final BigDecimal value) {
        this.approvedPercentage = value;
    }

    /**
     * Gets the value of the wonPercentage property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "WON_PERCENTAGE", precision = 20, scale = 10)
    public BigDecimal getWonPercentage() {
        return wonPercentage;
    }

    /**
     * Sets the value of the wonPercentage property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setWonPercentage(final BigDecimal value) {
        this.wonPercentage = value;
    }

    /**
     * Gets the value of the wonTotal property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "WON_TOTAL", precision = 20, scale = 10)
    public BigDecimal getWonTotal() {
        return wonTotal;
    }

    /**
     * Sets the value of the wonTotal property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setWonTotal(final BigDecimal value) {
        this.wonTotal = value;
    }

    /**
     * Gets the value of the rebelPercentage property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "REBEL_PERCENTAGE", precision = 20, scale = 10)
    public BigDecimal getRebelPercentage() {
        return rebelPercentage;
    }

    /**
     * Sets the value of the rebelPercentage property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setRebelPercentage(final BigDecimal value) {
        this.rebelPercentage = value;
    }

    /**
     * Gets the value of the rebelTotal property.
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    @Basic
    @Column(name = "REBEL_TOTAL", precision = 20, scale = 10)
    public BigDecimal getRebelTotal() {
        return rebelTotal;
    }

    /**
     * Sets the value of the rebelTotal property.
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setRebelTotal(final BigDecimal value) {
        this.rebelTotal = value;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withEmbeddedId(final RiksdagenVoteDataBallotPoliticianPeriodSummaryEmbeddedId value) {
        setEmbeddedId(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withFirstName(final String value) {
        setFirstName(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withLastName(final String value) {
        setLastName(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withGender(final String value) {
        setGender(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withParty(final String value) {
        setParty(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withBornYear(final int value) {
        setBornYear(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withNumberBallots(final BigDecimal value) {
        setNumberBallots(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withAvgBornYear(final BigDecimal value) {
        setAvgBornYear(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withTotalVotes(final BigDecimal value) {
        setTotalVotes(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withYesVotes(final BigDecimal value) {
        setYesVotes(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withNoVotes(final BigDecimal value) {
        setNoVotes(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withAbstainVotes(final BigDecimal value) {
        setAbstainVotes(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withAbsentVotes(final BigDecimal value) {
        setAbsentVotes(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPartyTotalVotes(final BigDecimal value) {
        setPartyTotalVotes(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPartyYesVotes(final BigDecimal value) {
        setPartyYesVotes(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPartyNoVotes(final BigDecimal value) {
        setPartyNoVotes(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPartyAbstainVotes(final BigDecimal value) {
        setPartyAbstainVotes(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPartyAbsentVotes(final BigDecimal value) {
        setPartyAbsentVotes(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPoliticianYesVotes(final BigDecimal value) {
        setPoliticianYesVotes(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPoliticianNoVotes(final BigDecimal value) {
        setPoliticianNoVotes(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPoliticianAbstainVotes(final BigDecimal value) {
        setPoliticianAbstainVotes(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPoliticianAbsentVotes(final BigDecimal value) {
        setPoliticianAbsentVotes(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPoliticianPercentageYes(final BigDecimal value) {
        setPoliticianPercentageYes(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPoliticianPercentageNo(final BigDecimal value) {
        setPoliticianPercentageNo(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPoliticianPercentageAbsent(final BigDecimal value) {
        setPoliticianPercentageAbsent(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPoliticianPercentageAbstain(final BigDecimal value) {
        setPoliticianPercentageAbstain(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPartyAvgBornYear(final BigDecimal value) {
        setPartyAvgBornYear(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPartyAvgPercentageMale(final BigDecimal value) {
        setPartyAvgPercentageMale(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPartyPercentageYes(final BigDecimal value) {
        setPartyPercentageYes(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPartyPercentageNo(final BigDecimal value) {
        setPartyPercentageNo(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPartyPercentageAbstain(final BigDecimal value) {
        setPartyPercentageAbstain(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPartyPercentageAbsent(final BigDecimal value) {
        setPartyPercentageAbsent(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPercentageYes(final BigDecimal value) {
        setPercentageYes(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPercentageNo(final BigDecimal value) {
        setPercentageNo(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPercentageAbstain(final BigDecimal value) {
        setPercentageAbstain(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPercentageAbsent(final BigDecimal value) {
        setPercentageAbsent(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPartyWonTotal(final BigDecimal value) {
        setPartyWonTotal(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withPartyWonPercentage(final BigDecimal value) {
        setPartyWonPercentage(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withApprovedTotal(final BigDecimal value) {
        setApprovedTotal(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withApprovedPercentage(final BigDecimal value) {
        setApprovedPercentage(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withWonPercentage(final BigDecimal value) {
        setWonPercentage(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withWonTotal(final BigDecimal value) {
        setWonTotal(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withRebelPercentage(final BigDecimal value) {
        setRebelPercentage(value);
        return this;
    }

    public ViewRiksdagenVoteDataBallotPoliticianSummaryWeekly withRebelTotal(final BigDecimal value) {
        setRebelTotal(value);
        return this;
    }

    @Override
    public final String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
    }

    @Override
    public final boolean equals(final Object obj) {
        return EqualsBuilder.reflectionEquals(this, obj);
    }

    @Override
    public final int hashCode() {
        return HashCodeBuilder.reflectionHashCode(this);
    }

}