org.deegree.coverage
Class SupplementProperties

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

public class SupplementProperties
extends java.util.HashMap<java.lang.String,java.lang.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
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Field Summary
static java.lang.String LABEL
          the label key
static java.lang.String NAME
          the name key
static java.lang.String RANGESET
          the rangeset key
 
Constructor Summary
SupplementProperties()
           
 
Method Summary
 java.lang.String getLabel()
           
 java.lang.String getName()
           
 RangeSet getRangeset()
           
 java.lang.Object put(java.lang.String key, java.lang.Object value)
          Overridden, because of the keys which are assumed to have special objects assigned to them.
 java.lang.String setLabel(java.lang.String label)
           
 java.lang.String setName(java.lang.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 java.lang.String NAME
the name key

See Also:
Constant Field Values

LABEL

public static final java.lang.String LABEL
the label key

See Also:
Constant Field Values

RANGESET

public static final java.lang.String RANGESET
the rangeset key

See Also:
Constant Field Values
Constructor Detail

SupplementProperties

public SupplementProperties()
Method Detail

setName

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

setLabel

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

getName

public java.lang.String getName()
Returns:
the name of the coverage

getLabel

public java.lang.String getLabel()
Returns:
the label of the coverage

getRangeset

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

put

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

Specified by:
put in interface java.util.Map<java.lang.String,java.lang.Object>
Overrides:
put in class java.util.HashMap<java.lang.String,java.lang.Object>


Copyright © 2011. All Rights Reserved.