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_BankAccount_Acct extends PO 11 { 12 13 public X_C_BankAccount_Acct (Properties ctx, int C_BankAccount_Acct_ID) 14 { 15 super (ctx, C_BankAccount_Acct_ID); 16 34 } 35 36 public X_C_BankAccount_Acct (Properties ctx, ResultSet rs) 37 { 38 super (ctx, rs); 39 } 40 41 protected POInfo initPO (Properties ctx) 42 { 43 int AD_Table_ID = 391; 44 POInfo poi = POInfo.getPOInfo (ctx, AD_Table_ID); 45 return poi; 46 } 47 public String toString() 48 { 49 StringBuffer sb = new StringBuffer ("X_C_BankAccount_Acct[").append(getID()).append("]"); 50 return sb.toString(); 51 } 52 public void setB_Asset_Acct (String B_Asset_Acct) 53 { 54 if (B_Asset_Acct == null) throw new IllegalArgumentException ("B_Asset_Acct is mandatory"); 55 setValue ("B_Asset_Acct", B_Asset_Acct); 56 } 57 public String getB_Asset_Acct() 58 { 59 return (String )getValue("B_Asset_Acct"); 60 } 61 public void setB_Expense_Acct (String B_Expense_Acct) 62 { 63 if (B_Expense_Acct == null) throw new IllegalArgumentException ("B_Expense_Acct is mandatory"); 64 setValue ("B_Expense_Acct", B_Expense_Acct); 65 } 66 public String getB_Expense_Acct() 67 { 68 return (String )getValue("B_Expense_Acct"); 69 } 70 public void setB_InTransit_Acct (String B_InTransit_Acct) 71 { 72 if (B_InTransit_Acct == null) throw new IllegalArgumentException ("B_InTransit_Acct is mandatory"); 73 setValue ("B_InTransit_Acct", B_InTransit_Acct); 74 } 75 public String getB_InTransit_Acct() 76 { 77 return (String )getValue("B_InTransit_Acct"); 78 } 79 public void setB_InterestExp_Acct (String B_InterestExp_Acct) 80 { 81 if (B_InterestExp_Acct == null) throw new IllegalArgumentException ("B_InterestExp_Acct is mandatory"); 82 setValue ("B_InterestExp_Acct", B_InterestExp_Acct); 83 } 84 public String getB_InterestExp_Acct() 85 { 86 return (String )getValue("B_InterestExp_Acct"); 87 } 88 public void setB_InterestRev_Acct (String B_InterestRev_Acct) 89 { 90 if (B_InterestRev_Acct == null) throw new IllegalArgumentException ("B_InterestRev_Acct is mandatory"); 91 setValue ("B_InterestRev_Acct", B_InterestRev_Acct); 92 } 93 public String getB_InterestRev_Acct() 94 { 95 return (String )getValue("B_InterestRev_Acct"); 96 } 97 public void setB_PaymentSelect_Acct (String B_PaymentSelect_Acct) 98 { 99 if (B_PaymentSelect_Acct == null) throw new IllegalArgumentException ("B_PaymentSelect_Acct is mandatory"); 100 setValue ("B_PaymentSelect_Acct", B_PaymentSelect_Acct); 101 } 102 public String getB_PaymentSelect_Acct() 103 { 104 return (String )getValue("B_PaymentSelect_Acct"); 105 } 106 public void setB_RevaluationGain_Acct (String B_RevaluationGain_Acct) 107 { 108 if (B_RevaluationGain_Acct == null) throw new IllegalArgumentException ("B_RevaluationGain_Acct is mandatory"); 109 setValue ("B_RevaluationGain_Acct", B_RevaluationGain_Acct); 110 } 111 public String getB_RevaluationGain_Acct() 112 { 113 return (String )getValue("B_RevaluationGain_Acct"); 114 } 115 public void setB_RevaluationLoss_Acct (String B_RevaluationLoss_Acct) 116 { 117 if (B_RevaluationLoss_Acct == null) throw new IllegalArgumentException ("B_RevaluationLoss_Acct is mandatory"); 118 setValue ("B_RevaluationLoss_Acct", B_RevaluationLoss_Acct); 119 } 120 public String getB_RevaluationLoss_Acct() 121 { 122 return (String )getValue("B_RevaluationLoss_Acct"); 123 } 124 public void setB_SettlementGain_Acct (String B_SettlementGain_Acct) 125 { 126 if (B_SettlementGain_Acct == null) throw new IllegalArgumentException ("B_SettlementGain_Acct is mandatory"); 127 setValue ("B_SettlementGain_Acct", B_SettlementGain_Acct); 128 } 129 public String getB_SettlementGain_Acct() 130 { 131 return (String )getValue("B_SettlementGain_Acct"); 132 } 133 public void setB_SettlementLoss_Acct (String B_SettlementLoss_Acct) 134 { 135 if (B_SettlementLoss_Acct == null) throw new IllegalArgumentException ("B_SettlementLoss_Acct is mandatory"); 136 setValue ("B_SettlementLoss_Acct", B_SettlementLoss_Acct); 137 } 138 public String getB_SettlementLoss_Acct() 139 { 140 return (String )getValue("B_SettlementLoss_Acct"); 141 } 142 public void setB_UnallocatedCash_Acct (String B_UnallocatedCash_Acct) 143 { 144 if (B_UnallocatedCash_Acct == null) throw new IllegalArgumentException ("B_UnallocatedCash_Acct is mandatory"); 145 setValue ("B_UnallocatedCash_Acct", B_UnallocatedCash_Acct); 146 } 147 public String getB_UnallocatedCash_Acct() 148 { 149 return (String )getValue("B_UnallocatedCash_Acct"); 150 } 151 public void setB_Unidentified_Acct (String B_Unidentified_Acct) 152 { 153 if (B_Unidentified_Acct == null) throw new IllegalArgumentException ("B_Unidentified_Acct is mandatory"); 154 setValue ("B_Unidentified_Acct", B_Unidentified_Acct); 155 } 156 public String getB_Unidentified_Acct() 157 { 158 return (String )getValue("B_Unidentified_Acct"); 159 } 160 void setC_AcctSchema_ID (int C_AcctSchema_ID) 161 { 162 setValueNoCheck ("C_AcctSchema_ID", new Integer (C_AcctSchema_ID)); 163 } 164 public int getC_AcctSchema_ID() 165 { 166 Integer ii = (Integer )getValue("C_AcctSchema_ID"); 167 if (ii == null) return 0; 168 return ii.intValue(); 169 } 170 void setC_BankAccount_ID (int C_BankAccount_ID) 171 { 172 setValueNoCheck ("C_BankAccount_ID", new Integer (C_BankAccount_ID)); 173 } 174 public int getC_BankAccount_ID() 175 { 176 Integer ii = (Integer )getValue("C_BankAccount_ID"); 177 if (ii == null) return 0; 178 return ii.intValue(); 179 } 180 } 181 | Popular Tags |