1 17 18 19 package org.apache.catalina.deploy; 20 21 22 31 32 public class MessageDestination { 33 34 35 37 38 41 private String description = null; 42 43 public String getDescription() { 44 return (this.description); 45 } 46 47 public void setDescription(String description) { 48 this.description = description; 49 } 50 51 52 55 private String displayName = null; 56 57 public String getDisplayName() { 58 return (this.displayName); 59 } 60 61 public void setDisplayName(String displayName) { 62 this.displayName = displayName; 63 } 64 65 66 69 private String largeIcon = null; 70 71 public String getLargeIcon() { 72 return (this.largeIcon); 73 } 74 75 public void setLargeIcon(String largeIcon) { 76 this.largeIcon = largeIcon; 77 } 78 79 80 83 private String name = null; 84 85 public String getName() { 86 return (this.name); 87 } 88 89 public void setName(String name) { 90 this.name = name; 91 } 92 93 94 97 private String smallIcon = null; 98 99 public String getSmallIcon() { 100 return (this.smallIcon); 101 } 102 103 public void setSmallIcon(String smallIcon) { 104 this.smallIcon = smallIcon; 105 } 106 107 108 110 111 114 public String toString() { 115 116 StringBuffer sb = new StringBuffer ("MessageDestination["); 117 sb.append("name="); 118 sb.append(name); 119 if (displayName != null) { 120 sb.append(", displayName="); 121 sb.append(displayName); 122 } 123 if (largeIcon != null) { 124 sb.append(", largeIcon="); 125 sb.append(largeIcon); 126 } 127 if (smallIcon != null) { 128 sb.append(", smallIcon="); 129 sb.append(smallIcon); 130 } 131 if (description != null) { 132 sb.append(", description="); 133 sb.append(description); 134 } 135 sb.append("]"); 136 return (sb.toString()); 137 138 } 139 140 141 } 142 | Popular Tags |