Class ViewRiksdagenPartyBallotSupportAnnualSummary
- java.lang.Object
-
- com.hack23.cia.model.internal.application.data.party.impl.ViewRiksdagenPartyBallotSupportAnnualSummary
-
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject
,java.io.Serializable
@Entity(name="ViewRiksdagenPartyBallotSupportAnnualSummary") public class ViewRiksdagenPartyBallotSupportAnnualSummary extends java.lang.Object implements com.hack23.cia.model.common.api.ModelObject
Java class for ViewRiksdagenPartyBallotSupportAnnualSummary complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ViewRiksdagenPartyBallotSupportAnnualSummary"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="embeddedId" type="{http://party.data.application.internal.model.cia.hack23.com/impl}ViewRiksdagenPartyBallotSupportAnnualSummaryEmbeddedId"/> <element name="disagre_count" type="{http://www.w3.org/2001/XMLSchema}long"/> <element name="agree_count" type="{http://www.w3.org/2001/XMLSchema}long"/> <element name="disagree_percentage" type="{http://www.w3.org/2001/XMLSchema}long"/> <element name="total_ballots" type="{http://www.w3.org/2001/XMLSchema}long"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected long
agreeCount
protected long
disagreCount
protected long
disagreePercentage
protected ViewRiksdagenPartyBallotSupportAnnualSummaryEmbeddedId
embeddedId
protected long
totalBallots
-
Constructor Summary
Constructors Constructor Description ViewRiksdagenPartyBallotSupportAnnualSummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
long
getAgreeCount()
Gets the value of the agreeCount property.long
getDisagreCount()
Gets the value of the disagreCount property.long
getDisagreePercentage()
Gets the value of the disagreePercentage property.ViewRiksdagenPartyBallotSupportAnnualSummaryEmbeddedId
getEmbeddedId()
Gets the value of the embeddedId property.long
getTotalBallots()
Gets the value of the totalBallots property.int
hashCode()
void
setAgreeCount(long value)
Sets the value of the agreeCount property.void
setDisagreCount(long value)
Sets the value of the disagreCount property.void
setDisagreePercentage(long value)
Sets the value of the disagreePercentage property.void
setEmbeddedId(ViewRiksdagenPartyBallotSupportAnnualSummaryEmbeddedId value)
Sets the value of the embeddedId property.void
setTotalBallots(long value)
Sets the value of the totalBallots property.java.lang.String
toString()
ViewRiksdagenPartyBallotSupportAnnualSummary
withAgreeCount(long value)
ViewRiksdagenPartyBallotSupportAnnualSummary
withDisagreCount(long value)
ViewRiksdagenPartyBallotSupportAnnualSummary
withDisagreePercentage(long value)
ViewRiksdagenPartyBallotSupportAnnualSummary
withEmbeddedId(ViewRiksdagenPartyBallotSupportAnnualSummaryEmbeddedId value)
ViewRiksdagenPartyBallotSupportAnnualSummary
withTotalBallots(long value)
-
-
-
Field Detail
-
embeddedId
protected ViewRiksdagenPartyBallotSupportAnnualSummaryEmbeddedId embeddedId
-
disagreCount
protected long disagreCount
-
agreeCount
protected long agreeCount
-
disagreePercentage
protected long disagreePercentage
-
totalBallots
protected long totalBallots
-
-
Method Detail
-
getEmbeddedId
public ViewRiksdagenPartyBallotSupportAnnualSummaryEmbeddedId getEmbeddedId()
Gets the value of the embeddedId property.- Returns:
- possible object is
ViewRiksdagenPartyBallotSupportAnnualSummaryEmbeddedId
-
setEmbeddedId
public void setEmbeddedId(ViewRiksdagenPartyBallotSupportAnnualSummaryEmbeddedId value)
Sets the value of the embeddedId property.- Parameters:
value
- allowed object isViewRiksdagenPartyBallotSupportAnnualSummaryEmbeddedId
-
getDisagreCount
public long getDisagreCount()
Gets the value of the disagreCount property.
-
setDisagreCount
public void setDisagreCount(long value)
Sets the value of the disagreCount property.
-
getAgreeCount
public long getAgreeCount()
Gets the value of the agreeCount property.
-
setAgreeCount
public void setAgreeCount(long value)
Sets the value of the agreeCount property.
-
getDisagreePercentage
public long getDisagreePercentage()
Gets the value of the disagreePercentage property.
-
setDisagreePercentage
public void setDisagreePercentage(long value)
Sets the value of the disagreePercentage property.
-
getTotalBallots
public long getTotalBallots()
Gets the value of the totalBallots property.
-
setTotalBallots
public void setTotalBallots(long value)
Sets the value of the totalBallots property.
-
withEmbeddedId
public ViewRiksdagenPartyBallotSupportAnnualSummary withEmbeddedId(ViewRiksdagenPartyBallotSupportAnnualSummaryEmbeddedId value)
-
withDisagreCount
public ViewRiksdagenPartyBallotSupportAnnualSummary withDisagreCount(long value)
-
withAgreeCount
public ViewRiksdagenPartyBallotSupportAnnualSummary withAgreeCount(long value)
-
withDisagreePercentage
public ViewRiksdagenPartyBallotSupportAnnualSummary withDisagreePercentage(long value)
-
withTotalBallots
public ViewRiksdagenPartyBallotSupportAnnualSummary withTotalBallots(long 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
-
-