KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > compiere > model > MRecurringRun


1 /******************************************************************************
2  * The contents of this file are subject to the Compiere License Version 1.1
3  * ("License"); You may not use this file except in compliance with the License
4  * You may obtain a copy of the License at http://www.compiere.org/license.html
5  * Software distributed under the License is distributed on an "AS IS" basis,
6  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
7  * the specific language governing rights and limitations under the License.
8  * The Original Code is Compiere ERP & CRM Smart Business Solution
9  * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc.
10  * Portions created by Jorg Janke are Copyright (C) 1999-2003 Jorg Janke, parts
11  * created by ComPiere are Copyright (C) ComPiere, Inc.; All Rights Reserved.
12  * Contributor(s): ______________________________________.
13  *****************************************************************************/

14 package org.compiere.model;
15
16 import java.sql.*;
17 import java.util.*;
18
19 /**
20  * Recurring Run Model
21  *
22  * @author Jorg Janke
23  * @version $Id: MRecurringRun.java,v 1.2 2003/08/12 17:58:17 jjanke Exp $
24  */

25 public class MRecurringRun extends X_C_Recurring_Run
26 {
27
28     public MRecurringRun (Properties ctx, int C_Recurring_Run_ID)
29     {
30         super (ctx, C_Recurring_Run_ID);
31     } // MRecurringRun
32

33     public MRecurringRun (Properties ctx, MRecurring recurring)
34     {
35         super (ctx, 0);
36         if (recurring != null)
37         {
38             setAD_Client_ID(recurring.getAD_Client_ID());
39             setAD_Org_ID(recurring.getAD_Org_ID());
40             setC_Recurring_ID (recurring.getC_Recurring_ID ());
41             setDateDoc(recurring.getDateNextRun());
42         }
43     } // MRecurringRun
44

45     public MRecurringRun (Properties ctx, ResultSet rs)
46     {
47         super (ctx, rs);
48     } // MRecurringRun
49

50 } // MRecurringRun
51
Free Books   Free Magazines  
Popular Tags