Package thredds.server.ncss.params
Class NcssParamsBean
- java.lang.Object
-
- thredds.server.ncss.params.NcssParamsBean
-
- Direct Known Subclasses:
NcssGridParamsBean,NcssPointParamsBean
@TimeParamsConstraint public class NcssParamsBean extends Object
Ncss Parameters superclass, have common parameters for grid and point- Since:
- 10/5/13
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringacceptprotected ucar.nc2.time.CalendarDatedateprotected ucar.nc2.time.CalendarDateRangedateRangeprotected Doubleeastprotected Doublelatitudeprotected Doublelongitudeprotected Doublenorthprotected Doublesouthprotected Stringtemporalprotected Stringtimeprotected Stringtime_durationprotected Stringtime_endprotected Stringtime_startprotected Stringtime_windowprotected ucar.nc2.units.TimeDurationtimeWindowprotected List<String>varprotected Doublewest
-
Constructor Summary
Constructors Constructor Description NcssParamsBean()NcssParamsBean(NcssParamsBean from)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAccept()ucar.nc2.time.CalendarDateRangegetCalendarDateRange(ucar.nc2.time.Calendar cal)DoublegetEast()DoublegetLatitude()ucar.unidata.geoloc.LatLonRectgetLatLonBoundingBox()DoublegetLongitude()DoublegetNorth()ucar.nc2.time.CalendarDategetRequestedDate(ucar.nc2.time.Calendar cal)DoublegetSouth()StringgetTemporal()StringgetTime()StringgetTime_duration()StringgetTime_end()StringgetTime_start()StringgetTime_window()ucar.nc2.units.TimeDurationgetTimeWindow()List<String>getVar()DoublegetWest()booleanhasLatLonBB()booleanhasLatLonPoint()booleanintersectsTime(ucar.nc2.time.CalendarDateRange have, Formatter errs)booleanisAllTimes()booleanisPresentTime()ucar.nc2.time.CalendarDateRangemakeCalendarDateRange(ucar.nc2.time.Calendar cal)ucar.nc2.units.TimeDurationparseTimeDuration()voidsetAccept(String accept)voidsetDate(ucar.nc2.time.CalendarDate date)voidsetDateRange(ucar.nc2.time.CalendarDateRange dateRange)voidsetEast(Double east)voidsetLatitude(Double latitude)voidsetLongitude(Double longitude)voidsetNorth(Double north)voidsetSouth(Double south)voidsetTemporal(String temporal)voidsetTime(String time)voidsetTime_duration(String time_duration)voidsetTime_end(String time_end)voidsetTime_start(String time_start)voidsetTime_window(String time_window)voidsetTimeWindow(ucar.nc2.units.TimeDuration timeWindow)voidsetVar(List<String> var)voidsetWest(Double west)
-
-
-
Field Detail
-
accept
protected String accept
-
var
@VarParamConstraint protected List<String> var
-
time_start
protected String time_start
-
time_end
protected String time_end
-
time_duration
protected String time_duration
-
time
protected String time
-
temporal
protected String temporal
-
time_window
protected String time_window
-
north
protected Double north
-
south
protected Double south
-
east
protected Double east
-
west
protected Double west
-
latitude
protected Double latitude
-
longitude
protected Double longitude
-
timeWindow
protected ucar.nc2.units.TimeDuration timeWindow
-
date
protected ucar.nc2.time.CalendarDate date
-
dateRange
protected ucar.nc2.time.CalendarDateRange dateRange
-
-
Constructor Detail
-
NcssParamsBean
public NcssParamsBean()
-
NcssParamsBean
public NcssParamsBean(NcssParamsBean from)
-
-
Method Detail
-
getAccept
public String getAccept()
-
setAccept
public void setAccept(String accept)
-
getTime_start
public String getTime_start()
-
setTime_start
public void setTime_start(String time_start)
-
getTime_end
public String getTime_end()
-
setTime_end
public void setTime_end(String time_end)
-
getTime_duration
public String getTime_duration()
-
setTime_duration
public void setTime_duration(String time_duration)
-
getTime
public String getTime()
-
setTime
public void setTime(String time)
-
getTemporal
public String getTemporal()
-
setTemporal
public void setTemporal(String temporal)
-
getTime_window
public String getTime_window()
-
setTime_window
public void setTime_window(String time_window)
-
getNorth
public Double getNorth()
-
setNorth
public void setNorth(Double north)
-
getSouth
public Double getSouth()
-
setSouth
public void setSouth(Double south)
-
getEast
public Double getEast()
-
setEast
public void setEast(Double east)
-
getWest
public Double getWest()
-
setWest
public void setWest(Double west)
-
getLatitude
public Double getLatitude()
-
setLatitude
public void setLatitude(Double latitude)
-
getLongitude
public Double getLongitude()
-
setLongitude
public void setLongitude(Double longitude)
-
hasLatLonPoint
public boolean hasLatLonPoint()
-
hasLatLonBB
public boolean hasLatLonBB()
-
getLatLonBoundingBox
public ucar.unidata.geoloc.LatLonRect getLatLonBoundingBox()
-
getTimeWindow
public ucar.nc2.units.TimeDuration getTimeWindow()
-
setTimeWindow
public void setTimeWindow(ucar.nc2.units.TimeDuration timeWindow)
-
setDate
public void setDate(ucar.nc2.time.CalendarDate date)
-
setDateRange
public void setDateRange(ucar.nc2.time.CalendarDateRange dateRange)
-
isAllTimes
public boolean isAllTimes()
-
isPresentTime
public boolean isPresentTime()
-
getCalendarDateRange
public ucar.nc2.time.CalendarDateRange getCalendarDateRange(ucar.nc2.time.Calendar cal)
-
makeCalendarDateRange
public ucar.nc2.time.CalendarDateRange makeCalendarDateRange(ucar.nc2.time.Calendar cal)
-
getRequestedDate
public ucar.nc2.time.CalendarDate getRequestedDate(ucar.nc2.time.Calendar cal)
-
intersectsTime
public boolean intersectsTime(ucar.nc2.time.CalendarDateRange have, Formatter errs)
-
parseTimeDuration
public ucar.nc2.units.TimeDuration parseTimeDuration() throws NcssException- Throws:
NcssException
-
-