KickJava   Java API By Example, From Geeks To Geeks.

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


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.util.*;
17 import java.sql.*;
18 import java.math.*;
19 import java.io.Serializable JavaDoc;
20 import org.compiere.util.Env;
21
22 /**
23  * InOut Line
24  *
25  * @author Jorg Janke
26  * @version $Id: MInOutLine.java,v 1.4 2003/09/07 04:47:40 jjanke Exp $
27  */

28 public class MInOutLine extends X_M_InOutLine
29 {
30     public MInOutLine (Properties ctx, int M_InOutLine_ID)
31     {
32         super (ctx, M_InOutLine_ID);
33         if (M_InOutLine_ID == 0)
34         {
35         // setM_Product_ID (0);
36
setMovementQty (Env.ZERO);
37             setIsInvoiced (false);
38             setIsDescription (false);
39             setC_UOM_ID (0);
40             setLine (0);
41             setM_Locator_ID (0);
42         // setM_InOut_ID (0);
43
}
44     }
45
46     /**
47      * Load Constructor
48      * @param ctx context
49      * @param rs result set record
50      */

51     public MInOutLine (Properties ctx, ResultSet rs)
52     {
53         super (ctx, rs);
54     } // MInOutLine
55

56     public String JavaDoc toString ()
57     {
58         StringBuffer JavaDoc sb = new StringBuffer JavaDoc ("MInOutLine[").append (getID ()).append ("]");
59         return sb.toString ();
60     }
61
62 } // MInOutLine
63
Popular Tags