Class ViewRiksdagenVoteDataBallotPartySummary

  • All Implemented Interfaces:
    com.hack23.cia.model.common.api.ModelObject, java.io.Serializable

    @Entity(name="ViewRiksdagenVoteDataBallotPartySummary")
    public class ViewRiksdagenVoteDataBallotPartySummary
    extends java.lang.Object
    implements com.hack23.cia.model.common.api.ModelObject

    Java class for ViewRiksdagenVoteDataBallotPartySummary complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="ViewRiksdagenVoteDataBallotPartySummary">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="embeddedId" type="{http://committee.data.application.internal.model.cia.hack23.com/impl}RiksdagenVoteDataBallotPartyEmbeddedId"/>
             <element name="vote_date" type="{http://www.w3.org/2001/XMLSchema}date"/>
             <element name="rm" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="ballot_type" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
             <element name="avg_born_year" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
             <element name="total_votes" type="{http://www.w3.org/2001/XMLSchema}long"/>
             <element name="yes_votes" type="{http://www.w3.org/2001/XMLSchema}long"/>
             <element name="no_votes" type="{http://www.w3.org/2001/XMLSchema}long"/>
             <element name="abstain_votes" type="{http://www.w3.org/2001/XMLSchema}long"/>
             <element name="absent_votes" type="{http://www.w3.org/2001/XMLSchema}long"/>
             <element name="approved" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
             <element name="no_winner" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
             <element name="percentage_yes" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
             <element name="percentage_no" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
             <element name="percentage_absent" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
             <element name="percentage_abstain" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
             <element name="percentage_male" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
             <element name="party_avg_born_year" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
             <element name="party_total_votes" type="{http://www.w3.org/2001/XMLSchema}long"/>
             <element name="party_yes_votes" type="{http://www.w3.org/2001/XMLSchema}long"/>
             <element name="party_no_votes" type="{http://www.w3.org/2001/XMLSchema}long"/>
             <element name="party_abstain_votes" type="{http://www.w3.org/2001/XMLSchema}long"/>
             <element name="party_absent_votes" type="{http://www.w3.org/2001/XMLSchema}long"/>
             <element name="party_approved" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
             <element name="party_no_winner" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
             <element name="party_percentage_yes" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
             <element name="party_percentage_no" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
             <element name="party_percentage_absent" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
             <element name="party_percentage_abstain" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
             <element name="party_percentage_male" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • voteDate

        protected java.util.Date voteDate
      • rm

        protected java.lang.String rm
      • ballotType

        protected java.lang.String ballotType
      • label

        protected java.lang.String label
      • avgBornYear

        protected java.math.BigDecimal avgBornYear
      • totalVotes

        protected long totalVotes
      • yesVotes

        protected long yesVotes
      • noVotes

        protected long noVotes
      • abstainVotes

        protected long abstainVotes
      • absentVotes

        protected long absentVotes
      • approved

        protected boolean approved
      • noWinner

        protected boolean noWinner
      • percentageYes

        protected java.math.BigDecimal percentageYes
      • percentageNo

        protected java.math.BigDecimal percentageNo
      • percentageAbsent

        protected java.math.BigDecimal percentageAbsent
      • percentageAbstain

        protected java.math.BigDecimal percentageAbstain
      • percentageMale

        protected java.math.BigDecimal percentageMale
      • partyAvgBornYear

        protected java.math.BigDecimal partyAvgBornYear
      • partyTotalVotes

        protected long partyTotalVotes
      • partyYesVotes

        protected long partyYesVotes
      • partyNoVotes

        protected long partyNoVotes
      • partyAbstainVotes

        protected long partyAbstainVotes
      • partyAbsentVotes

        protected long partyAbsentVotes
      • partyApproved

        protected boolean partyApproved
      • partyNoWinner

        protected boolean partyNoWinner
      • partyPercentageYes

        protected java.math.BigDecimal partyPercentageYes
      • partyPercentageNo

        protected java.math.BigDecimal partyPercentageNo
      • partyPercentageAbsent

        protected java.math.BigDecimal partyPercentageAbsent
      • partyPercentageAbstain

        protected java.math.BigDecimal partyPercentageAbstain
      • partyPercentageMale

        protected java.math.BigDecimal partyPercentageMale
    • Constructor Detail

      • ViewRiksdagenVoteDataBallotPartySummary

        public ViewRiksdagenVoteDataBallotPartySummary()
    • Method Detail

      • getVoteDate

        public java.util.Date getVoteDate()
        Gets the value of the voteDate property.
        Returns:
        possible object is String
      • setVoteDate

        public void setVoteDate​(java.util.Date value)
        Sets the value of the voteDate property.
        Parameters:
        value - allowed object is String
      • getRm

        public java.lang.String getRm()
        Gets the value of the rm property.
        Returns:
        possible object is String
      • setRm

        public void setRm​(java.lang.String value)
        Sets the value of the rm property.
        Parameters:
        value - allowed object is String
      • getBallotType

        public java.lang.String getBallotType()
        Gets the value of the ballotType property.
        Returns:
        possible object is String
      • setBallotType

        public void setBallotType​(java.lang.String value)
        Sets the value of the ballotType property.
        Parameters:
        value - allowed object is String
      • getLabel

        public java.lang.String getLabel()
        Gets the value of the label property.
        Returns:
        possible object is String
      • setLabel

        public void setLabel​(java.lang.String value)
        Sets the value of the label property.
        Parameters:
        value - allowed object is String
      • getAvgBornYear

        public java.math.BigDecimal getAvgBornYear()
        Gets the value of the avgBornYear property.
        Returns:
        possible object is BigDecimal
      • setAvgBornYear

        public void setAvgBornYear​(java.math.BigDecimal value)
        Sets the value of the avgBornYear property.
        Parameters:
        value - allowed object is BigDecimal
      • getTotalVotes

        public long getTotalVotes()
        Gets the value of the totalVotes property.
      • setTotalVotes

        public void setTotalVotes​(long value)
        Sets the value of the totalVotes property.
      • getYesVotes

        public long getYesVotes()
        Gets the value of the yesVotes property.
      • setYesVotes

        public void setYesVotes​(long value)
        Sets the value of the yesVotes property.
      • getNoVotes

        public long getNoVotes()
        Gets the value of the noVotes property.
      • setNoVotes

        public void setNoVotes​(long value)
        Sets the value of the noVotes property.
      • getAbstainVotes

        public long getAbstainVotes()
        Gets the value of the abstainVotes property.
      • setAbstainVotes

        public void setAbstainVotes​(long value)
        Sets the value of the abstainVotes property.
      • getAbsentVotes

        public long getAbsentVotes()
        Gets the value of the absentVotes property.
      • setAbsentVotes

        public void setAbsentVotes​(long value)
        Sets the value of the absentVotes property.
      • isApproved

        public boolean isApproved()
        Gets the value of the approved property.
      • setApproved

        public void setApproved​(boolean value)
        Sets the value of the approved property.
      • isNoWinner

        public boolean isNoWinner()
        Gets the value of the noWinner property.
      • setNoWinner

        public void setNoWinner​(boolean value)
        Sets the value of the noWinner property.
      • getPercentageYes

        public java.math.BigDecimal getPercentageYes()
        Gets the value of the percentageYes property.
        Returns:
        possible object is BigDecimal
      • setPercentageYes

        public void setPercentageYes​(java.math.BigDecimal value)
        Sets the value of the percentageYes property.
        Parameters:
        value - allowed object is BigDecimal
      • getPercentageNo

        public java.math.BigDecimal getPercentageNo()
        Gets the value of the percentageNo property.
        Returns:
        possible object is BigDecimal
      • setPercentageNo

        public void setPercentageNo​(java.math.BigDecimal value)
        Sets the value of the percentageNo property.
        Parameters:
        value - allowed object is BigDecimal
      • getPercentageAbsent

        public java.math.BigDecimal getPercentageAbsent()
        Gets the value of the percentageAbsent property.
        Returns:
        possible object is BigDecimal
      • setPercentageAbsent

        public void setPercentageAbsent​(java.math.BigDecimal value)
        Sets the value of the percentageAbsent property.
        Parameters:
        value - allowed object is BigDecimal
      • getPercentageAbstain

        public java.math.BigDecimal getPercentageAbstain()
        Gets the value of the percentageAbstain property.
        Returns:
        possible object is BigDecimal
      • setPercentageAbstain

        public void setPercentageAbstain​(java.math.BigDecimal value)
        Sets the value of the percentageAbstain property.
        Parameters:
        value - allowed object is BigDecimal
      • getPercentageMale

        public java.math.BigDecimal getPercentageMale()
        Gets the value of the percentageMale property.
        Returns:
        possible object is BigDecimal
      • setPercentageMale

        public void setPercentageMale​(java.math.BigDecimal value)
        Sets the value of the percentageMale property.
        Parameters:
        value - allowed object is BigDecimal
      • getPartyAvgBornYear

        public java.math.BigDecimal getPartyAvgBornYear()
        Gets the value of the partyAvgBornYear property.
        Returns:
        possible object is BigDecimal
      • setPartyAvgBornYear

        public void setPartyAvgBornYear​(java.math.BigDecimal value)
        Sets the value of the partyAvgBornYear property.
        Parameters:
        value - allowed object is BigDecimal
      • getPartyTotalVotes

        public long getPartyTotalVotes()
        Gets the value of the partyTotalVotes property.
      • setPartyTotalVotes

        public void setPartyTotalVotes​(long value)
        Sets the value of the partyTotalVotes property.
      • getPartyYesVotes

        public long getPartyYesVotes()
        Gets the value of the partyYesVotes property.
      • setPartyYesVotes

        public void setPartyYesVotes​(long value)
        Sets the value of the partyYesVotes property.
      • getPartyNoVotes

        public long getPartyNoVotes()
        Gets the value of the partyNoVotes property.
      • setPartyNoVotes

        public void setPartyNoVotes​(long value)
        Sets the value of the partyNoVotes property.
      • getPartyAbstainVotes

        public long getPartyAbstainVotes()
        Gets the value of the partyAbstainVotes property.
      • setPartyAbstainVotes

        public void setPartyAbstainVotes​(long value)
        Sets the value of the partyAbstainVotes property.
      • getPartyAbsentVotes

        public long getPartyAbsentVotes()
        Gets the value of the partyAbsentVotes property.
      • setPartyAbsentVotes

        public void setPartyAbsentVotes​(long value)
        Sets the value of the partyAbsentVotes property.
      • isPartyApproved

        public boolean isPartyApproved()
        Gets the value of the partyApproved property.
      • setPartyApproved

        public void setPartyApproved​(boolean value)
        Sets the value of the partyApproved property.
      • isPartyNoWinner

        public boolean isPartyNoWinner()
        Gets the value of the partyNoWinner property.
      • setPartyNoWinner

        public void setPartyNoWinner​(boolean value)
        Sets the value of the partyNoWinner property.
      • getPartyPercentageYes

        public java.math.BigDecimal getPartyPercentageYes()
        Gets the value of the partyPercentageYes property.
        Returns:
        possible object is BigDecimal
      • setPartyPercentageYes

        public void setPartyPercentageYes​(java.math.BigDecimal value)
        Sets the value of the partyPercentageYes property.
        Parameters:
        value - allowed object is BigDecimal
      • getPartyPercentageNo

        public java.math.BigDecimal getPartyPercentageNo()
        Gets the value of the partyPercentageNo property.
        Returns:
        possible object is BigDecimal
      • setPartyPercentageNo

        public void setPartyPercentageNo​(java.math.BigDecimal value)
        Sets the value of the partyPercentageNo property.
        Parameters:
        value - allowed object is BigDecimal
      • getPartyPercentageAbsent

        public java.math.BigDecimal getPartyPercentageAbsent()
        Gets the value of the partyPercentageAbsent property.
        Returns:
        possible object is BigDecimal
      • setPartyPercentageAbsent

        public void setPartyPercentageAbsent​(java.math.BigDecimal value)
        Sets the value of the partyPercentageAbsent property.
        Parameters:
        value - allowed object is BigDecimal
      • getPartyPercentageAbstain

        public java.math.BigDecimal getPartyPercentageAbstain()
        Gets the value of the partyPercentageAbstain property.
        Returns:
        possible object is BigDecimal
      • setPartyPercentageAbstain

        public void setPartyPercentageAbstain​(java.math.BigDecimal value)
        Sets the value of the partyPercentageAbstain property.
        Parameters:
        value - allowed object is BigDecimal
      • getPartyPercentageMale

        public java.math.BigDecimal getPartyPercentageMale()
        Gets the value of the partyPercentageMale property.
        Returns:
        possible object is BigDecimal
      • setPartyPercentageMale

        public void setPartyPercentageMale​(java.math.BigDecimal value)
        Sets the value of the partyPercentageMale property.
        Parameters:
        value - allowed object is BigDecimal
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public final boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class java.lang.Object