Package 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.
-
-
Constructor Summary
Constructors Constructor Description SelectList()SelectList(String label, String id, String template, String required, String multiple)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChoice(ListChoice c)booleanequals(Object o)Instances which have same id are equal.ArrayListgetChoices()SelectListgetFirstNestedSelector()intgetSize()inthashCode()Override Object.hashCode() to implement equals.booleanhasNestedSelectors()-
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
-
-
-
-
Method Detail
-
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:SelectorInstances which have same id are equal.
-
-