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 void
addChoice(ListChoice c)
boolean
equals(Object o)
Instances which have same id are equal.ArrayList
getChoices()
SelectList
getFirstNestedSelector()
int
getSize()
int
hashCode()
Override Object.hashCode() to implement equals.boolean
hasNestedSelectors()
-
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:Selector
Instances which have same id are equal.
-
-