1 23 24 25 package javax.jms; 26 27 import java.util.Enumeration ; 28 29 93 94 public interface MapMessage extends Message { 95 96 97 107 108 boolean 109 getBoolean(String name) throws JMSException ; 110 111 112 122 123 byte 124 getByte(String name) throws JMSException ; 125 126 127 137 138 short 139 getShort(String name) throws JMSException ; 140 141 142 152 153 char 154 getChar(String name) throws JMSException ; 155 156 157 167 168 int 169 getInt(String name) throws JMSException ; 170 171 172 182 183 long 184 getLong(String name) throws JMSException ; 185 186 187 197 198 float 199 getFloat(String name) throws JMSException ; 200 201 202 212 213 double 214 getDouble(String name) throws JMSException ; 215 216 217 228 229 String 230 getString(String name) throws JMSException ; 231 232 233 245 246 byte[] 247 getBytes(String name) throws JMSException ; 248 249 250 271 272 Object 273 getObject(String name) throws JMSException ; 274 275 276 277 285 286 Enumeration 287 getMapNames() throws JMSException ; 288 289 290 302 303 void 304 setBoolean(String name, boolean value) throws JMSException ; 305 306 307 319 320 void 321 setByte(String name, byte value) 322 throws JMSException ; 323 324 325 337 338 void 339 setShort(String name, short value) 340 throws JMSException ; 341 342 343 355 356 void 357 setChar(String name, char value) 358 throws JMSException ; 359 360 361 373 374 void 375 setInt(String name, int value) 376 throws JMSException ; 377 378 379 391 392 void 393 setLong(String name, long value) 394 throws JMSException ; 395 396 397 409 410 void 411 setFloat(String name, float value) 412 throws JMSException ; 413 414 415 427 428 void 429 setDouble(String name, double value) 430 throws JMSException ; 431 432 433 445 446 void 447 setString(String name, String value) 448 throws JMSException ; 449 450 451 465 466 void 467 setBytes(String name, byte[] value) 468 throws JMSException ; 469 470 471 486 487 void 488 setBytes(String name, byte[] value, 489 int offset, int length) 490 throws JMSException ; 491 492 493 511 512 void 513 setObject(String name, Object value) 514 throws JMSException ; 515 516 517 526 527 boolean 528 itemExists(String name) throws JMSException ; 529 } 530 | Popular Tags |