1 package net.sf.tomp.general; 2 3 /*** 4 * Objects implementing this interface can be parametrized 5 * by setting parameters with String name and Object value 6 * 7 * @author tomp 8 * @version 1.0 9 */ 10 public interface Parametrized { 11 /*** 12 * sets the parameter 13 * 14 * @param k parameter name 15 * @param v parameter value 16 */ 17 void setParameter(String k, Object v); 18 } 19 20 /* 21 * The contents of this file are subject to the Mozilla Public License Version 22 * 1.1 (the "License"); you may not use this file except in compliance with the 23 * License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ 24 * Software distributed under the License is distributed on an "AS IS" basis, 25 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for 26 * the specific language governing rights and limitations under the License. The 27 * Original Code is: all this file. The Initial Developer of the Original Code 28 * is: Tomas Pitner, Masaryk University in Brno, Czech Republic. Contributor(s): 29 */