1 19 20 package org.netbeans.modules.j2ee.dd.api.common; 21 22 28 public interface ResourceRef extends CommonDDBean, DescriptionInterface { 29 public static final String RES_REF_NAME = "ResRefName"; public static final String RES_TYPE = "ResType"; public static final String RES_AUTH = "ResAuth"; public static final String RES_SHARING_SCOPE = "ResSharingScope"; public static final String RES_AUTH_APPLICATION = "Application"; public static final String RES_AUTH_CONTAINER = "Container"; public static final String RES_SHARING_SCOPE_SHAREABLE = "Shareable"; public static final String RES_SHARING_SCOPE_UNSHAREABLE = "Unshareable"; 38 41 public void setResRefName(java.lang.String value); 42 45 public java.lang.String getResRefName(); 46 49 public void setResType(java.lang.String value); 50 53 public java.lang.String getResType(); 54 57 public void setResAuth(java.lang.String value); 58 61 public java.lang.String getResAuth(); 62 65 public void setResSharingScope(java.lang.String value); 66 69 public java.lang.String getResSharingScope(); 70 71 73 void setMappedName(String value) throws VersionNotSupportedException; 74 String getMappedName() throws VersionNotSupportedException; 75 void setInjectionTarget(int index, InjectionTarget valueInterface) throws VersionNotSupportedException; 76 InjectionTarget getInjectionTarget(int index) throws VersionNotSupportedException; 77 int sizeInjectionTarget() throws VersionNotSupportedException; 78 void setInjectionTarget(InjectionTarget[] value) throws VersionNotSupportedException; 79 InjectionTarget[] getInjectionTarget() throws VersionNotSupportedException; 80 int addInjectionTarget(InjectionTarget valueInterface) throws VersionNotSupportedException; 81 int removeInjectionTarget(InjectionTarget valueInterface) throws VersionNotSupportedException; 82 InjectionTarget newInjectionTarget() throws VersionNotSupportedException; 83 84 } 85 | Popular Tags |