Class GovernanceMyVotes.MyVote

  • All Implemented Interfaces:
    IVote
    Enclosing class:
    GovernanceMyVotes

    public static class GovernanceMyVotes.MyVote
    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
      MyVote()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.math.BigInteger getBlockNum()
      Getter function for blockNum
      java.lang.String getKey()
      Getter function for key.
      java.lang.Object getValue()
      Getter function for value.
      boolean isCasted()
      Getter function for catsed.
      void setBlockNum​(java.math.BigInteger blockNum)
      Setter function for blockNum
      void setCasted​(boolean casted)
      Setter function for casted.
      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

      • MyVote

        public MyVote()
    • Method Detail

      • getBlockNum

        public java.math.BigInteger getBlockNum()
        Getter function for blockNum
        Returns:
        BigInteger
      • setBlockNum

        public void setBlockNum​(java.math.BigInteger blockNum)
        Setter function for blockNum
        Parameters:
        blockNum - The block number in MyVote
      • isCasted

        public boolean isCasted()
        Getter function for catsed.
        Returns:
        boolean
      • setCasted

        public void setCasted​(boolean casted)
        Setter function for casted.
        Parameters:
        casted - The value of casted in MyVote.
      • 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 in MyVote.
      • 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 in MyVote.
      • toString

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