1 22 package org.jboss.metadata; 23 24 29 public abstract class Ref 30 { 31 protected InjectionTarget injectionTarget; 32 private String description; 33 private boolean ignoreDependency; 34 35 public String getDescription() 36 { 37 return description; 38 } 39 public void setDescription(String description) 40 { 41 this.description = description; 42 } 43 44 public InjectionTarget getInjectionTarget() 45 { 46 return injectionTarget; 47 } 48 49 public void setInjectionTarget(InjectionTarget injectionTarget) 50 { 51 this.injectionTarget = injectionTarget; 52 } 53 54 public String toString() 55 { 56 StringBuffer sb = new StringBuffer (100); 57 sb.append("["); 58 sb.append(", injectionTarget=").append(injectionTarget); 59 sb.append("]"); 60 return sb.toString(); 61 } 62 63 public boolean isIgnoreDependency() 64 { 65 return ignoreDependency; 66 } 67 68 public void setIgnoreDependency(boolean ignoreDependency) 69 { 70 this.ignoreDependency = ignoreDependency; 71 } 72 } 73 | Popular Tags |