1 64 65 package com.jcorporate.expresso.ext.dbobj; 66 67 import com.jcorporate.expresso.core.controller.ControllerRequest; 68 import com.jcorporate.expresso.core.db.DBException; 69 import com.jcorporate.expresso.core.dbobj.SecuredDBObject; 70 71 72 79 public class PerfTestSetDet 80 extends SecuredDBObject { 81 86 public PerfTestSetDet() 87 throws DBException { 88 super(); 89 } 90 91 92 99 public PerfTestSetDet(int uid) 100 throws DBException { 101 super(uid); 102 } 103 104 111 public PerfTestSetDet(ControllerRequest request) 112 throws DBException { 113 super(request); 114 } 115 116 119 public void setupFields() 120 throws DBException { 121 setTargetTable("PTESTSETDET"); 122 setDescription("DBptestSetDet"); 123 setCharset("ISO-8859-1"); 124 addField("SetNumber", "int", 0, false, "setNumber"); 125 addField("SequenceNumber", "int", 0, false, "sequence"); 126 addField("TestNumber", "int", 0, false, "testNumber"); 127 addKey("SetNumber"); 128 addKey("SequenceNumber"); 129 setLookupObject("SetNumber", 130 "com.jcorporate.expresso.ext.dbobj.PerfTestSet"); 131 setMultiValued("SetNumber"); 132 setLookupObject("TestNumber", 133 "com.jcorporate.expresso.ext.dbobj.PerfTests"); 134 } 135 136 137 } 138 139 | Popular Tags |