1 package org.tigris.scarab.om; 2 3 48 49 import java.util.HashMap ; 50 import java.util.List ; 51 52 import org.apache.torque.TorqueException; 53 import org.apache.torque.om.Persistent; 54 55 62 public class AttributeValueManager 63 extends BaseAttributeValueManager 64 { 65 70 public AttributeValueManager() 71 throws TorqueException 72 { 73 super(); 74 setRegion(getClassName().replace('.', '_')); 75 validFields = new HashMap (); 76 validFields.put(AttributeValuePeer.ISSUE_ID, null); 77 } 78 79 protected Persistent putInstanceImpl(Persistent om) 80 throws TorqueException 81 { 82 Persistent oldOm = super.putInstanceImpl(om); 83 List listeners = (List )listenersMap.get(AttributeValuePeer.ISSUE_ID); 84 notifyListeners(listeners, oldOm, om); 85 return oldOm; 86 } 87 } 88 | Popular Tags |