Class ListResult

  • All Implemented Interfaces:
    PromptResultItemIF

    public class ListResult
    extends java.lang.Object
    implements PromptResultItemIF
    Result of a list choice. Holds the id of the selected item.
    • Constructor Summary

      Constructors 
      Constructor Description
      ListResult​(java.lang.String selectedId)
      Default constructor.
    • Constructor Detail

      • ListResult

        public ListResult​(java.lang.String selectedId)
        Default constructor.
        Parameters:
        selectedId - id of selected item.
    • Method Detail

      • getSelectedId

        public java.lang.String getSelectedId()
        Returns the ID of the selected item.
        Returns:
        id of selected item
      • toString

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