Class ListChoice

  • All Implemented Interfaces:
    Choice
    Direct Known Subclasses:
    Station

    public class ListChoice
    extends Object
    implements Choice
    Implementation of a thredds query choice element.
    • Constructor Detail

      • ListChoice

        public ListChoice​(Selector parent,
                          String name,
                          String value,
                          String description)
        Construct from fields in XML catalog.
        Parameters:
        parent - parent selector
        name - choice name - display to user
        value - choice value - send to server
    • Method Detail

      • getName

        public String getName()
      • getParentSelector

        public Selector getParentSelector()
      • getTemplate

        public String getTemplate()
      • addNestedSelector

        public void addNestedSelector​(SelectList s)
      • getNestedSelectors

        public ArrayList getNestedSelectors()
      • hasNestedSelectors

        public boolean hasNestedSelectors()
      • hashCode

        public int hashCode()
        Override Object.hashCode() to implement equals.
        Overrides:
        hashCode in class Object