1 19 24 25 package org.netbeans.modules.j2ee.sun.share.serverresources; 26 27 31 public class PersistenceManagerResource extends BaseResource implements java.io.Serializable { 32 33 private String jndiName; 34 private String factoryClass; 35 private String datasourceJndiName; 36 private String isEnabled; 37 38 39 public PersistenceManagerResource() { 40 } 41 42 public String getJndiName() { 43 return jndiName; 44 } 45 public void setJndiName(String value) { 46 String oldValue = jndiName; 47 this.jndiName = value; 48 initPropertyChangeSupport(); 49 propertySupport.firePropertyChange ("jndiName", oldValue, jndiName); } 51 52 public String getFactoryClass() { 53 return factoryClass; 54 } 55 public void setFactoryClass(String value) { 56 String oldValue = factoryClass; 57 this.factoryClass = value; 58 initPropertyChangeSupport(); 59 propertySupport.firePropertyChange ("factoryClass", oldValue, factoryClass); } 61 62 public String getDatasourceJndiName() { 63 return datasourceJndiName; 64 } 65 public void setDatasourceJndiName(String value) { 66 String oldValue = datasourceJndiName; 67 this.datasourceJndiName = value; 68 initPropertyChangeSupport(); 69 propertySupport.firePropertyChange ("datasourceJndiName", oldValue, datasourceJndiName); } 71 72 public String getIsEnabled() { 73 return isEnabled; 74 } 75 public void setIsEnabled(String value) { 76 String oldValue = isEnabled; 77 this.isEnabled = value; 78 initPropertyChangeSupport(); 79 propertySupport.firePropertyChange ("isEnabled", oldValue, isEnabled); } 81 82 } 83 | Popular Tags |