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_Record_Access extends PO 11 { 12 13 public X_AD_Record_Access (Properties ctx, int AD_Record_Access_ID) 14 { 15 super (ctx, AD_Record_Access_ID); 16 25 } 26 27 public X_AD_Record_Access (Properties ctx, ResultSet rs) 28 { 29 super (ctx, rs); 30 } 31 32 protected POInfo initPO (Properties ctx) 33 { 34 int AD_Table_ID = 567; 35 POInfo poi = POInfo.getPOInfo (ctx, AD_Table_ID); 36 return poi; 37 } 38 public String toString() 39 { 40 StringBuffer sb = new StringBuffer ("X_AD_Record_Access[").append(getID()).append("]"); 41 return sb.toString(); 42 } 43 void setAD_Role_ID (int AD_Role_ID) 44 { 45 setValueNoCheck ("AD_Role_ID", new Integer (AD_Role_ID)); 46 } 47 public int getAD_Role_ID() 48 { 49 Integer ii = (Integer )getValue("AD_Role_ID"); 50 if (ii == null) return 0; 51 return ii.intValue(); 52 } 53 void setAD_Table_ID (int AD_Table_ID) 54 { 55 setValueNoCheck ("AD_Table_ID", new Integer (AD_Table_ID)); 56 } 57 public int getAD_Table_ID() 58 { 59 Integer ii = (Integer )getValue("AD_Table_ID"); 60 if (ii == null) return 0; 61 return ii.intValue(); 62 } 63 public void setIsDependentEntities (boolean IsDependentEntities) 64 { 65 setValue ("IsDependentEntities", new Boolean (IsDependentEntities)); 66 } 67 public boolean isDependentEntities() 68 { 69 Boolean bb = (Boolean )getValue("IsDependentEntities"); 70 if (bb != null) return bb.booleanValue(); 71 return false; 72 } 73 public void setIsExclude (boolean IsExclude) 74 { 75 setValue ("IsExclude", new Boolean (IsExclude)); 76 } 77 public boolean isExclude() 78 { 79 Boolean bb = (Boolean )getValue("IsExclude"); 80 if (bb != null) return bb.booleanValue(); 81 return false; 82 } 83 public void setIsReadOnly (boolean IsReadOnly) 84 { 85 setValue ("IsReadOnly", new Boolean (IsReadOnly)); 86 } 87 public boolean isReadOnly() 88 { 89 Boolean bb = (Boolean )getValue("IsReadOnly"); 90 if (bb != null) return bb.booleanValue(); 91 return false; 92 } 93 public void setRecord_ID (int Record_ID) 94 { 95 setValue ("Record_ID", new Integer (Record_ID)); 96 } 97 public int getRecord_ID() 98 { 99 Integer ii = (Integer )getValue("Record_ID"); 100 if (ii == null) return 0; 101 return ii.intValue(); 102 } 103 } 104
| Popular Tags
|