1 19 24 25 package org.netbeans.modules.j2ee.sun.share.serverresources; 26 27 31 public class JdbcDS extends BaseResource implements java.io.Serializable { 32 33 private String jndiName; 34 private String connPoolName; 35 private String resType; 36 private String isEnabled; 37 38 39 public JdbcDS() { 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 getConnPoolName() { 53 return connPoolName; 54 } 55 public void setConnPoolName(String value) { 56 String oldValue = connPoolName; 57 this.connPoolName = value; 58 initPropertyChangeSupport(); 59 propertySupport.firePropertyChange ("connPoolName", oldValue, connPoolName); } 61 62 public String getResType() { 63 return resType; 64 } 65 public void setResType(String value) { 66 String oldValue = resType; 67 this.resType = value; 68 initPropertyChangeSupport(); 69 propertySupport.firePropertyChange ("resType", oldValue, resType); } 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 |