1 18 package org.apache.activemq.command; 19 20 import org.apache.activemq.util.IntrospectionSupport; 21 22 23 28 public class SubscriptionInfo implements DataStructure { 29 30 public static final byte DATA_STRUCTURE_TYPE=CommandTypes.DURABLE_SUBSCRIPTION_INFO; 31 32 protected ActiveMQDestination destination; 33 protected String clientId; 34 protected String subcriptionName; 35 protected String selector; 36 37 public byte getDataStructureType() { 38 return DATA_STRUCTURE_TYPE; 39 } 40 41 44 public String getClientId() { 45 return clientId; 46 } 47 48 public void setClientId(String clientId) { 49 this.clientId = clientId; 50 } 51 52 55 public ActiveMQDestination getDestination() { 56 return destination; 57 } 58 59 public void setDestination(ActiveMQDestination destination) { 60 this.destination = destination; 61 } 62 63 66 public String getSelector() { 67 return selector; 68 } 69 70 public void setSelector(String selector) { 71 this.selector = selector; 72 } 73 74 77 public String getSubcriptionName() { 78 return subcriptionName; 79 } 80 81 public void setSubcriptionName(String subcriptionName) { 82 this.subcriptionName = subcriptionName; 83 } 84 85 public boolean isMarshallAware() { 86 return false; 87 } 88 89 public String toString() { 90 return IntrospectionSupport.toString(this); 91 } 92 93 } 94 | Popular Tags |