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