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