1 17 18 19 package org.apache.catalina.deploy; 20 21 import java.io.Serializable ; 22 23 24 33 34 public class MessageDestinationRef implements Serializable { 35 36 37 39 40 43 private String description = null; 44 45 public String getDescription() { 46 return (this.description); 47 } 48 49 public void setDescription(String description) { 50 this.description = description; 51 } 52 53 54 57 private String link = null; 58 59 public String getLink() { 60 return (this.link); 61 } 62 63 public void setLink(String link) { 64 this.link = link; 65 } 66 67 68 71 private String name = null; 72 73 public String getName() { 74 return (this.name); 75 } 76 77 public void setName(String name) { 78 this.name = name; 79 } 80 81 82 85 private String type = null; 86 87 public String getType() { 88 return (this.type); 89 } 90 91 public void setType(String type) { 92 this.type = type; 93 } 94 95 96 99 private String usage = null; 100 101 public String getUsage() { 102 return (this.usage); 103 } 104 105 public void setUsage(String usage) { 106 this.usage = usage; 107 } 108 109 110 112 113 116 public String toString() { 117 118 StringBuffer sb = new StringBuffer ("MessageDestination["); 119 sb.append("name="); 120 sb.append(name); 121 if (link != null) { 122 sb.append(", link="); 123 sb.append(link); 124 } 125 if (type != null) { 126 sb.append(", type="); 127 sb.append(type); 128 } 129 if (usage != null) { 130 sb.append(", usage="); 131 sb.append(usage); 132 } 133 if (description != null) { 134 sb.append(", description="); 135 sb.append(description); 136 } 137 sb.append("]"); 138 return (sb.toString()); 139 140 } 141 142 143 145 146 149 protected NamingResources resources = null; 150 151 public NamingResources getNamingResources() { 152 return (this.resources); 153 } 154 155 void setNamingResources(NamingResources resources) { 156 this.resources = resources; 157 } 158 159 160 } 161 | Popular Tags |