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_S_Training extends PO 11 { 12 13 public X_S_Training (Properties ctx, int S_Training_ID) 14 { 15 super (ctx, S_Training_ID); 16 25 } 26 27 public X_S_Training (Properties ctx, ResultSet rs) 28 { 29 super (ctx, rs); 30 } 31 32 protected POInfo initPO (Properties ctx) 33 { 34 int AD_Table_ID = 538; 35 POInfo poi = POInfo.getPOInfo (ctx, AD_Table_ID); 36 return poi; 37 } 38 public String toString() 39 { 40 StringBuffer sb = new StringBuffer ("X_S_Training[").append(getID()).append("]"); 41 return sb.toString(); 42 } 43 public void setC_TaxCategory_ID (int C_TaxCategory_ID) 44 { 45 setValue ("C_TaxCategory_ID", new Integer (C_TaxCategory_ID)); 46 } 47 public int getC_TaxCategory_ID() 48 { 49 Integer ii = (Integer )getValue("C_TaxCategory_ID"); 50 if (ii == null) return 0; 51 return ii.intValue(); 52 } 53 public void setC_UOM_ID (int C_UOM_ID) 54 { 55 setValue ("C_UOM_ID", new Integer (C_UOM_ID)); 56 } 57 public int getC_UOM_ID() 58 { 59 Integer ii = (Integer )getValue("C_UOM_ID"); 60 if (ii == null) return 0; 61 return ii.intValue(); 62 } 63 public void setDescription (String Description) 64 { 65 setValue ("Description", Description); 66 } 67 public String getDescription() 68 { 69 return (String )getValue("Description"); 70 } 71 public void setDescriptionURL (String DescriptionURL) 72 { 73 setValue ("DescriptionURL", DescriptionURL); 74 } 75 public String getDescriptionURL() 76 { 77 return (String )getValue("DescriptionURL"); 78 } 79 public void setDocumentNote (String DocumentNote) 80 { 81 setValue ("DocumentNote", DocumentNote); 82 } 83 public String getDocumentNote() 84 { 85 return (String )getValue("DocumentNote"); 86 } 87 public void setHelp (String Help) 88 { 89 setValue ("Help", Help); 90 } 91 public String getHelp() 92 { 93 return (String )getValue("Help"); 94 } 95 public void setImageURL (String ImageURL) 96 { 97 setValue ("ImageURL", ImageURL); 98 } 99 public String getImageURL() 100 { 101 return (String )getValue("ImageURL"); 102 } 103 public void setM_Product_Category_ID (int M_Product_Category_ID) 104 { 105 setValue ("M_Product_Category_ID", new Integer (M_Product_Category_ID)); 106 } 107 public int getM_Product_Category_ID() 108 { 109 Integer ii = (Integer )getValue("M_Product_Category_ID"); 110 if (ii == null) return 0; 111 return ii.intValue(); 112 } 113 public void setName (String Name) 114 { 115 if (Name == null) throw new IllegalArgumentException ("Name is mandatory"); 116 setValue ("Name", Name); 117 } 118 public String getName() 119 { 120 return (String )getValue("Name"); 121 } 122 public void setProcessing (String Processing) 123 { 124 setValue ("Processing", Processing); 125 } 126 public String getProcessing() 127 { 128 return (String )getValue("Processing"); 129 } 130 void setS_Training_ID (int S_Training_ID) 131 { 132 setValueNoCheck ("S_Training_ID", new Integer (S_Training_ID)); 133 } 134 public int getS_Training_ID() 135 { 136 Integer ii = (Integer )getValue("S_Training_ID"); 137 if (ii == null) return 0; 138 return ii.intValue(); 139 } 140 } 141 | Popular Tags |