1 22 package org.jboss.ejb3.metamodel; 23 24 import org.jboss.logging.Logger; 25 26 33 public class MessageDrivenDestination 34 { 35 private static final Logger log = Logger.getLogger(MessageDrivenDestination.class); 36 37 private String destinationType; 39 40 private String subscriptionDurability; 41 42 public String getDestinationType() 43 { 44 return destinationType; 45 } 46 47 public void setDestinationType(String destinationType) 48 { 49 this.destinationType = destinationType; 50 } 51 52 public String getSubscriptionDurability() 53 { 54 return subscriptionDurability; 55 } 56 57 public void setSubscriptionDurability(String subscriptionDurability) 58 { 59 this.subscriptionDurability = subscriptionDurability; 60 } 61 62 public String toString() 63 { 64 StringBuffer sb = new StringBuffer (100); 65 sb.append('['); 66 sb.append("destinationType=").append(destinationType); 67 sb.append(']'); 68 return sb.toString(); 69 } 70 } 71 | Popular Tags |