KickJava   Java API By Example, From Geeks To Geeks.

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


1 /** Generated Model - DO NOT CHANGE - Copyright (C) 1999-2003 Jorg Janke **/
2 package org.compiere.model;
3 import java.util.*;
4 import java.sql.*;
5 import java.math.*;
6 import java.io.Serializable JavaDoc;
7 import org.compiere.util.*;
8 /** Generated Model for AD_Sequence_Audit
9  ** @version $Id: X_AD_Sequence_Audit.java,v 1.27 2003/10/31 05:30:54 jjanke Exp $ **/

10 public class X_AD_Sequence_Audit extends PO
11 {
12 /** Standard Constructor **/
13 public X_AD_Sequence_Audit (Properties ctx, int AD_Sequence_Audit_ID)
14 {
15 super (ctx, AD_Sequence_Audit_ID);
16 /** if (AD_Sequence_Audit_ID == 0)
17 {
18 setAD_Sequence_ID (0);
19 setAD_Table_ID (0);
20 setDocumentNo (null);
21 setRecord_ID (0);
22 }
23  **/

24 }
25 /** Load Constructor **/
26 public X_AD_Sequence_Audit (Properties ctx, ResultSet rs)
27 {
28 super (ctx, rs);
29 }
30 /** Load Meta Data **/
31 protected POInfo initPO (Properties ctx)
32 {
33 int AD_Table_ID = 121;
34 POInfo poi = POInfo.getPOInfo (ctx, AD_Table_ID);
35 return poi;
36 }
37 public String JavaDoc toString()
38 {
39 StringBuffer JavaDoc sb = new StringBuffer JavaDoc ("X_AD_Sequence_Audit[").append(getID()).append("]");
40 return sb.toString();
41 }
42 void setAD_Sequence_ID (int AD_Sequence_ID)
43 {
44 setValueNoCheck ("AD_Sequence_ID", new Integer JavaDoc(AD_Sequence_ID));
45 }
46 public int getAD_Sequence_ID()
47 {
48 Integer JavaDoc ii = (Integer JavaDoc)getValue("AD_Sequence_ID");
49 if (ii == null) return 0;
50 return ii.intValue();
51 }
52 void setAD_Table_ID (int AD_Table_ID)
53 {
54 setValueNoCheck ("AD_Table_ID", new Integer JavaDoc(AD_Table_ID));
55 }
56 public int getAD_Table_ID()
57 {
58 Integer JavaDoc ii = (Integer JavaDoc)getValue("AD_Table_ID");
59 if (ii == null) return 0;
60 return ii.intValue();
61 }
62 void setDocumentNo (String JavaDoc DocumentNo)
63 {
64 if (DocumentNo == null) throw new IllegalArgumentException JavaDoc ("DocumentNo is mandatory");
65 setValueNoCheck ("DocumentNo", DocumentNo);
66 }
67 public String JavaDoc getDocumentNo()
68 {
69 return (String JavaDoc)getValue("DocumentNo");
70 }
71 void setRecord_ID (int Record_ID)
72 {
73 setValueNoCheck ("Record_ID", new Integer JavaDoc(Record_ID));
74 }
75 public int getRecord_ID()
76 {
77 Integer JavaDoc ii = (Integer JavaDoc)getValue("Record_ID");
78 if (ii == null) return 0;
79 return ii.intValue();
80 }
81 }
82
Popular Tags