Class GcCaseIgnoreHashMap

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<String,Object>
edu.internet2.middleware.grouperClient.jdbc.GcCaseIgnoreHashMap
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>

public class GcCaseIgnoreHashMap extends LinkedHashMap<String,Object>
Map with string key which ignores key case and has some convenience methods.
See Also:
  • Constructor Details

    • GcCaseIgnoreHashMap

      public GcCaseIgnoreHashMap()
  • Method Details

    • loadBoundDataConversion

      public static void loadBoundDataConversion(GcBoundDataConversion _boundDataConversion)
      This is the helper to convert data to and from Oracle, which has a default of BoundDataConversionImpl. If you encounter errors getting and setting data from oracle to java, you may need to override the default and set your version here. Otherwise, nothing is needed.
      Parameters:
      _boundDataConversion - the boundDataConversion to set.
    • put

      public Object put(String key, Object value)
      Put an object into the map.
      Specified by:
      put in interface Map<String,Object>
      Overrides:
      put in class HashMap<String,Object>
    • get

      public Object get(Object key)
      Get an object from the map.
      Specified by:
      get in interface Map<String,Object>
      Overrides:
      get in class LinkedHashMap<String,Object>
    • getString

      public String getString(Object key)
      Get a string from the map.
      Parameters:
      key - is the key of the object.
      Returns:
      the object.
    • getLong

      public Long getLong(Object key)
      Get a long from the map.
      Parameters:
      key - is the key of the object.
      Returns:
      the object.
    • getInteger

      public Integer getInteger(Object key)
      Get an integer from the map.
      Parameters:
      key - is the key of the object.
      Returns:
      the object.
    • getTimestamp

      public Timestamp getTimestamp(Object key)
      Get a timestamp from the map.
      Parameters:
      key - is the key of the object.
      Returns:
      the object.
    • getDate

      public Date getDate(Object key)
      Get a date from the map.
      Parameters:
      key - is the key of the object.
      Returns:
      the object.
    • getDouble

      public Double getDouble(Object key)
      Get a date from the map.
      Parameters:
      key - is the key of the object.
      Returns:
      the object.