Class ViewRiksdagenVoteDataBallotSummary

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

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

    Java class for ViewRiksdagenVoteDataBallotSummary complex type.

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

     <complexType name="ViewRiksdagenVoteDataBallotSummary">
       <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}RiksdagenVoteDataBallotEmbeddedId"/>
             <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"/>
           </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
    • Constructor Detail

      • ViewRiksdagenVoteDataBallotSummary

        public ViewRiksdagenVoteDataBallotSummary()
    • 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
      • 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