org.kuali.rice.kns.datadictionary.exporter
Class StringMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by java.util.LinkedHashMap
              extended by org.kuali.rice.kns.datadictionary.exporter.StringMap
All Implemented Interfaces:
Serializable, Cloneable, Map

public class StringMap
extends LinkedHashMap

Adds a litle strong type-checking and validation on top of the generic LinkedHashMap

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
StringMap()
           
 
Method Summary
 Object put(Object key, Object value)
          Overridden to prevent direct calls
 void putAll(Map m)
          Overridden to prevent direct calls
 void set(String key, Map value)
          Associates the given String with the given Map value.
 void set(String key, String value)
          Associates the given String with the given String value.
 
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, get, removeEldestEntry
 
Methods inherited from class java.util.HashMap
clone, containsKey, entrySet, isEmpty, keySet, 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
containsKey, entrySet, equals, hashCode, isEmpty, keySet, remove, size, values
 

Constructor Detail

StringMap

public StringMap()
Method Detail

set

public void set(String key,
                Map value)
Associates the given String with the given Map value.

Parameters:
key -
value -

set

public void set(String key,
                String value)
Associates the given String with the given String value.

Parameters:
key -
value -

put

public Object put(Object key,
                  Object value)
Overridden to prevent direct calls

Specified by:
put in interface Map
Overrides:
put in class HashMap
See Also:
Map.put(java.lang.Object, java.lang.Object)

putAll

public void putAll(Map m)
Overridden to prevent direct calls

Specified by:
putAll in interface Map
Overrides:
putAll in class HashMap
See Also:
Map.put(java.lang.Object, java.lang.Object)


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.