KickJava   Java API By Example, From Geeks To Geeks.

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


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

10 public class X_AD_Column_Access extends PO
11 {
12 /** Standard Constructor **/
13 public X_AD_Column_Access (Properties ctx, int AD_Column_Access_ID)
14 {
15 super (ctx, AD_Column_Access_ID);
16 /** if (AD_Column_Access_ID == 0)
17 {
18 setAD_Column_ID (0);
19 setAD_Role_ID (0);
20 setIsExclude (false);
21 setIsReadOnly (false);
22 }
23  **/

24 }
25 /** Load Constructor **/
26 public X_AD_Column_Access (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 = 571;
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_Column_Access[").append(getID()).append("]");
40 return sb.toString();
41 }
42 void setAD_Column_ID (int AD_Column_ID)
43 {
44 setValueNoCheck ("AD_Column_ID", new Integer JavaDoc(AD_Column_ID));
45 }
46 public int getAD_Column_ID()
47 {
48 Integer JavaDoc ii = (Integer JavaDoc)getValue("AD_Column_ID");
49 if (ii == null) return 0;
50 return ii.intValue();
51 }
52 void setAD_Role_ID (int AD_Role_ID)
53 {
54 setValueNoCheck ("AD_Role_ID", new Integer JavaDoc(AD_Role_ID));
55 }
56 public int getAD_Role_ID()
57 {
58 Integer JavaDoc ii = (Integer JavaDoc)getValue("AD_Role_ID");
59 if (ii == null) return 0;
60 return ii.intValue();
61 }
62 public void setAD_Table_ID (int AD_Table_ID)
63 {
64 if (AD_Table_ID == 0) setValue ("AD_Table_ID", null);
65  else
66 setValue ("AD_Table_ID", new Integer JavaDoc(AD_Table_ID));
67 }
68 public int getAD_Table_ID()
69 {
70 Integer JavaDoc ii = (Integer JavaDoc)getValue("AD_Table_ID");
71 if (ii == null) return 0;
72 return ii.intValue();
73 }
74 public void setIsExclude (boolean IsExclude)
75 {
76 setValue ("IsExclude", new Boolean JavaDoc(IsExclude));
77 }
78 public boolean isExclude()
79 {
80 Boolean JavaDoc bb = (Boolean JavaDoc)getValue("IsExclude");
81 if (bb != null) return bb.booleanValue();
82 return false;
83 }
84 public void setIsReadOnly (boolean IsReadOnly)
85 {
86 setValue ("IsReadOnly", new Boolean JavaDoc(IsReadOnly));
87 }
88 public boolean isReadOnly()
89 {
90 Boolean JavaDoc bb = (Boolean JavaDoc)getValue("IsReadOnly");
91 if (bb != null) return bb.booleanValue();
92 return false;
93 }
94 }
95
Popular Tags