KickJava   Java API By Example, From Geeks To Geeks.

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


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 import org.compiere.util.*;
20
21 /**
22  * Time + Expense Line Model
23  *
24  * @author Jorg Janke
25  * @version $Id: MTimeExpenseLine.java,v 1.1 2003/09/05 04:59:48 jjanke Exp $
26  */

27 public class MTimeExpenseLine extends X_S_TimeExpenseLine
28 {
29     public MTimeExpenseLine (Properties ctx, int S_TimeExpenseLine_ID)
30     {
31         super (ctx, S_TimeExpenseLine_ID);
32         if (S_TimeExpenseLine_ID == 0)
33         {
34         // setS_TimeExpenseLine_ID (0); // PK
35
setS_TimeExpense_ID (0); // Parent
36
setDateExpense (new Timestamp(System.currentTimeMillis()));
37              setIsInvoiced (false);
38              setIsTimeReport (false);
39              setLine (0);
40         }
41     } // MTimeExpenseLine
42

43     public MTimeExpenseLine (Properties ctx, ResultSet rs)
44     {
45         super (ctx, rs);
46     } // MTimeExpenseLine
47

48 } // MTimeExpenseLine
49
Popular Tags