1 package org.tigris.scarab.om; 2 3 48 49 import java.util.List ; 50 import java.util.HashMap ; 51 52 import org.apache.torque.TorqueException; 53 import org.apache.torque.om.Persistent; 54 55 61 public class RAttributeAttributeGroupManager 62 extends BaseRAttributeAttributeGroupManager 63 { 64 69 public RAttributeAttributeGroupManager() 70 throws TorqueException 71 { 72 super(); 73 validFields = new HashMap (); 74 validFields.put(RAttributeAttributeGroupPeer.GROUP_ID, null); 75 } 76 77 protected Persistent putInstanceImpl(Persistent om) 78 throws TorqueException 79 { 80 Persistent oldOm = super.putInstanceImpl(om); 81 List listeners = (List )listenersMap 82 .get(RAttributeAttributeGroupPeer.GROUP_ID); 83 notifyListeners(listeners, oldOm, om); 84 return oldOm; 85 } 86 87 protected RAttributeAttributeGroup getInstanceImpl() 88 { 89 return new RAttributeAttributeGroup(); 90 } 91 } 92 | Popular Tags |