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_Sequence_Audit extends PO 11 { 12 13 public X_AD_Sequence_Audit (Properties ctx, int AD_Sequence_Audit_ID) 14 { 15 super (ctx, AD_Sequence_Audit_ID); 16 24 } 25 26 public X_AD_Sequence_Audit (Properties ctx, ResultSet rs) 27 { 28 super (ctx, rs); 29 } 30 31 protected POInfo initPO (Properties ctx) 32 { 33 int AD_Table_ID = 121; 34 POInfo poi = POInfo.getPOInfo (ctx, AD_Table_ID); 35 return poi; 36 } 37 public String toString() 38 { 39 StringBuffer sb = new StringBuffer ("X_AD_Sequence_Audit[").append(getID()).append("]"); 40 return sb.toString(); 41 } 42 void setAD_Sequence_ID (int AD_Sequence_ID) 43 { 44 setValueNoCheck ("AD_Sequence_ID", new Integer (AD_Sequence_ID)); 45 } 46 public int getAD_Sequence_ID() 47 { 48 Integer ii = (Integer )getValue("AD_Sequence_ID"); 49 if (ii == null) return 0; 50 return ii.intValue(); 51 } 52 void setAD_Table_ID (int AD_Table_ID) 53 { 54 setValueNoCheck ("AD_Table_ID", new Integer (AD_Table_ID)); 55 } 56 public int getAD_Table_ID() 57 { 58 Integer ii = (Integer )getValue("AD_Table_ID"); 59 if (ii == null) return 0; 60 return ii.intValue(); 61 } 62 void setDocumentNo (String DocumentNo) 63 { 64 if (DocumentNo == null) throw new IllegalArgumentException ("DocumentNo is mandatory"); 65 setValueNoCheck ("DocumentNo", DocumentNo); 66 } 67 public String getDocumentNo() 68 { 69 return (String )getValue("DocumentNo"); 70 } 71 void setRecord_ID (int Record_ID) 72 { 73 setValueNoCheck ("Record_ID", new Integer (Record_ID)); 74 } 75 public int getRecord_ID() 76 { 77 Integer ii = (Integer )getValue("Record_ID"); 78 if (ii == null) return 0; 79 return ii.intValue(); 80 } 81 } 82 | Popular Tags |