|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.ogcwebservices.wcs.configuration.AbstractResolution
abstract class AbstractResolution
A concrete Resolution must implement accessor methods for either Shape, Directory or File (or additional descriptions available in future) which will be used is no Range is persent.
Constructor Summary | |
---|---|
AbstractResolution(double minScale,
double maxScale,
Range[] range)
|
Method Summary | |
---|---|
void |
addRange(Range range)
|
int |
compareTo(java.lang.Object o)
minScale is used for comparing. |
double |
getMaxScale()
returns the maximum scale (exculding) the Resolution is valid for. |
double |
getMinScale()
returns the minimum scale (inculding) the Resolution is valid for. |
Range[] |
getRanges()
returns the Ranges included with in resolution. |
void |
removeRange(Range range)
removes a range from a Resolution |
void |
setMaxScale(double maxScale)
|
void |
setMinScale(double minScale)
|
void |
setRange(Range[] ranges)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractResolution(double minScale, double maxScale, Range[] range) throws java.lang.IllegalArgumentException
minScale
- maxScale
- range
-
java.lang.IllegalArgumentException
Method Detail |
---|
public void setMaxScale(double maxScale) throws java.lang.IllegalArgumentException
maxScale
- The maxScale to set.
java.lang.IllegalArgumentException
getMaxScale()
public void setMinScale(double minScale) throws java.lang.IllegalArgumentException
minScale
- The minScale to set.
java.lang.IllegalArgumentException
getMinScale()
public void setRange(Range[] ranges)
ranges
- The range to set.getRanges()
public void addRange(Range range)
range
- getRanges()
public void removeRange(Range range)
range
- public double getMinScale()
getMinScale
in interface Resolution
public double getMaxScale()
getMaxScale
in interface Resolution
public Range[] getRanges()
The return value maybe is null if the Resolution just describes data from one parameter dimension (missing Range in CoverageOffering). In this case there is direct access to the data source describing element(s).
getRanges
in interface Resolution
public int compareTo(java.lang.Object o) throws java.lang.IllegalArgumentException
compareTo
in interface java.lang.Comparable
o
-
java.lang.IllegalArgumentException
Comparable.compareTo(java.lang.Object)
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org