1 package com.openedit.modules.userlog; 2 3 import java.util.HashMap ; 4 import java.util.Map ; 5 import java.util.Set ; 6 7 public class Change 8 { 9 protected Map fieldProperties; 10 11 public void put(String inKey, String inVal) 12 { 13 getProperties().put(inKey, inVal); 14 } 15 public String get(String inKey) 16 { 17 return (String )getProperties().get(inKey); 18 } 19 public Map getProperties() 20 { 21 if (fieldProperties == null) 22 { 23 fieldProperties = new HashMap (); 24 } 25 return fieldProperties; 26 } 27 public void setProperties(Map inProperties) 28 { 29 fieldProperties = inProperties; 30 } 31 32 public Set keys() 33 { 34 return getProperties().keySet(); 35 } 36 37 } 38 | Popular Tags |