1 17 18 19 package org.apache.catalina.deploy; 20 21 import java.io.Serializable ; 22 23 24 33 34 public class ContextLocalEjb extends ResourceBase implements Serializable { 35 36 37 39 42 private String home = null; 43 44 public String getHome() { 45 return (this.home); 46 } 47 48 public void setHome(String home) { 49 this.home = home; 50 } 51 52 53 56 private String link = null; 57 58 public String getLink() { 59 return (this.link); 60 } 61 62 public void setLink(String link) { 63 this.link = link; 64 } 65 66 67 70 private String local = null; 71 72 public String getLocal() { 73 return (this.local); 74 } 75 76 public void setLocal(String local) { 77 this.local = local; 78 } 79 80 81 83 84 87 public String toString() { 88 89 StringBuffer sb = new StringBuffer ("ContextLocalEjb["); 90 sb.append("name="); 91 sb.append(getName()); 92 if (getDescription() != null) { 93 sb.append(", description="); 94 sb.append(getDescription()); 95 } 96 if (getType() != null) { 97 sb.append(", type="); 98 sb.append(getType()); 99 } 100 if (home != null) { 101 sb.append(", home="); 102 sb.append(home); 103 } 104 if (link != null) { 105 sb.append(", link="); 106 sb.append(link); 107 } 108 if (local != null) { 109 sb.append(", local="); 110 sb.append(local); 111 } 112 sb.append("]"); 113 return (sb.toString()); 114 115 } 116 } 117 | Popular Tags |