KickJava   Java API By Example, From Geeks To Geeks.

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


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 PA_ReportColumnSet
9  ** @version $Id: X_PA_ReportColumnSet.java,v 1.26 2003/10/31 05:30:54 jjanke Exp $ **/

10 public class X_PA_ReportColumnSet extends PO
11 {
12 /** Standard Constructor **/
13 public X_PA_ReportColumnSet (Properties ctx, int PA_ReportColumnSet_ID)
14 {
15 super (ctx, PA_ReportColumnSet_ID);
16 /** if (PA_ReportColumnSet_ID == 0)
17 {
18 setName (null);
19 setPA_ReportColumnSet_ID (0);
20 setProcessing (null);
21 }
22  **/

23 }
24 /** Load Constructor **/
25 public X_PA_ReportColumnSet (Properties ctx, ResultSet rs)
26 {
27 super (ctx, rs);
28 }
29 /** Load Meta Data **/
30 protected POInfo initPO (Properties ctx)
31 {
32 int AD_Table_ID = 447;
33 POInfo poi = POInfo.getPOInfo (ctx, AD_Table_ID);
34 return poi;
35 }
36 public String JavaDoc toString()
37 {
38 StringBuffer JavaDoc sb = new StringBuffer JavaDoc ("X_PA_ReportColumnSet[").append(getID()).append("]");
39 return sb.toString();
40 }
41 public void setDescription (String JavaDoc Description)
42 {
43 setValue ("Description", Description);
44 }
45 public String JavaDoc getDescription()
46 {
47 return (String JavaDoc)getValue("Description");
48 }
49 public void setName (String JavaDoc Name)
50 {
51 if (Name == null) throw new IllegalArgumentException JavaDoc ("Name is mandatory");
52 setValue ("Name", Name);
53 }
54 public String JavaDoc getName()
55 {
56 return (String JavaDoc)getValue("Name");
57 }
58 void setPA_ReportColumnSet_ID (int PA_ReportColumnSet_ID)
59 {
60 setValueNoCheck ("PA_ReportColumnSet_ID", new Integer JavaDoc(PA_ReportColumnSet_ID));
61 }
62 public int getPA_ReportColumnSet_ID()
63 {
64 Integer JavaDoc ii = (Integer JavaDoc)getValue("PA_ReportColumnSet_ID");
65 if (ii == null) return 0;
66 return ii.intValue();
67 }
68 public void setProcessing (String JavaDoc Processing)
69 {
70 if (Processing == null) throw new IllegalArgumentException JavaDoc ("Processing is mandatory");
71 setValue ("Processing", Processing);
72 }
73 public String JavaDoc getProcessing()
74 {
75 return (String JavaDoc)getValue("Processing");
76 }
77 }
78
Popular Tags