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