1 17 18 19 package org.apache.catalina.deploy; 20 21 import java.io.Serializable ; 22 23 24 32 33 public class ContextResourceEnvRef extends ResourceBase implements Serializable { 34 35 36 38 42 private boolean override = true; 43 44 public boolean getOverride() { 45 return (this.override); 46 } 47 48 public void setOverride(boolean override) { 49 this.override = override; 50 } 51 52 54 55 58 public String toString() { 59 60 StringBuffer sb = new StringBuffer ("ContextResourceEnvRef["); 61 sb.append("name="); 62 sb.append(getName()); 63 if (getType() != null) { 64 sb.append(", type="); 65 sb.append(getType()); 66 } 67 sb.append(", override="); 68 sb.append(override); 69 sb.append("]"); 70 return (sb.toString()); 71 72 } 73 74 75 76 } 77 | Popular Tags |