Class VoteDataDto

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

    @Entity(name="VoteDataDto")
    public class VoteDataDto
    extends java.lang.Object
    implements com.hack23.cia.model.common.api.ModelObject
    The Class VoteDataDto.
    See Also:
    Serialized Form
    • Field Detail

      • bankNumber

        protected java.lang.String bankNumber
        The bank number.
      • label

        protected java.lang.String label
        The label.
      • lastName

        protected java.lang.String lastName
        The last name.
      • bornYear

        protected int bornYear
        The born year.
      • firstName

        protected java.lang.String firstName
        The first name.
      • intressentId

        protected java.lang.String intressentId
        The intressent id.
      • place

        protected java.lang.String place
        The place.
      • gender

        protected java.lang.String gender
        The gender.
      • fullName

        protected java.lang.String fullName
        The full name.
      • party

        protected java.lang.String party
        The party.
      • issue

        protected java.lang.String issue
        The issue.
      • rm

        protected java.lang.String rm
        The rm.
      • ballotType

        protected BallotType ballotType
        The ballot type.
      • electoralRegion

        protected java.lang.String electoralRegion
        The electoral region.
      • electoralRegionNumber

        protected java.math.BigInteger electoralRegionNumber
        The electoral region number.
      • ballotId

        protected java.lang.String ballotId
        The ballot id.
      • voteDate

        protected java.lang.String voteDate
        The vote date.
    • Constructor Detail

      • VoteDataDto

        public VoteDataDto()
    • Method Detail

      • getConcern

        public VoteIssueType getConcern()
        Gets the concern.
        Returns:
        the concern
      • setConcern

        public void setConcern​(VoteIssueType value)
        Sets the concern.
        Parameters:
        value - the new concern
      • getBankNumber

        public java.lang.String getBankNumber()
        Gets the bank number.
        Returns:
        the bank number
      • setBankNumber

        public void setBankNumber​(java.lang.String value)
        Sets the bank number.
        Parameters:
        value - the new bank number
      • getLabel

        public java.lang.String getLabel()
        Gets the label.
        Returns:
        the label
      • setLabel

        public void setLabel​(java.lang.String value)
        Sets the label.
        Parameters:
        value - the new label
      • getLastName

        public java.lang.String getLastName()
        Gets the last name.
        Returns:
        the last name
      • setLastName

        public void setLastName​(java.lang.String value)
        Sets the last name.
        Parameters:
        value - the new last name
      • getBornYear

        public int getBornYear()
        Gets the born year.
        Returns:
        the born year
      • setBornYear

        public void setBornYear​(int value)
        Sets the born year.
        Parameters:
        value - the new born year
      • getFirstName

        public java.lang.String getFirstName()
        Gets the first name.
        Returns:
        the first name
      • setFirstName

        public void setFirstName​(java.lang.String value)
        Sets the first name.
        Parameters:
        value - the new first name
      • getIntressentId

        public java.lang.String getIntressentId()
        Gets the intressent id.
        Returns:
        the intressent id
      • setIntressentId

        public void setIntressentId​(java.lang.String value)
        Sets the intressent id.
        Parameters:
        value - the new intressent id
      • getPlace

        public java.lang.String getPlace()
        Gets the place.
        Returns:
        the place
      • setPlace

        public void setPlace​(java.lang.String value)
        Sets the place.
        Parameters:
        value - the new place
      • getGender

        public java.lang.String getGender()
        Gets the gender.
        Returns:
        the gender
      • setGender

        public void setGender​(java.lang.String value)
        Sets the gender.
        Parameters:
        value - the new gender
      • getFullName

        public java.lang.String getFullName()
        Gets the full name.
        Returns:
        the full name
      • setFullName

        public void setFullName​(java.lang.String value)
        Sets the full name.
        Parameters:
        value - the new full name
      • getParty

        public java.lang.String getParty()
        Gets the party.
        Returns:
        the party
      • setParty

        public void setParty​(java.lang.String value)
        Sets the party.
        Parameters:
        value - the new party
      • getIssue

        public java.lang.String getIssue()
        Gets the issue.
        Returns:
        the issue
      • setIssue

        public void setIssue​(java.lang.String value)
        Sets the issue.
        Parameters:
        value - the new issue
      • getRm

        public java.lang.String getRm()
        Gets the rm.
        Returns:
        the rm
      • setRm

        public void setRm​(java.lang.String value)
        Sets the rm.
        Parameters:
        value - the new rm
      • getVote

        public VoteDecision getVote()
        Gets the vote.
        Returns:
        the vote
      • setVote

        public void setVote​(VoteDecision value)
        Sets the vote.
        Parameters:
        value - the new vote
      • getBallotType

        public BallotType getBallotType()
        Gets the ballot type.
        Returns:
        the ballot type
      • setBallotType

        public void setBallotType​(BallotType value)
        Sets the ballot type.
        Parameters:
        value - the new ballot type
      • getElectoralRegion

        public java.lang.String getElectoralRegion()
        Gets the electoral region.
        Returns:
        the electoral region
      • setElectoralRegion

        public void setElectoralRegion​(java.lang.String value)
        Sets the electoral region.
        Parameters:
        value - the new electoral region
      • getElectoralRegionNumber

        public java.math.BigInteger getElectoralRegionNumber()
        Gets the electoral region number.
        Returns:
        the electoral region number
      • setElectoralRegionNumber

        public void setElectoralRegionNumber​(java.math.BigInteger value)
        Sets the electoral region number.
        Parameters:
        value - the new electoral region number
      • getBallotId

        public java.lang.String getBallotId()
        Gets the ballot id.
        Returns:
        the ballot id
      • setBallotId

        public void setBallotId​(java.lang.String value)
        Sets the ballot id.
        Parameters:
        value - the new ballot id
      • getVoteDate

        public java.lang.String getVoteDate()
        Gets the vote date.
        Returns:
        the vote date
      • setVoteDate

        public void setVoteDate​(java.lang.String value)
        Sets the vote date.
        Parameters:
        value - the new vote date
      • withConcern

        public VoteDataDto withConcern​(VoteIssueType value)
        With concern.
        Parameters:
        value - the value
        Returns:
        the vote data dto
      • withBankNumber

        public VoteDataDto withBankNumber​(java.lang.String value)
        With bank number.
        Parameters:
        value - the value
        Returns:
        the vote data dto
      • withLabel

        public VoteDataDto withLabel​(java.lang.String value)
        With label.
        Parameters:
        value - the value
        Returns:
        the vote data dto
      • withLastName

        public VoteDataDto withLastName​(java.lang.String value)
        With last name.
        Parameters:
        value - the value
        Returns:
        the vote data dto
      • withBornYear

        public VoteDataDto withBornYear​(int value)
        With born year.
        Parameters:
        value - the value
        Returns:
        the vote data dto
      • withFirstName

        public VoteDataDto withFirstName​(java.lang.String value)
        With first name.
        Parameters:
        value - the value
        Returns:
        the vote data dto
      • withIntressentId

        public VoteDataDto withIntressentId​(java.lang.String value)
        With intressent id.
        Parameters:
        value - the value
        Returns:
        the vote data dto
      • withPlace

        public VoteDataDto withPlace​(java.lang.String value)
        With place.
        Parameters:
        value - the value
        Returns:
        the vote data dto
      • withGender

        public VoteDataDto withGender​(java.lang.String value)
        With gender.
        Parameters:
        value - the value
        Returns:
        the vote data dto
      • withFullName

        public VoteDataDto withFullName​(java.lang.String value)
        With full name.
        Parameters:
        value - the value
        Returns:
        the vote data dto
      • withParty

        public VoteDataDto withParty​(java.lang.String value)
        With party.
        Parameters:
        value - the value
        Returns:
        the vote data dto
      • withIssue

        public VoteDataDto withIssue​(java.lang.String value)
        With issue.
        Parameters:
        value - the value
        Returns:
        the vote data dto
      • withRm

        public VoteDataDto withRm​(java.lang.String value)
        With rm.
        Parameters:
        value - the value
        Returns:
        the vote data dto
      • withVote

        public VoteDataDto withVote​(VoteDecision value)
        With vote.
        Parameters:
        value - the value
        Returns:
        the vote data dto
      • withBallotType

        public VoteDataDto withBallotType​(BallotType value)
        With ballot type.
        Parameters:
        value - the value
        Returns:
        the vote data dto
      • withElectoralRegion

        public VoteDataDto withElectoralRegion​(java.lang.String value)
        With electoral region.
        Parameters:
        value - the value
        Returns:
        the vote data dto
      • withElectoralRegionNumber

        public VoteDataDto withElectoralRegionNumber​(java.math.BigInteger value)
        With electoral region number.
        Parameters:
        value - the value
        Returns:
        the vote data dto
      • withBallotId

        public VoteDataDto withBallotId​(java.lang.String value)
        With ballot id.
        Parameters:
        value - the value
        Returns:
        the vote data dto
      • withVoteDate

        public VoteDataDto withVoteDate​(java.lang.String value)
        With vote date.
        Parameters:
        value - the value
        Returns:
        the vote data dto
      • toString

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

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

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