Package nxt.voting

Class PollCreationAttachment

All Implemented Interfaces:
Appendix, Attachment

public final class PollCreationAttachment extends Attachment.AbstractAttachment
  • Constructor Details

  • Method Details

    • getMySize

      protected int getMySize()
      Specified by:
      getMySize in class Appendix.AbstractAppendix
    • putMyBytes

      protected void putMyBytes(ByteBuffer buffer)
      Specified by:
      putMyBytes in class Appendix.AbstractAppendix
    • putMyJSON

      protected void putMyJSON(org.json.simple.JSONObject attachment)
      Specified by:
      putMyJSON in class Appendix.AbstractAppendix
    • getTransactionType

      public TransactionType getTransactionType()
    • getPollName

      public String getPollName()
    • getPollDescription

      public String getPollDescription()
    • getFinishHeight

      public int getFinishHeight()
    • getPollOptions

      public String[] getPollOptions()
    • getMinNumberOfOptions

      public byte getMinNumberOfOptions()
    • getMaxNumberOfOptions

      public byte getMaxNumberOfOptions()
    • getMinRangeValue

      public byte getMinRangeValue()
    • getMaxRangeValue

      public byte getMaxRangeValue()
    • getVoteWeighting

      public VoteWeighting getVoteWeighting()