thredds.catalog.query
Class SelectRangeDate

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

public class SelectRangeDate
extends Selector

Implementation of a DQC select range date.

Author:
john caron

Field Summary
 
Fields inherited from class thredds.catalog.query.Selector
children, compound, desc, id, isUsed, multiple, required, template, title
 
Constructor Summary
SelectRangeDate(String start, String end, String duration, String resolution, String selectType)
          Construct from fields in XML catalog.
 
Method Summary
 boolean equals(Object o)
          Instances which have same id are equal.
 String getDuration()
           
 String getEnd()
           
 String getResolution()
           
 String getSelectType()
           
 String getStart()
           
 int hashCode()
          Override Object.hashCode() to implement equals.
 
Methods inherited from class thredds.catalog.query.Selector
appendQuery, getDescription, getId, 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

SelectRangeDate

public SelectRangeDate(String start,
                       String end,
                       String duration,
                       String resolution,
                       String selectType)
Construct from fields in XML catalog.

See Also:
Selector
Method Detail

getStart

public String getStart()

getEnd

public String getEnd()

getDuration

public String getDuration()

getResolution

public String getResolution()

getSelectType

public String getSelectType()
Overrides:
getSelectType in class Selector

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.