/* Copyright: Meticube, Portugal, 2008. This software is licensed under the CC-GNU GPL. See http://creativecommons.org/licenses/GPL/2.0/ for human-readable Commons Deed, lawyer-readable legal code, and machine-readable digital code. Note: This file is based on the UCH 1.0 specification of the URC Consortium, http://myurc.org/TR/uch1.0/. */ using System; using System.Collections.Generic; using System.Text; namespace org.myurc.uch.Interfaces.UCHStore { /// /// UCH store works as a storage point for TAs, TDMs and UIPMs /// public interface IUCHStore { /// /// Get a stored value from the local UCH store /// /// Key (string) for the value /// Value stored under the given key. The caller may need to cast the returned object into the correct type. The return value is NULL if no entry exists for the given key. object getValue(string key); /// /// Set a (new) value for the given key. If the key didn’t exist in the map before, it will be created. If the key is already existing, the map stores the new value under the key, and the old value is removed. /// /// Key (string) for the value /// void setValue(string key, object value); } }