1 package cve.esecutori.components.specificaLV; 2 3 import java.util.*; 4 5 import cve.staticLayout.*; 6 7 import org.apache.log4j.Logger; 8 9 19 public class Representation 20 { 21 private HashMap attribute; 22 23 public Representation(){ 24 Cve.errLog.debug(""); 25 attribute = new HashMap(); 26 } 27 28 29 public void putAttribute(String name, String value){ 30 Cve.errLog.debug(""); 31 attribute.remove(name); 32 attribute.put(name,value); 33 34 } 35 36 public String getAttribute(String name){ 37 Cve.errLog.debug(""); 38 return (String )attribute.get(name); 39 } 40 41 42 } | Popular Tags |