deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.coverage
Class SupplementProperties

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,Object>
          extended by org.deegree.coverage.SupplementProperties
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>

public class SupplementProperties
extends HashMap<String,Object>

The SupplementProperties class can be used to add supplement data (like name, label or any kind of object) to a coverage.

Version:
$Revision: 19569 $, $Date: 2009-09-10 12:27:26 +0200 (Do, 10 Sep 2009) $
Author:
Rutger Bezema, last edited by: $Author: rbezema $
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Field Summary
static String LABEL
          the label key
static String NAME
          the name key
static String RANGESET
          the rangeset key
 
Constructor Summary
SupplementProperties()
           
 
Method Summary
 String getLabel()
           
 String getName()
           
 RangeSet getRangeset()
           
 Object put(String key, Object value)
          Overridden, because of the keys which are assumed to have special objects assigned to them.
 String setLabel(String label)
           
 String setName(String name)
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

NAME

public static final String NAME
the name key

See Also:
Constant Field Values

LABEL

public static final String LABEL
the label key

See Also:
Constant Field Values

RANGESET

public static final String RANGESET
the rangeset key

See Also:
Constant Field Values
Constructor Detail

SupplementProperties

public SupplementProperties()
Method Detail

setName

public String setName(String name)
Parameters:
name - to set.
Returns:
the old name value of null if no previous name was set.

setLabel

public String setLabel(String label)
Parameters:
label - describing the coverage
Returns:
the old name value of null if no previous name was set.

getName

public String getName()
Returns:
the name of the coverage

getLabel

public String getLabel()
Returns:
the label of the coverage

getRangeset

public RangeSet getRangeset()
Returns:
the RangeSet associated with the given raster.

put

public Object put(String key,
                  Object value)
Overridden, because of the keys which are assumed to have special objects assigned to them.

Specified by:
put in interface Map<String,Object>
Overrides:
put in class HashMap<String,Object>

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>