|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.protocol.ows.metadata.domain.Range
public class Range
A range of values of a numeric parameter.
Data model has been designed to capture the expressiveness of all OWS specifications and versions and was verified against the following specifications:
From OWS Common 2.0: A range of values of a numeric parameter. This range can be continuous or discrete, defined by a fixed spacing between adjacent valid values. If the MinimumValue or MaximumValue is not included, there is no value limit in that direction. Inclusion of the specified minimum and maximum values in the range shall be defined by the rangeClosure.
Constructor Summary | |
---|---|
Range(String min,
String max,
String spacing,
RangeClosure closure)
Creates a new Range instance. |
Method Summary | |
---|---|
RangeClosure |
getClosure()
Returns the closure between values in the range. |
String |
getMax()
Returns the maximum value. |
String |
getMin()
Returns the minimum value. |
String |
getSpacing()
Returns the spacing between values in the range. |
void |
setClosure(RangeClosure closure)
Sets the closure between values in the range. |
void |
setMax(String max)
Sets the maximum value. |
void |
setMin(String min)
Sets the minimum value. |
void |
setSpacing(String spacing)
Sets the spacing between values in the range. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Range(String min, String max, String spacing, RangeClosure closure)
Range
instance.
min
- minimum value, may be null
(no lower limit)max
- maximum value, may be null
(no upper limit)spacing
- spacing, may be null
(continuous range)closure
- boundary value mode, may be null
(implies RangeClosure.CLOSED
)Method Detail |
---|
public String getMin()
From OWS Common 2.0: Minimum value of this numeric parameter.
null
(no lower limit)public void setMin(String min)
From OWS Common 2.0: Minimum value of this numeric parameter.
min
- minimum value, may be null
(no lower limit)public String getMax()
From OWS Common 2.0: Maximum value of this numeric parameter.
null
(no upper limit)public void setMax(String max)
From OWS Common 2.0: Maximum value of this numeric parameter.
max
- maximum value, may be null
(no lower limit)public String getSpacing()
From OWS Common 2.0: Shall be included when the allowed values are NOT continuous in this range. Shall not be included when the allowed values are continuous in this range.
null
(continuous range)public void setSpacing(String spacing)
From OWS Common 2.0: Shall be included when the allowed values are NOT continuous in this range. Shall not be included when the allowed values are continuous in this range.
spacing
- spacing between values in the range, may be null
(continuous range)public RangeClosure getClosure()
From OWS Common 2.0: Shall be included unless the default value applies (closed).
null
(implies RangeClosure.CLOSED
)public void setClosure(RangeClosure closure)
From OWS Common 2.0: Shall be included unless the default value applies (closed).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |