|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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(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 IllegalArgumentException
minScale - maxScale - range -
IllegalArgumentException| Method Detail |
|---|
public void setMaxScale(double maxScale)
throws IllegalArgumentException
maxScale - The maxScale to set.
IllegalArgumentExceptiongetMaxScale()
public void setMinScale(double minScale)
throws IllegalArgumentException
minScale - The minScale to set.
IllegalArgumentExceptiongetMinScale()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 Resolutionpublic double getMaxScale()
getMaxScale in interface Resolutionpublic 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(Object o)
throws IllegalArgumentException
compareTo in interface Comparableo -
IllegalArgumentExceptionComparable.compareTo(java.lang.Object)
|
deegree 2.2 (2008/12/22 11:33 build-3038-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://deegree.sourceforge.net