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_PaymentBatch extends PO 11 { 12 13 public X_C_PaymentBatch (Properties ctx, int C_PaymentBatch_ID) 14 { 15 super (ctx, C_PaymentBatch_ID); 16 25 } 26 27 public X_C_PaymentBatch (Properties ctx, ResultSet rs) 28 { 29 super (ctx, rs); 30 } 31 32 protected POInfo initPO (Properties ctx) 33 { 34 int AD_Table_ID = 411; 35 POInfo poi = POInfo.getPOInfo (ctx, AD_Table_ID); 36 return poi; 37 } 38 public String toString() 39 { 40 StringBuffer sb = new StringBuffer ("X_C_PaymentBatch[").append(getID()).append("]"); 41 return sb.toString(); 42 } 43 void setC_PaymentBatch_ID (int C_PaymentBatch_ID) 44 { 45 setValueNoCheck ("C_PaymentBatch_ID", new Integer (C_PaymentBatch_ID)); 46 } 47 public int getC_PaymentBatch_ID() 48 { 49 Integer ii = (Integer )getValue("C_PaymentBatch_ID"); 50 if (ii == null) return 0; 51 return ii.intValue(); 52 } 53 public void setC_PaymentProcessor_ID (int C_PaymentProcessor_ID) 54 { 55 setValue ("C_PaymentProcessor_ID", new Integer (C_PaymentProcessor_ID)); 56 } 57 public int getC_PaymentProcessor_ID() 58 { 59 Integer ii = (Integer )getValue("C_PaymentProcessor_ID"); 60 if (ii == null) return 0; 61 return ii.intValue(); 62 } 63 public void setDocumentNo (String DocumentNo) 64 { 65 setValue ("DocumentNo", DocumentNo); 66 } 67 public String getDocumentNo() 68 { 69 return (String )getValue("DocumentNo"); 70 } 71 public void setName (String Name) 72 { 73 if (Name == null) throw new IllegalArgumentException ("Name is mandatory"); 74 setValue ("Name", Name); 75 } 76 public String getName() 77 { 78 return (String )getValue("Name"); 79 } 80 public void setProcessed (boolean Processed) 81 { 82 setValue ("Processed", new Boolean (Processed)); 83 } 84 public boolean isProcessed() 85 { 86 Boolean bb = (Boolean )getValue("Processed"); 87 if (bb != null) return bb.booleanValue(); 88 return false; 89 } 90 public void setProcessing (String Processing) 91 { 92 if (Processing == null) throw new IllegalArgumentException ("Processing is mandatory"); 93 setValue ("Processing", Processing); 94 } 95 public String getProcessing() 96 { 97 return (String )getValue("Processing"); 98 } 99 public void setProcessingDate (Timestamp ProcessingDate) 100 { 101 setValue ("ProcessingDate", ProcessingDate); 102 } 103 public Timestamp getProcessingDate() 104 { 105 return (Timestamp)getValue("ProcessingDate"); 106 } 107 } 108
| Popular Tags
|