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_R_ContactInterest extends PO 11 { 12 13 public X_R_ContactInterest (Properties ctx, int R_ContactInterest_ID) 14 { 15 super (ctx, R_ContactInterest_ID); 16 22 } 23 24 public X_R_ContactInterest (Properties ctx, ResultSet rs) 25 { 26 super (ctx, rs); 27 } 28 29 protected POInfo initPO (Properties ctx) 30 { 31 int AD_Table_ID = 528; 32 POInfo poi = POInfo.getPOInfo (ctx, AD_Table_ID); 33 return poi; 34 } 35 public String toString() 36 { 37 StringBuffer sb = new StringBuffer ("X_R_ContactInterest[").append(getID()).append("]"); 38 return sb.toString(); 39 } 40 void setAD_User_ID (int AD_User_ID) 41 { 42 setValueNoCheck ("AD_User_ID", new Integer (AD_User_ID)); 43 } 44 public int getAD_User_ID() 45 { 46 Integer ii = (Integer )getValue("AD_User_ID"); 47 if (ii == null) return 0; 48 return ii.intValue(); 49 } 50 void setOptOutDate (Timestamp OptOutDate) 51 { 52 setValueNoCheck ("OptOutDate", OptOutDate); 53 } 54 public Timestamp getOptOutDate() 55 { 56 return (Timestamp)getValue("OptOutDate"); 57 } 58 void setR_InterestArea_ID (int R_InterestArea_ID) 59 { 60 setValueNoCheck ("R_InterestArea_ID", new Integer (R_InterestArea_ID)); 61 } 62 public int getR_InterestArea_ID() 63 { 64 Integer ii = (Integer )getValue("R_InterestArea_ID"); 65 if (ii == null) return 0; 66 return ii.intValue(); 67 } 68 void setSubscribeDate (Timestamp SubscribeDate) 69 { 70 setValueNoCheck ("SubscribeDate", SubscribeDate); 71 } 72 public Timestamp getSubscribeDate() 73 { 74 return (Timestamp)getValue("SubscribeDate"); 75 } 76 } 77 | Popular Tags |