Package com.luciad.wms.server.model
Class TLcdWMSDimension
java.lang.Object
com.luciad.wms.server.model.ALcdWMSDimension
com.luciad.wms.server.model.TLcdWMSDimension
Default implementation of
ALcdWMSDimension
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the default value that will be used if aGetMap
request does not specify a value.Returns the extent of this dimensional parameter.getName()
Returns the name of the dimensional parameter.getUnits()
Returns the units of the dimensional parameter.Returns the unit symbol of the dimensional parameter.boolean
This property is only valid for temporal extents (e.g. time), and indicates whether (a) temporal data are normally kept current and (b) whether the request parameter TIME may include the keyword 'current' instead of an ending value.boolean
Returns whether multiple values of the dimensional parameter may be requested.boolean
Returns whether the nearest value of the dimensional parameter will be returned in response to a request for a nearby value.void
setCurrent
(boolean aCurrent) This property is only valid for temporal extents (for example, time), and indicates whether (a) temporal data are normally kept current and (b) whether the request parameter TIME may include the keyword 'current' instead of an ending value.void
setDefaultValue
(TLcdWMSDimensionExtent aDefaultValue) Sets the default value to be used when aGetMap
request does not specify a value.void
setExtent
(TLcdWMSDimensionExtent aExtent) Sets the extent, which consists of the possible values/intervals for this dimensional parameter.void
setMultipleValues
(boolean aMultipleValues) Sets whether multiple values may be requested.void
Sets the name of this dimensional parameter.void
setNearestValue
(boolean aNearestValue) Sets whether the nearest value of the dimensional parameter will be returned in response to a request for a nearby value.void
Sets the units of this dimensional parameter.void
setUnitSymbol
(String aUnitSymbol) Sets the unit symbol of this dimensional parameter.
-
Constructor Details
-
TLcdWMSDimension
public TLcdWMSDimension()
-
-
Method Details
-
getName
Description copied from class:ALcdWMSDimension
Returns the name of the dimensional parameter.- Specified by:
getName
in classALcdWMSDimension
- Returns:
- the name of the dimensional parameter.
-
setName
Sets the name of this dimensional parameter.- Parameters:
aName
- the name of this dimensional parameter.
-
getUnits
Description copied from class:ALcdWMSDimension
Returns the units of the dimensional parameter.- Specified by:
getUnits
in classALcdWMSDimension
- Returns:
- the units of the dimensional parameter.
-
setUnits
Sets the units of this dimensional parameter.- Parameters:
aUnits
- the units of this dimensional parameter.
-
getUnitSymbol
Description copied from class:ALcdWMSDimension
Returns the unit symbol of the dimensional parameter.- Specified by:
getUnitSymbol
in classALcdWMSDimension
- Returns:
- the unit symbol of the dimensional parameter.
-
setUnitSymbol
Sets the unit symbol of this dimensional parameter.- Parameters:
aUnitSymbol
- the unit symbol of this dimensional parameter.
-
getDefaultValue
Description copied from class:ALcdWMSDimension
Returns the default value that will be used if aGetMap
request does not specify a value. If not specified, a service exception will be sent to the client if the request does not include a value for that dimension.- Specified by:
getDefaultValue
in classALcdWMSDimension
- Returns:
- the default value that will be used if a
GetMap
request does not specify a value.
-
setDefaultValue
Sets the default value to be used when aGetMap
request does not specify a value.- Parameters:
aDefaultValue
- the default value to be used when aGetMap
request does not specify a value.
-
getExtent
Description copied from class:ALcdWMSDimension
Returns the extent of this dimensional parameter. The extent defines the possible values/intervals- Specified by:
getExtent
in classALcdWMSDimension
- Returns:
- the extent of this dimensional parameter.
-
setExtent
Sets the extent, which consists of the possible values/intervals for this dimensional parameter.- Parameters:
aExtent
- The extent for this dimensional parameter.
-
isMultipleValues
public boolean isMultipleValues()Description copied from class:ALcdWMSDimension
Returns whether multiple values of the dimensional parameter may be requested.- Specified by:
isMultipleValues
in classALcdWMSDimension
- Returns:
- whether multiple values of the dimensional parameter may be requested.
-
setMultipleValues
public void setMultipleValues(boolean aMultipleValues) Sets whether multiple values may be requested.- Parameters:
aMultipleValues
- whether multiple values may be requested.
-
isNearestValue
public boolean isNearestValue()Description copied from class:ALcdWMSDimension
Returns whether the nearest value of the dimensional parameter will be returned in response to a request for a nearby value.- Specified by:
isNearestValue
in classALcdWMSDimension
- Returns:
- whether the nearest value of the dimensional parameter will be returned in response to a request for a nearby value.
-
setNearestValue
public void setNearestValue(boolean aNearestValue) Sets whether the nearest value of the dimensional parameter will be returned in response to a request for a nearby value.- Parameters:
aNearestValue
- whether the nearest value of the dimensional parameter will be returned in response to a request for a nearby value.
-
isCurrent
public boolean isCurrent()Description copied from class:ALcdWMSDimension
This property is only valid for temporal extents (e.g. time), and indicates whether (a) temporal data are normally kept current and (b) whether the request parameter TIME may include the keyword 'current' instead of an ending value.- Specified by:
isCurrent
in classALcdWMSDimension
- Returns:
- Returns whether (a) temporal data are normally kept current and (b) whether the request parameter
TIME
may include the keyword 'current' instead of an ending value.
-
setCurrent
public void setCurrent(boolean aCurrent) This property is only valid for temporal extents (for example, time), and indicates whether (a) temporal data are normally kept current and (b) whether the request parameter TIME may include the keyword 'current' instead of an ending value.- Parameters:
aCurrent
- whether (a) temporal data are normally kept current and (b) whether the request parameterTIME
may include the keyword 'current' instead of an ending value.
-