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_Vendor_Acct extends PO 11 { 12 13 public X_C_BP_Vendor_Acct (Properties ctx, int C_BP_Vendor_Acct_ID) 14 { 15 super (ctx, C_BP_Vendor_Acct_ID); 16 24 } 25 26 public X_C_BP_Vendor_Acct (Properties ctx, ResultSet rs) 27 { 28 super (ctx, rs); 29 } 30 31 protected POInfo initPO (Properties ctx) 32 { 33 int AD_Table_ID = 185; 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_Vendor_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 setV_Liability_Acct (String V_Liability_Acct) 63 { 64 if (V_Liability_Acct == null) throw new IllegalArgumentException ("V_Liability_Acct is mandatory"); 65 setValue ("V_Liability_Acct", V_Liability_Acct); 66 } 67 public String getV_Liability_Acct() 68 { 69 return (String )getValue("V_Liability_Acct"); 70 } 71 public void setV_Liability_Services_Acct (String V_Liability_Services_Acct) 72 { 73 setValue ("V_Liability_Services_Acct", V_Liability_Services_Acct); 74 } 75 public String getV_Liability_Services_Acct() 76 { 77 return (String )getValue("V_Liability_Services_Acct"); 78 } 79 public void setV_Prepayment_Acct (String V_Prepayment_Acct) 80 { 81 if (V_Prepayment_Acct == null) throw new IllegalArgumentException ("V_Prepayment_Acct is mandatory"); 82 setValue ("V_Prepayment_Acct", V_Prepayment_Acct); 83 } 84 public String getV_Prepayment_Acct() 85 { 86 return (String )getValue("V_Prepayment_Acct"); 87 } 88 } 89
| Popular Tags
|