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_Session extends PO 11 { 12 13 public X_AD_Session (Properties ctx, int AD_Session_ID) 14 { 15 super (ctx, AD_Session_ID); 16 22 } 23 24 public X_AD_Session (Properties ctx, ResultSet rs) 25 { 26 super (ctx, rs); 27 } 28 29 protected POInfo initPO (Properties ctx) 30 { 31 int AD_Table_ID = 566; 32 POInfo poi = POInfo.getPOInfo (ctx, AD_Table_ID); 33 return poi; 34 } 35 public String toString() 36 { 37 StringBuffer sb = new StringBuffer ("X_AD_Session[").append(getID()).append("]"); 38 return sb.toString(); 39 } 40 void setAD_Session_ID (int AD_Session_ID) 41 { 42 setValueNoCheck ("AD_Session_ID", new Integer (AD_Session_ID)); 43 } 44 public int getAD_Session_ID() 45 { 46 Integer ii = (Integer )getValue("AD_Session_ID"); 47 if (ii == null) return 0; 48 return ii.intValue(); 49 } 50 void setProcessed (boolean Processed) 51 { 52 setValueNoCheck ("Processed", new Boolean (Processed)); 53 } 54 public boolean isProcessed() 55 { 56 Boolean bb = (Boolean )getValue("Processed"); 57 if (bb != null) return bb.booleanValue(); 58 return false; 59 } 60 void setRemote_Addr (String Remote_Addr) 61 { 62 setValueNoCheck ("Remote_Addr", Remote_Addr); 63 } 64 public String getRemote_Addr() 65 { 66 return (String )getValue("Remote_Addr"); 67 } 68 void setRemote_Host (String Remote_Host) 69 { 70 setValueNoCheck ("Remote_Host", Remote_Host); 71 } 72 public String getRemote_Host() 73 { 74 return (String )getValue("Remote_Host"); 75 } 76 void setWebSession (String WebSession) 77 { 78 setValueNoCheck ("WebSession", WebSession); 79 } 80 public String getWebSession() 81 { 82 return (String )getValue("WebSession"); 83 } 84 } 85 | Popular Tags |