1 17 18 19 package org.apache.catalina.deploy; 20 21 import java.io.Serializable ; 22 23 24 34 35 public class ApplicationParameter implements Serializable { 36 37 38 40 41 44 private String description = null; 45 46 public String getDescription() { 47 return (this.description); 48 } 49 50 public void setDescription(String description) { 51 this.description = description; 52 } 53 54 55 58 private String name = null; 59 60 public String getName() { 61 return (this.name); 62 } 63 64 public void setName(String name) { 65 this.name = name; 66 } 67 68 69 73 private boolean override = true; 74 75 public boolean getOverride() { 76 return (this.override); 77 } 78 79 public void setOverride(boolean override) { 80 this.override = override; 81 } 82 83 84 87 private String value = null; 88 89 public String getValue() { 90 return (this.value); 91 } 92 93 public void setValue(String value) { 94 this.value = value; 95 } 96 97 99 100 103 public String toString() { 104 105 StringBuffer sb = new StringBuffer ("ApplicationParameter["); 106 sb.append("name="); 107 sb.append(name); 108 if (description != null) { 109 sb.append(", description="); 110 sb.append(description); 111 } 112 sb.append(", value="); 113 sb.append(value); 114 sb.append(", override="); 115 sb.append(override); 116 sb.append("]"); 117 return (sb.toString()); 118 119 } 120 121 122 } 123 | Popular Tags |