thredds.catalog.query
Class ListChoice
java.lang.Object
thredds.catalog.query.ListChoice
- All Implemented Interfaces:
- Choice
- Direct Known Subclasses:
- Station
public class ListChoice
- extends Object
- implements Choice
Implementation of a thredds query choice element.
- Author:
- john caron
ListChoice
public ListChoice(Selector parent,
String name,
String value,
String description)
- Construct from fields in XML catalog.
- Parameters:
parent
- parent selectorname
- choice name - display to uservalue
- choice value - send to server
getName
public String getName()
getValue
public String getValue()
- Specified by:
getValue
in interface Choice
getParentSelector
public Selector getParentSelector()
getTemplate
public String getTemplate()
addNestedSelector
public void addNestedSelector(SelectList s)
getNestedSelectors
public ArrayList getNestedSelectors()
hasNestedSelectors
public boolean hasNestedSelectors()
setDescription
public void setDescription(InvDocumentation desc)
getDescription
public InvDocumentation getDescription()
toString
public String toString()
- Specified by:
toString
in interface Choice
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Override Object.hashCode() to implement equals.
- Overrides:
hashCode
in class Object
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.