Class VoteDataEmbeddedId

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

    @Embeddable
    public class VoteDataEmbeddedId
    extends java.lang.Object
    implements com.hack23.cia.model.common.api.ModelObject
    The Class VoteDataEmbeddedId.
    See Also:
    Serialized Form
    • Field Detail

      • issue

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

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

        protected java.lang.String intressentId
        The intressent id.
    • Constructor Detail

      • VoteDataEmbeddedId

        public VoteDataEmbeddedId()
    • Method Detail

      • 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
      • 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
      • 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
      • getConcern

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

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

        public VoteDataEmbeddedId withIssue​(java.lang.String value)
        With issue.
        Parameters:
        value - the value
        Returns:
        the vote data embedded id
      • withBallotId

        public VoteDataEmbeddedId withBallotId​(java.lang.String value)
        With ballot id.
        Parameters:
        value - the value
        Returns:
        the vote data embedded id
      • withIntressentId

        public VoteDataEmbeddedId withIntressentId​(java.lang.String value)
        With intressent id.
        Parameters:
        value - the value
        Returns:
        the vote data embedded id
      • withConcern

        public VoteDataEmbeddedId withConcern​(VoteIssueType value)
        With concern.
        Parameters:
        value - the value
        Returns:
        the vote data embedded id
      • 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