KickJava   Java API By Example, From Geeks To Geeks.

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


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
19
20 /**
21  * Process Parameter Model
22  *
23  * @author Jorg Janke
24  * @version $Id: MProcess_Para.java,v 1.2 2003/09/27 01:22:18 jjanke Exp $
25  */

26 public class MProcess_Para extends X_AD_Process_Para
27 {
28     public MProcess_Para (Properties ctx, int AD_Process_Para_ID)
29     {
30         super (ctx, AD_Process_Para_ID);
31         if (AD_Process_Para_ID == 0)
32         {
33             setFieldLength (0);
34             setSeqNo (0);
35             setAD_Reference_ID (0);
36             setIsCentrallyMaintained (false);
37             setIsRange (false);
38             setColumnName (null);
39             setIsMandatory (false);
40             setEntityType (null);
41             setAD_Process_Para_ID (0);
42             setAD_Process_ID (0);
43             setName (null);
44         }
45     }
46     public MProcess_Para (Properties ctx, ResultSet rs)
47     {
48         super (ctx, rs);
49     }
50
51     public String JavaDoc toString ()
52     {
53         StringBuffer JavaDoc sb = new StringBuffer JavaDoc ("MProcess_Para[")
54             .append (getID ())
55             .append ("]");
56         return sb.toString ();
57     }
58
59 } // MProcess_Para
60
Popular Tags