01: package org.tigris.scarab.om;
02:
03: import org.apache.torque.TorqueException;
04: import org.apache.torque.om.Persistent;
05: import org.apache.torque.util.Criteria;
06:
07: /**
08: * You should add additional methods to this class to meet the
09: * application requirements. This class will only be generated as
10: * long as it does not already exist in the output directory.
11: */
12: public class RAttributeAttributeGroup extends
13: BaseRAttributeAttributeGroup implements Persistent {
14:
15: /**
16: * Delete the record.
17: */
18: public void delete() throws TorqueException {
19: Criteria c = new Criteria().add(
20: RAttributeAttributeGroupPeer.GROUP_ID, getGroupId())
21: .add(RAttributeAttributeGroupPeer.ATTRIBUTE_ID,
22: getAttributeId());
23: RAttributeAttributeGroupPeer.doDelete(c);
24: }
25: }
|