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

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

public class ValuesReference
extends Object
implements PossibleValues

PossibleValues that are defined by a reference to an externally specified list of all the 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: Reference to externally specified list of all the valid values and/or ranges of values for this quantity. (Informative: This element was simplified from the metaDataProperty element in GML 3.0.)

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
ValuesReference(String name, String ref)
          Creates a new ValuesReference instance.
 
Method Summary
 String getName()
          Returns the human-readable name of the list of values.
 String getRef()
          Returns the reference to externally specified list of all the valid values and/or ranges of values.
 void getRef(String ref)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValuesReference

public ValuesReference(String name,
                       String ref)
Creates a new ValuesReference instance.

Parameters:
name - human-readable name of the list of values, may be null
ref - reference to externally specified list of all the valid values and/or ranges of values, may be null
Method Detail

getName

public String getName()
Returns the human-readable name of the list of values.

From OWS Common 2.0: Human-readable name of the list of values provided by the referenced document. Can be empty string when this list has no name.

Returns:
human-readable name of the list of values, may be null

setName

public void setName(String name)

getRef

public String getRef()
Returns the reference to externally specified list of all the valid values and/or ranges of values.

From OWS Common 2.0: Reference to externally specified list of all the valid values and/or ranges of values for this quantity.

Returns:
reference to externally specified list of all the valid values and/or ranges of values, may be null

getRef

public void getRef(String ref)


Copyright © 2011. All Rights Reserved.