Class AgainstProposalData

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

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

      • numberValue

        protected java.math.BigInteger numberValue
        The number value.
      • header

        protected java.lang.String header
        The header.
      • proposalType

        protected java.lang.String proposalType
        The proposal type.
      • parties

        protected java.lang.String parties
        The parties.
      • proposalIssueNumber

        protected java.math.BigInteger proposalIssueNumber
        The proposal issue number.
      • hjid

        protected java.lang.Long hjid
        The hjid.
    • Constructor Detail

      • AgainstProposalData

        public AgainstProposalData()
    • Method Detail

      • getNumberValue

        public java.math.BigInteger getNumberValue()
        Gets the number value.
        Returns:
        the number value
      • setNumberValue

        public void setNumberValue​(java.math.BigInteger value)
        Sets the number value.
        Parameters:
        value - the new number value
      • getHeader

        public java.lang.String getHeader()
        Gets the header.
        Returns:
        the header
      • setHeader

        public void setHeader​(java.lang.String value)
        Sets the header.
        Parameters:
        value - the new header
      • getProposalType

        public java.lang.String getProposalType()
        Gets the proposal type.
        Returns:
        the proposal type
      • setProposalType

        public void setProposalType​(java.lang.String value)
        Sets the proposal type.
        Parameters:
        value - the new proposal type
      • getParties

        public java.lang.String getParties()
        Gets the parties.
        Returns:
        the parties
      • setParties

        public void setParties​(java.lang.String value)
        Sets the parties.
        Parameters:
        value - the new parties
      • getProposalIssueNumber

        public java.math.BigInteger getProposalIssueNumber()
        Gets the proposal issue number.
        Returns:
        the proposal issue number
      • setProposalIssueNumber

        public void setProposalIssueNumber​(java.math.BigInteger value)
        Sets the proposal issue number.
        Parameters:
        value - the new proposal issue number
      • withNumberValue

        public AgainstProposalData withNumberValue​(java.math.BigInteger value)
        With number value.
        Parameters:
        value - the value
        Returns:
        the against proposal data
      • withHeader

        public AgainstProposalData withHeader​(java.lang.String value)
        With header.
        Parameters:
        value - the value
        Returns:
        the against proposal data
      • withProposalType

        public AgainstProposalData withProposalType​(java.lang.String value)
        With proposal type.
        Parameters:
        value - the value
        Returns:
        the against proposal data
      • withParties

        public AgainstProposalData withParties​(java.lang.String value)
        With parties.
        Parameters:
        value - the value
        Returns:
        the against proposal data
      • withProposalIssueNumber

        public AgainstProposalData withProposalIssueNumber​(java.math.BigInteger value)
        With proposal issue number.
        Parameters:
        value - the value
        Returns:
        the against proposal data
      • toString

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

        public java.lang.Long getHjid()
        Gets the hjid.
        Returns:
        the hjid
      • setHjid

        public void setHjid​(java.lang.Long value)
        Sets the hjid.
        Parameters:
        value - the new hjid
      • 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