1 2 package org.compiere.model; 3 import java.util.*; 4 import java.sql.*; 5 import java.math.*; 6 import java.io.Serializable ; 7 import org.compiere.util.*; 8 10 public class X_AD_Column_Access extends PO 11 { 12 13 public X_AD_Column_Access (Properties ctx, int AD_Column_Access_ID) 14 { 15 super (ctx, AD_Column_Access_ID); 16 24 } 25 26 public X_AD_Column_Access (Properties ctx, ResultSet rs) 27 { 28 super (ctx, rs); 29 } 30 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 toString() 38 { 39 StringBuffer sb = new StringBuffer ("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 (AD_Column_ID)); 45 } 46 public int getAD_Column_ID() 47 { 48 Integer ii = (Integer )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 (AD_Role_ID)); 55 } 56 public int getAD_Role_ID() 57 { 58 Integer ii = (Integer )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 (AD_Table_ID)); 67 } 68 public int getAD_Table_ID() 69 { 70 Integer ii = (Integer )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 (IsExclude)); 77 } 78 public boolean isExclude() 79 { 80 Boolean bb = (Boolean )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 (IsReadOnly)); 87 } 88 public boolean isReadOnly() 89 { 90 Boolean bb = (Boolean )getValue("IsReadOnly"); 91 if (bb != null) return bb.booleanValue(); 92 return false; 93 } 94 } 95
| Popular Tags
|