1 58 package org.apache.ecs.vxml; 59 60 65 public class Record extends VXMLElement 66 { 67 68 72 public Record() 73 { 74 super("record"); 75 } 76 77 78 83 public Record(String name, String expr) 84 { 85 this(); 86 setName(name); 87 setExpr(expr); 88 } 89 90 94 public Record(String name) 95 { 96 this(); 97 setName(name); 98 } 99 100 104 public Record setName(String name) 105 { 106 addAttribute("name", name); 107 return this; 108 } 109 110 114 public Record setExpr(String expr) 115 { 116 addAttribute("expr", expr); 117 return this; 118 } 119 120 124 public Record setCond(String cond) 125 { 126 addAttribute("cond", cond); 127 return this; 128 } 129 130 134 public Record setModal(String modal) 135 { 136 addAttribute("modal", modal); 137 return this; 138 } 139 140 144 public Record setBeep(String beep) 145 { 146 addAttribute("beep", beep); 147 return this; 148 } 149 150 154 public Record setMaxtime(String maxtime) 155 { 156 addAttribute("maxtime", maxtime); 157 return this; 158 } 159 160 164 public Record setFinalsilence(String finalsilence) 165 { 166 addAttribute("finalsilence", finalsilence); 167 return this; 168 } 169 170 174 public Record setDtmfterm(String dtmfterm) 175 { 176 addAttribute("dtmfterm", dtmfterm); 177 return this; 178 } 179 180 184 public Record setType(String t) 185 { 186 addAttribute("type", t); 187 return this; 188 } 189 190 191 } 192 | Popular Tags |