thredds.catalog.query
Class SelectList
java.lang.Object
thredds.catalog.query.Selector
thredds.catalog.query.SelectList
public class SelectList
- extends Selector
Implementation of a DQC list selector element.
A SelectList contains a list of Objects of type ListChoice.
- Author:
- john caron
Methods inherited from class thredds.catalog.query.Selector |
appendQuery, getDescription, getId, getSelectType, getTemplate, getTitle, isMultiple, isRequired, isUsed, setCompoundSelectors, setDescription, setId, setMultiple, setRequired, setTemplate, setTitle, setUsed |
SelectList
public SelectList()
SelectList
public SelectList(String label,
String id,
String template,
String required,
String multiple)
addChoice
public void addChoice(ListChoice c)
hasNestedSelectors
public boolean hasNestedSelectors()
getFirstNestedSelector
public SelectList getFirstNestedSelector()
getChoices
public ArrayList getChoices()
getSize
public int getSize()
equals
public boolean equals(Object o)
- Description copied from class:
Selector
- Instances which have same id are equal.
- Overrides:
equals
in class Selector
hashCode
public int hashCode()
- Override Object.hashCode() to implement equals.
- Overrides:
hashCode
in class Selector
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.