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 PersistenceContextRef { 29 30 int addDescription(String value); 31 int addInjectionTarget(InjectionTarget value); 32 int addPersistenceProperty(Property value); 33 String [] getDescription(); 34 String getDescription(int index); 35 InjectionTarget[] getInjectionTarget(); 36 InjectionTarget getInjectionTarget(int index); 37 String getMappedName(); 38 String getPersistenceContextRefName(); 39 String getPersistenceContextType(); 40 Property[] getPersistenceProperty(); 41 Property getPersistenceProperty(int index); 42 String getPersistenceUnitName(); 43 InjectionTarget newInjectionTarget(); 44 Property newProperty(); 45 int removeDescription(String value); 46 int removeInjectionTarget(InjectionTarget value); 47 int removePersistenceProperty(Property value); 48 void setDescription(int index, String value); 49 void setDescription(String [] value); 50 void setInjectionTarget(int index, InjectionTarget value); 51 void setInjectionTarget(InjectionTarget[] value); 52 void setMappedName(String value); 53 void setPersistenceContextRefName(String value); 54 void setPersistenceContextType(String value); 55 void setPersistenceProperty(int index, Property value); 56 void setPersistenceProperty(Property[] value); 57 void setPersistenceUnitName(String value); 58 int sizeDescription(); 59 int sizeInjectionTarget(); 60 int sizePersistenceProperty(); 61 62 } 63 | Popular Tags |