Class ViewRiksdagenVoteDataBallotSummary
- java.lang.Object
-
- com.hack23.cia.model.internal.application.data.committee.impl.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 Summary
Fields Modifier and Type Field Description protected long
absentVotes
protected long
abstainVotes
protected boolean
approved
protected java.math.BigDecimal
avgBornYear
protected java.lang.String
ballotType
protected RiksdagenVoteDataBallotEmbeddedId
embeddedId
protected java.lang.String
label
protected long
noVotes
protected boolean
noWinner
protected java.math.BigDecimal
percentageAbsent
protected java.math.BigDecimal
percentageAbstain
protected java.math.BigDecimal
percentageMale
protected java.math.BigDecimal
percentageNo
protected java.math.BigDecimal
percentageYes
protected java.lang.String
rm
protected long
totalVotes
protected java.util.Date
voteDate
protected long
yesVotes
-
Constructor Summary
Constructors Constructor Description ViewRiksdagenVoteDataBallotSummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
long
getAbsentVotes()
Gets the value of the absentVotes property.long
getAbstainVotes()
Gets the value of the abstainVotes property.java.math.BigDecimal
getAvgBornYear()
Gets the value of the avgBornYear property.java.lang.String
getBallotType()
Gets the value of the ballotType property.RiksdagenVoteDataBallotEmbeddedId
getEmbeddedId()
Gets the value of the embeddedId property.java.lang.String
getLabel()
Gets the value of the label property.long
getNoVotes()
Gets the value of the noVotes property.java.math.BigDecimal
getPercentageAbsent()
Gets the value of the percentageAbsent property.java.math.BigDecimal
getPercentageAbstain()
Gets the value of the percentageAbstain property.java.math.BigDecimal
getPercentageMale()
Gets the value of the percentageMale property.java.math.BigDecimal
getPercentageNo()
Gets the value of the percentageNo property.java.math.BigDecimal
getPercentageYes()
Gets the value of the percentageYes property.java.lang.String
getRm()
Gets the value of the rm property.long
getTotalVotes()
Gets the value of the totalVotes property.java.util.Date
getVoteDate()
Gets the value of the voteDate property.long
getYesVotes()
Gets the value of the yesVotes property.int
hashCode()
boolean
isApproved()
Gets the value of the approved property.boolean
isNoWinner()
Gets the value of the noWinner property.void
setAbsentVotes(long value)
Sets the value of the absentVotes property.void
setAbstainVotes(long value)
Sets the value of the abstainVotes property.void
setApproved(boolean value)
Sets the value of the approved property.void
setAvgBornYear(java.math.BigDecimal value)
Sets the value of the avgBornYear property.void
setBallotType(java.lang.String value)
Sets the value of the ballotType property.void
setEmbeddedId(RiksdagenVoteDataBallotEmbeddedId value)
Sets the value of the embeddedId property.void
setLabel(java.lang.String value)
Sets the value of the label property.void
setNoVotes(long value)
Sets the value of the noVotes property.void
setNoWinner(boolean value)
Sets the value of the noWinner property.void
setPercentageAbsent(java.math.BigDecimal value)
Sets the value of the percentageAbsent property.void
setPercentageAbstain(java.math.BigDecimal value)
Sets the value of the percentageAbstain property.void
setPercentageMale(java.math.BigDecimal value)
Sets the value of the percentageMale property.void
setPercentageNo(java.math.BigDecimal value)
Sets the value of the percentageNo property.void
setPercentageYes(java.math.BigDecimal value)
Sets the value of the percentageYes property.void
setRm(java.lang.String value)
Sets the value of the rm property.void
setTotalVotes(long value)
Sets the value of the totalVotes property.void
setVoteDate(java.util.Date value)
Sets the value of the voteDate property.void
setYesVotes(long value)
Sets the value of the yesVotes property.java.lang.String
toString()
ViewRiksdagenVoteDataBallotSummary
withAbsentVotes(long value)
ViewRiksdagenVoteDataBallotSummary
withAbstainVotes(long value)
ViewRiksdagenVoteDataBallotSummary
withApproved(boolean value)
ViewRiksdagenVoteDataBallotSummary
withAvgBornYear(java.math.BigDecimal value)
ViewRiksdagenVoteDataBallotSummary
withBallotType(java.lang.String value)
ViewRiksdagenVoteDataBallotSummary
withEmbeddedId(RiksdagenVoteDataBallotEmbeddedId value)
ViewRiksdagenVoteDataBallotSummary
withLabel(java.lang.String value)
ViewRiksdagenVoteDataBallotSummary
withNoVotes(long value)
ViewRiksdagenVoteDataBallotSummary
withNoWinner(boolean value)
ViewRiksdagenVoteDataBallotSummary
withPercentageAbsent(java.math.BigDecimal value)
ViewRiksdagenVoteDataBallotSummary
withPercentageAbstain(java.math.BigDecimal value)
ViewRiksdagenVoteDataBallotSummary
withPercentageMale(java.math.BigDecimal value)
ViewRiksdagenVoteDataBallotSummary
withPercentageNo(java.math.BigDecimal value)
ViewRiksdagenVoteDataBallotSummary
withPercentageYes(java.math.BigDecimal value)
ViewRiksdagenVoteDataBallotSummary
withRm(java.lang.String value)
ViewRiksdagenVoteDataBallotSummary
withTotalVotes(long value)
ViewRiksdagenVoteDataBallotSummary
withVoteDate(java.util.Date value)
ViewRiksdagenVoteDataBallotSummary
withYesVotes(long value)
-
-
-
Field Detail
-
embeddedId
protected RiksdagenVoteDataBallotEmbeddedId embeddedId
-
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
-
-
Method Detail
-
getEmbeddedId
public RiksdagenVoteDataBallotEmbeddedId getEmbeddedId()
Gets the value of the embeddedId property.- Returns:
- possible object is
RiksdagenVoteDataBallotEmbeddedId
-
setEmbeddedId
public void setEmbeddedId(RiksdagenVoteDataBallotEmbeddedId value)
Sets the value of the embeddedId property.- Parameters:
value
- allowed object isRiksdagenVoteDataBallotEmbeddedId
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
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 isBigDecimal
-
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 isBigDecimal
-
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 isBigDecimal
-
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 isBigDecimal
-
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 isBigDecimal
-
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 isBigDecimal
-
withEmbeddedId
public ViewRiksdagenVoteDataBallotSummary withEmbeddedId(RiksdagenVoteDataBallotEmbeddedId value)
-
withVoteDate
public ViewRiksdagenVoteDataBallotSummary withVoteDate(java.util.Date value)
-
withRm
public ViewRiksdagenVoteDataBallotSummary withRm(java.lang.String value)
-
withBallotType
public ViewRiksdagenVoteDataBallotSummary withBallotType(java.lang.String value)
-
withLabel
public ViewRiksdagenVoteDataBallotSummary withLabel(java.lang.String value)
-
withAvgBornYear
public ViewRiksdagenVoteDataBallotSummary withAvgBornYear(java.math.BigDecimal value)
-
withTotalVotes
public ViewRiksdagenVoteDataBallotSummary withTotalVotes(long value)
-
withYesVotes
public ViewRiksdagenVoteDataBallotSummary withYesVotes(long value)
-
withNoVotes
public ViewRiksdagenVoteDataBallotSummary withNoVotes(long value)
-
withAbstainVotes
public ViewRiksdagenVoteDataBallotSummary withAbstainVotes(long value)
-
withAbsentVotes
public ViewRiksdagenVoteDataBallotSummary withAbsentVotes(long value)
-
withApproved
public ViewRiksdagenVoteDataBallotSummary withApproved(boolean value)
-
withNoWinner
public ViewRiksdagenVoteDataBallotSummary withNoWinner(boolean value)
-
withPercentageYes
public ViewRiksdagenVoteDataBallotSummary withPercentageYes(java.math.BigDecimal value)
-
withPercentageNo
public ViewRiksdagenVoteDataBallotSummary withPercentageNo(java.math.BigDecimal value)
-
withPercentageAbsent
public ViewRiksdagenVoteDataBallotSummary withPercentageAbsent(java.math.BigDecimal value)
-
withPercentageAbstain
public ViewRiksdagenVoteDataBallotSummary withPercentageAbstain(java.math.BigDecimal value)
-
withPercentageMale
public ViewRiksdagenVoteDataBallotSummary withPercentageMale(java.math.BigDecimal value)
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public final boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-