1 22 package org.jboss.metadata; 23 24 import org.jboss.logging.Logger; 25 26 32 public class JndiRef extends Ref 33 { 34 private static final Logger log = Logger.getLogger(JndiRef.class); 35 36 private String jndiRefName; 37 38 private String mappedName; 39 40 public String getJndiRefName() 41 { 42 return jndiRefName; 43 } 44 45 public void setJndiRefName(String jndiRefName) 46 { 47 this.jndiRefName = jndiRefName; 48 } 49 50 public String getMappedName() 51 { 52 return mappedName; 53 } 54 55 public void setMappedName(String mappedName) 56 { 57 this.mappedName = mappedName; 58 } 59 60 public String toString() 61 { 62 StringBuffer sb = new StringBuffer (100); 63 sb.append("[" + this.getClass().getName() + ": "); 64 sb.append("mappedName=").append(mappedName); 65 sb.append("]"); 66 return sb.toString(); 67 } 68 } 69 | Popular Tags |