Class MetaDataMap

java.lang.Object
org.openjump.util.metaData.MetaDataMap

public class MetaDataMap extends Object
Class to store meta information of various kinds in a map. By default an object of this class will be added to the properties of a DataSource (and is hopefully saved, when e.g. the task is saved).
Version:
$Rev: 2434 $
Author:
Ole Rahn

FH Osnabrück - University of Applied Sciences Osnabrück,
Project: PIROL (2005),
Subproject: Daten- und Wissensmanagement
  • Field Details

  • Constructor Details

    • MetaDataMap

      public MetaDataMap()
      constructor (needs to be parameterless in order for java2xml to be able to load it)
  • Method Details

    • addMetaInformation

      public void addMetaInformation(Object key, Object value)
      Adds a new meta information to the map
      Parameters:
      key - the kind of information
      value - the information itself
    • getMetaData

      public HashMap getMetaData()
      Gets all meta information in one map object
      Returns:
      all stored meta information
    • setMetaData

      public void setMetaData(HashMap<Object,Object> metaData)
      Sets (overwrites) the stored meta information
      Parameters:
      metaData - metadata as a HashMap mapping Objects to Objects
    • clear

      public void clear()
    • containsKey

      public boolean containsKey(Object key)
    • containsValue

      public boolean containsValue(Object value)
    • keySet

      public Set keySet()
    • remove

      public Object remove(Object key)
    • get

      public Object get(String key)
    • putAll

      public void putAll(Map<Object,Object> arg0)