| java.lang.Object de.fho.jump.pirol.utilities.metaData.MetaInformationHandler
MetaInformationHandler | public class MetaInformationHandler implements HandlerToMakeYourLifeEasier(Code) | | Tool class for easier handling of meta information on a layer basis.
- objects will be created, if neccessary
- you don't need to access the properties map of the data source (where the meta information is stored) yourself
author: Ole Rahn author:
author: FH Osnabrück - University of Applied Sciences Osnabrück, author: Project: PIROL (2005), author: Subproject: Daten- und Wissensmanagement version: $Rev: 856 $ See Also: de.fhOsnabrueck.jump.pirol.utilities.metaData.MetaInformationKeys |
MetaInformationHandler | public MetaInformationHandler(Layer layerWithMetaInformation)(Code) | | Parameters: layerWithMetaInformation - the layer you want the meta information of (has to have a DataSource!!) |
MetaInformationHandler | public MetaInformationHandler(ObjectContainingMetaInformation objectWithMetaInformation)(Code) | | Parameters: objectWithMetaInformation - the object you want the meta information of |
addMetaInformation | public void addMetaInformation(String key, Object value)(Code) | | Adds a new meta information key-value-pair to the meta information map, replaces
an existing pair with the same key.
Parameters: key - Parameters: value - |
clear | public void clear()(Code) | | |
containsAttribute2UnitMap | public boolean containsAttribute2UnitMap()(Code) | | |
containsMetaInformation | public boolean containsMetaInformation()(Code) | | true if the given layer already contains meta information, false if not |
containsValue | public boolean containsValue(Object value)(Code) | | |
createPirolFeatureCollection | final public static PirolFeatureCollection createPirolFeatureCollection(FeatureCollection fc)(Code) | | creates a PirolFeatureCollection out of a regular FeatureCollection
Parameters: fc - regular FeatureCollection PirolFeatureCollection |
getAttribute2UnitMap | public Attribute2UnitMap getAttribute2UnitMap()(Code) | | the Attribute2UnitMap of the given DataSource or null, if there is none |
getExistentMetaInformationMap | public MetaDataMap getExistentMetaInformationMap()(Code) | | Retrieve the existent meta information map.
the existent meta information map or null, if there is none |
getMetaInformationMap | public MetaDataMap getMetaInformationMap()(Code) | | Retrieve the existent meta information map or create one.
the existent meta information map or an empty meta information map (that is now attached to the DataSource) throws: RuntimeException - , if the given DataSource doesn't even have properties (getProperties() ) |
|
|