Class GovernanceTally.TallyData

  • All Implemented Interfaces:
    IVote
    Enclosing class:
    GovernanceTally

    public static class GovernanceTally.TallyData
    extends java.lang.Object
    implements IVote
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.klaytn.caver.methods.response.IVote

        IVote.VoteItem
    • Constructor Summary

      Constructors 
      Constructor Description
      TallyData()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Float getApprovalPercentage()
      Getter function for approvalPercentage.
      java.lang.String getKey()
      Getter function for key
      java.lang.Object getValue()
      Getter function for value.
      void setApprovalPercentage​(java.lang.Float approvalPercentage)
      Setter function for approvalPercentage
      void setKey​(java.lang.String key)
      Setter function for key
      void setValue​(java.lang.Object value)
      Setter function for value
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TallyData

        public TallyData()
    • Method Detail

      • getKey

        public java.lang.String getKey()
        Getter function for key
        Specified by:
        getKey in interface IVote
        Returns:
        String
      • setKey

        public void setKey​(java.lang.String key)
        Setter function for key
        Parameters:
        key - The value of key field.
      • getValue

        public java.lang.Object getValue()
        Getter function for value.
        Specified by:
        getValue in interface IVote
        Returns:
        Object
      • setValue

        public void setValue​(java.lang.Object value)
        Setter function for value
        Parameters:
        value - The value of value field.
      • getApprovalPercentage

        public java.lang.Float getApprovalPercentage()
        Getter function for approvalPercentage.
        Returns:
        Float
      • setApprovalPercentage

        public void setApprovalPercentage​(java.lang.Float approvalPercentage)
        Setter function for approvalPercentage
        Parameters:
        approvalPercentage - The value of approvalPercentage field.
      • toString

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