KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > compiere > process > ProcessInfoLog


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.process;
15
16 import java.io.*;
17 import java.sql.*;
18 import java.math.*;
19
20 /**
21  * Process Info Log (VO)
22  *
23  * @author Jorg Janke
24  * @version $Id: ProcessInfoLog.java,v 1.3 2003/08/08 16:15:28 jjanke Exp $
25  */

26 public class ProcessInfoLog implements Serializable
27 {
28     /**
29      * Create Process Info Log.
30      * @param P_ID Process ID
31      * @param P_Date Process Date
32      * @param P_Number Process Number
33      * @param P_Msg Process Messagre
34      */

35     public ProcessInfoLog (int P_ID, Timestamp P_Date, BigDecimal P_Number, String JavaDoc P_Msg)
36     {
37         this (s_Log_ID++, P_ID, P_Date, P_Number, P_Msg);
38     } // ProcessInfoLog
39

40     /**
41      * Create Process Info Log.
42      * @param Log_ID Log ID
43      * @param P_ID Process ID
44      * @param P_Date Process Date
45      * @param P_Number Process Number
46      * @param P_Msg Process Messagre
47      */

48     public ProcessInfoLog (int Log_ID, int P_ID, Timestamp P_Date, BigDecimal P_Number, String JavaDoc P_Msg)
49     {
50         setLog_ID (Log_ID);
51         setP_ID (P_ID);
52         setP_Date (P_Date);
53         setP_Number (P_Number);
54         setP_Msg (P_Msg);
55     } // ProcessInfoLog
56

57     private static int s_Log_ID = 0;
58
59     private int m_Log_ID;
60     private int m_P_ID;
61     private Timestamp m_P_Date;
62     private BigDecimal m_P_Number;
63     private String JavaDoc m_P_Msg;
64
65
66
67     public int getLog_ID()
68     {
69         return m_Log_ID;
70     }
71     public void setLog_ID (int Log_ID)
72     {
73         m_Log_ID = Log_ID;
74     }
75
76     public int getP_ID()
77     {
78         return m_P_ID;
79     }
80     public void setP_ID (int P_ID)
81     {
82         m_P_ID = P_ID;
83     }
84
85     public Timestamp getP_Date()
86     {
87         return m_P_Date;
88     }
89     public void setP_Date (Timestamp P_Date)
90     {
91         m_P_Date = P_Date;
92     }
93
94     public BigDecimal getP_Number()
95     {
96         return m_P_Number;
97     }
98     public void setP_Number (BigDecimal P_Number)
99     {
100         m_P_Number = P_Number;
101     }
102
103     public String JavaDoc getP_Msg()
104     {
105         return m_P_Msg;
106     }
107     public void setP_Msg (String JavaDoc P_Msg)
108     {
109         m_P_Msg = P_Msg;
110     }
111
112 } // ProcessInfoLog
113
Popular Tags