thredds.catalog.query
Class SelectService

java.lang.Object
  extended by thredds.catalog.query.Selector
      extended by thredds.catalog.query.SelectService

public class SelectService
extends Selector

Implementation of a DQC service selector element. A SelectService contains a list of Objects of type ServiceChoice.

Author:
john caron

Nested Class Summary
 class SelectService.ServiceChoice
           
 
Field Summary
 
Fields inherited from class thredds.catalog.query.Selector
children, compound, desc, id, isUsed, multiple, required, template, title
 
Constructor Summary
SelectService(String id, String title)
          Construct from fields in XML catalog.
 
Method Summary
 void addServiceChoice(String service, String title, String dataFormat, String returns, String value)
           
 boolean equals(Object o)
          SelectService with same values are equal
 ArrayList getChoices()
           
 int getSize()
           
 int hashCode()
          Override Object.hashCode() to implement equals.
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectService

public SelectService(String id,
                     String title)
Construct from fields in XML catalog.

See Also:
Selector
Method Detail

addServiceChoice

public void addServiceChoice(String service,
                             String title,
                             String dataFormat,
                             String returns,
                             String value)

getChoices

public ArrayList getChoices()

getSize

public int getSize()

equals

public boolean equals(Object o)
SelectService with same values 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.