Class Option

  • All Implemented Interfaces:

    @Immutable() 
    public final class Option
    
                        

    The Option object represents an answer option in a poll.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String id
      private final String text
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getId() The unique identifier of the option.
      final String getText() The text of the option.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait