org.deegree.protocol.ows.metadata.domain
Class AllowedValues

java.lang.Object
  extended by org.deegree.protocol.ows.metadata.domain.AllowedValues
All Implemented Interfaces:
PossibleValues

public class AllowedValues
extends Object
implements PossibleValues

PossibleValues that are defined by a list of all valid values and/or ranges of values.

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: List of all the valid values and/or ranges of values for this quantity. For numeric quantities, signed values should be ordered from negative infinity to positive infinity.

Version:
$Revision: 31860 $, $Date: 2011-09-13 15:11:47 +0200 (Tue, 13 Sep 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
AllowedValues(List<Values> values)
          Creates a new AllowedValues instance.
 
Method Summary
 List<Values> getValues()
          Returns the list of all valid values and/or ranges of values for this quantity.
 void setValues(List<Values> values)
          Sets the list of all valid values and/or ranges of values for this quantity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllowedValues

public AllowedValues(List<Values> values)
Creates a new AllowedValues instance.

Parameters:
values - list of all valid values and/or ranges of values for this quantity, may be null
Method Detail

getValues

public List<Values> getValues()
Returns the list of all valid values and/or ranges of values for this quantity.

From OWS Common 2.0: List of all the valid values and/or ranges of values for this quantity. For numeric quantities, signed values should be ordered from negative infinity to positive infinity.

Returns:
list of all valid values and/or ranges of values for this quantity, may be null

setValues

public void setValues(List<Values> values)
Sets the list of all valid values and/or ranges of values for this quantity.

Parameters:
values - list of all valid values and/or ranges of values for this quantity, may be null


Copyright © 2011. All Rights Reserved.