1 58 package org.apache.ecs.jsp; 59 60 65 public class tsx_dbconnect extends jsp_element 66 { 67 68 72 public tsx_dbconnect() 73 { 74 super("tsx:dbconnect"); 75 } 76 77 78 86 public tsx_dbconnect(String id, String url, String driver, String userid, String passwd) 87 { 88 this(); 89 setId(id); 90 setUrl(url); 91 setDriver(driver); 92 setUserid(userid); 93 setPasswd(passwd); 94 } 95 96 100 public tsx_dbconnect setId(String id) 101 { 102 addAttribute("id", id); 103 return this; 104 } 105 106 110 public tsx_dbconnect setUrl(String url) 111 { 112 addAttribute("url", url); 113 return this; 114 } 115 116 120 public tsx_dbconnect setDriver(String driver) 121 { 122 addAttribute("driver", driver); 123 return this; 124 } 125 126 130 public tsx_dbconnect setUserid(String userid) 131 { 132 addAttribute("userid", userid); 133 return this; 134 } 135 136 140 public tsx_dbconnect setPasswd(String passwd) 141 { 142 addAttribute("passwd", passwd); 143 return this; 144 } 145 146 } 147 | Popular Tags |