1 24 package com.scalagent.kjoram.jms; 25 26 import java.util.Hashtable ; 27 import java.util.Enumeration ; 28 29 34 public class GetAdminTopicReply extends AbstractJmsReply 35 { 36 37 private String id; 38 39 45 public GetAdminTopicReply(GetAdminTopicRequest request, String id) 46 { 47 super(request.getRequestId()); 48 this.id = id; 49 } 50 51 54 public GetAdminTopicReply() 55 {} 56 57 58 public void setId(String id) 59 { 60 this.id = id; 61 } 62 63 64 public String getId() 65 { 66 return id; 67 } 68 69 public Hashtable soapCode() { 70 Hashtable h = super.soapCode(); 71 if (id != null) 72 h.put("id",id); 73 return h; 74 } 75 76 public static Object soapDecode(Hashtable h) { 77 GetAdminTopicReply req = new GetAdminTopicReply(); 78 req.setCorrelationId(((Integer ) h.get("correlationId")).intValue()); 79 req.setId((String ) h.get("id")); 80 return req; 81 } 82 } 83 | Popular Tags |