KickJava   Java API By Example, From Geeks To Geeks.

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


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

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

23 }
24 /** Load Constructor **/
25 public X_AD_ReportView (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 = 361;
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_AD_ReportView[").append(getID()).append("]");
39 return sb.toString();
40 }
41 void setAD_ReportView_ID (int AD_ReportView_ID)
42 {
43 setValueNoCheck ("AD_ReportView_ID", new Integer JavaDoc(AD_ReportView_ID));
44 }
45 public int getAD_ReportView_ID()
46 {
47 Integer JavaDoc ii = (Integer JavaDoc)getValue("AD_ReportView_ID");
48 if (ii == null) return 0;
49 return ii.intValue();
50 }
51 public void setAD_Table_ID (int AD_Table_ID)
52 {
53 setValue ("AD_Table_ID", new Integer JavaDoc(AD_Table_ID));
54 }
55 public int getAD_Table_ID()
56 {
57 Integer JavaDoc ii = (Integer JavaDoc)getValue("AD_Table_ID");
58 if (ii == null) return 0;
59 return ii.intValue();
60 }
61 public void setDescription (String JavaDoc Description)
62 {
63 setValue ("Description", Description);
64 }
65 public String JavaDoc getDescription()
66 {
67 return (String JavaDoc)getValue("Description");
68 }
69 public void setName (String JavaDoc Name)
70 {
71 if (Name == null) throw new IllegalArgumentException JavaDoc ("Name is mandatory");
72 setValue ("Name", Name);
73 }
74 public String JavaDoc getName()
75 {
76 return (String JavaDoc)getValue("Name");
77 }
78 public void setOrderByClause (String JavaDoc OrderByClause)
79 {
80 setValue ("OrderByClause", OrderByClause);
81 }
82 public String JavaDoc getOrderByClause()
83 {
84 return (String JavaDoc)getValue("OrderByClause");
85 }
86 public void setWhereClause (String JavaDoc WhereClause)
87 {
88 setValue ("WhereClause", WhereClause);
89 }
90 public String JavaDoc getWhereClause()
91 {
92 return (String JavaDoc)getValue("WhereClause");
93 }
94 }
95
Popular Tags