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_C_BP_Employee_Acct extends PO 11 { 12 13 public X_C_BP_Employee_Acct (Properties ctx, int C_BP_Employee_Acct_ID) 14 { 15 super (ctx, C_BP_Employee_Acct_ID); 16 24 } 25 26 public X_C_BP_Employee_Acct (Properties ctx, ResultSet rs) 27 { 28 super (ctx, rs); 29 } 30 31 protected POInfo initPO (Properties ctx) 32 { 33 int AD_Table_ID = 184; 34 POInfo poi = POInfo.getPOInfo (ctx, AD_Table_ID); 35 return poi; 36 } 37 public String toString() 38 { 39 StringBuffer sb = new StringBuffer ("X_C_BP_Employee_Acct[").append(getID()).append("]"); 40 return sb.toString(); 41 } 42 void setC_AcctSchema_ID (int C_AcctSchema_ID) 43 { 44 setValueNoCheck ("C_AcctSchema_ID", new Integer (C_AcctSchema_ID)); 45 } 46 public int getC_AcctSchema_ID() 47 { 48 Integer ii = (Integer )getValue("C_AcctSchema_ID"); 49 if (ii == null) return 0; 50 return ii.intValue(); 51 } 52 void setC_BPartner_ID (int C_BPartner_ID) 53 { 54 setValueNoCheck ("C_BPartner_ID", new Integer (C_BPartner_ID)); 55 } 56 public int getC_BPartner_ID() 57 { 58 Integer ii = (Integer )getValue("C_BPartner_ID"); 59 if (ii == null) return 0; 60 return ii.intValue(); 61 } 62 public void setE_Expense_Acct (String E_Expense_Acct) 63 { 64 if (E_Expense_Acct == null) throw new IllegalArgumentException ("E_Expense_Acct is mandatory"); 65 setValue ("E_Expense_Acct", E_Expense_Acct); 66 } 67 public String getE_Expense_Acct() 68 { 69 return (String )getValue("E_Expense_Acct"); 70 } 71 public void setE_Prepayment_Acct (String E_Prepayment_Acct) 72 { 73 if (E_Prepayment_Acct == null) throw new IllegalArgumentException ("E_Prepayment_Acct is mandatory"); 74 setValue ("E_Prepayment_Acct", E_Prepayment_Acct); 75 } 76 public String getE_Prepayment_Acct() 77 { 78 return (String )getValue("E_Prepayment_Acct"); 79 } 80 } 81 | Popular Tags |