1 58 package org.apache.ecs.vxml; 59 60 65 public class Transfer extends VXMLElement 66 { 67 68 72 public Transfer() 73 { 74 super("transfer"); 75 } 76 77 88 public Transfer(String name, String expr, String cond, String dest, 89 String destexpr, String bridge, String connecttime, String maxtime) 90 { 91 this(); 92 setName(name); 93 setExpr(expr); 94 setCond(cond); 95 setDest(dest); 96 setDestexpr(destexpr); 97 setBridge(bridge); 98 setConnecttime(connecttime); 99 setMaxtime(maxtime); 100 } 101 102 108 public Transfer(String name, String dest, String bridge) 109 { 110 this(); 111 setName(name); 112 setDest(dest); 113 setBridge(bridge); 114 } 115 116 120 public Transfer setName(String name) 121 { 122 addAttribute("name", name); 123 return this; 124 } 125 126 130 public Transfer setExpr(String expr) 131 { 132 addAttribute("expr", expr); 133 return this; 134 } 135 136 140 public Transfer setCond(String cond) 141 { 142 addAttribute("cond", cond); 143 return this; 144 } 145 146 150 public Transfer setDest(String dest) 151 { 152 addAttribute("dest", dest); 153 return this; 154 } 155 156 160 public Transfer setDestexpr(String destexpr) 161 { 162 addAttribute("destexpr", destexpr); 163 return this; 164 } 165 166 170 public Transfer setBridge(String bridge) 171 { 172 addAttribute("bridge", bridge); 173 return this; 174 } 175 176 180 public Transfer setConnecttime(String connecttime) 181 { 182 addAttribute("connecttime", connecttime); 183 return this; 184 } 185 186 190 public Transfer setMaxtime(String maxtime) 191 { 192 addAttribute("maxtime", maxtime); 193 return this; 194 } 195 196 } 197 | Popular Tags |