1 19 20 package org.netbeans.modules.j2ee.dd.api.ejb; 21 22 import org.netbeans.modules.j2ee.dd.api.common.InjectionTarget; 23 24 28 public interface PersistenceUnitRef { 29 30 int addDescription(String value); 31 int addInjectionTarget(InjectionTarget value); 32 String [] getDescription(); 33 String getDescription(int index); 34 InjectionTarget[] getInjectionTarget(); 35 InjectionTarget getInjectionTarget(int index); 36 String getMappedName(); 37 String getPersistenceUnitName(); 38 String getPersistenceUnitRefName(); 39 InjectionTarget newInjectionTarget(); 40 int removeDescription(String value); 41 int removeInjectionTarget(InjectionTarget value); 42 void setDescription(int index, String value); 43 void setDescription(String [] value); 44 void setInjectionTarget(int index, InjectionTarget value); 45 void setInjectionTarget(InjectionTarget[] value); 46 void setMappedName(String value); 47 void setPersistenceUnitName(String value); 48 void setPersistenceUnitRefName(String value); 49 int sizeDescription(); 50 int sizeInjectionTarget(); 51 52 } 53 | Popular Tags |