1 22 package org.jboss.ejb3.metamodel; 23 24 import java.util.ArrayList ; 25 import java.util.List ; 26 27 31 public class MessageProperties 32 { 33 private List methods = new ArrayList (); 34 private String delivery; 35 private String priority; 36 private String className; 37 38 public List getMethods() 39 { 40 return methods; 41 } 42 43 public void addMethod(Method method) 44 { 45 methods.add(method); 46 } 47 48 public String getDelivery() 49 { 50 return delivery; 51 } 52 53 public void setDelivery(String delivery) 54 { 55 this.delivery = delivery; 56 } 57 58 public String getClassName() 59 { 60 return className; 61 } 62 63 public void setClassName(String className) 64 { 65 this.className = className; 66 } 67 68 public String getPriority() 69 { 70 return priority; 71 } 72 73 public void setPriority(String priority) 74 { 75 this.priority = priority; 76 } 77 78 public String toString() 79 { 80 StringBuffer sb = new StringBuffer (100); 81 sb.append("["); 82 sb.append("className=").append(className); 83 sb.append(", priority=").append(priority); 84 sb.append(", delivery=").append(delivery); 85 sb.append(", methods=").append(methods); 86 sb.append("]"); 87 return sb.toString(); 88 } 89 90 } 91 | Popular Tags |