1 19 20 package org.netbeans.modules.j2ee.dd.api.common; 21 22 import org.netbeans.modules.j2ee.dd.api.common.CommonDDBean; 26 import org.netbeans.modules.j2ee.dd.api.common.DescriptionInterface; 27 28 34 public interface EjbRef extends CommonDDBean, DescriptionInterface { 35 36 public static final String EJB_REF_NAME = "EjbRefName"; public static final String EJB_REF_TYPE = "EjbRefType"; public static final String HOME = "Home"; public static final String REMOTE = "Remote"; public static final String EJB_LINK = "EjbLink"; public static final String EJB_REF_TYPE_ENTITY = "Entity"; public static final String EJB_REF_TYPE_SESSION = "Session"; 46 public void setEjbRefName(String value); 47 50 public String getEjbRefName(); 51 54 public void setEjbRefType(String value); 55 58 public String getEjbRefType(); 59 62 public void setHome(String value); 63 66 public String getHome(); 67 70 public void setRemote(String value); 71 74 public String getRemote(); 75 78 public void setEjbLink(String value); 79 82 public String getEjbLink(); 83 84 86 void setMappedName(String value) throws VersionNotSupportedException; 87 String getMappedName() throws VersionNotSupportedException; 88 void setInjectionTarget(int index, InjectionTarget valueInterface) throws VersionNotSupportedException; 89 InjectionTarget getInjectionTarget(int index) throws VersionNotSupportedException; 90 int sizeInjectionTarget() throws VersionNotSupportedException; 91 void setInjectionTarget(InjectionTarget[] value) throws VersionNotSupportedException; 92 InjectionTarget[] getInjectionTarget() throws VersionNotSupportedException; 93 int addInjectionTarget(InjectionTarget valueInterface) throws VersionNotSupportedException; 94 int removeInjectionTarget(InjectionTarget valueInterface) throws VersionNotSupportedException; 95 InjectionTarget newInjectionTarget() throws VersionNotSupportedException; 96 97 } 98 99 | Popular Tags |