KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > tigris > scarab > om > RAttributeAttributeGroup


1 package org.tigris.scarab.om;
2
3 import org.apache.torque.om.Persistent;
4 import org.apache.torque.util.Criteria;
5
6
7 /**
8  * You should add additional methods to this class to meet the
9  * 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
13     extends org.tigris.scarab.om.BaseRAttributeAttributeGroup
14     implements Persistent
15 {
16
17     /**
18      * Delete the record.
19      */

20     public void delete() throws Exception JavaDoc
21     {
22         Criteria c = new Criteria()
23             .add(RAttributeAttributeGroupPeer.GROUP_ID, getGroupId())
24             .add(RAttributeAttributeGroupPeer.ATTRIBUTE_ID, getAttributeId());
25             RAttributeAttributeGroupPeer.doDelete(c);
26     }
27 }
28
Popular Tags