Methods Summary |
---|
public boolean | FactoryName(java.lang.String value, java.util.List resources)
boolean exists = false;
for(int i=0; i<resources.size(); i++){
IPMFactory instance = (IPMFactory) resources.get(i);
String inst = instance.getName();
if(inst.equals(value))
exists = true;
}//for
return exists;
|
public void | addPropertyChangeListener(java.beans.PropertyChangeListener listener)
initPropertyChangeSupport();
propertySupport.addPropertyChangeListener (listener);
|
public java.lang.String | getDataSourceName()
return DataSourceName;
|
public java.lang.String | getDescription()
return Description;
|
public java.lang.String | getEnabled()
return Enabled;
|
public NameValuePair[] | getExtParams()
return extParams;
|
public java.lang.String | getFactoryClassName()
return FactoryClassName;
|
public java.lang.String | getJndiName()
return JndiName;
|
public java.lang.String | getName()
return name;
|
private void | initPropertyChangeSupport()
if(propertySupport==null)
propertySupport = new PropertyChangeSupport ( this );
|
public void | removePropertyChangeListener(java.beans.PropertyChangeListener listener)
initPropertyChangeSupport();
propertySupport.removePropertyChangeListener (listener);
|
public void | setDataSourceName(java.lang.String value)
String oldValue = DataSourceName;
this.DataSourceName = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("DataSourceName", oldValue, DataSourceName);//NOI18N
|
public void | setDescription(java.lang.String value)
String oldValue = Description;
this.Description = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("Description", oldValue, Description);//NOI18N
|
public void | setEnabled(java.lang.String value)
String oldValue = Enabled;
this.Enabled = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("Enabled", oldValue, Enabled);//NOI18N
|
public void | setExtParams(java.lang.Object[] value)
Reporter.info(new Integer(value.length)); //NOI18N
NameValuePair[] pairs = new NameValuePair[value.length];
for (int i = 0; i < value.length; i++) {
NameValuePair val = (NameValuePair)value[i];
NameValuePair pair = new NameValuePair();
pair.setParamName(val.getParamName());
pair.setParamValue(val.getParamValue());
pair.setParamDescription(val.getParamDescription());
Reporter.info(pair.getParamName() + " " + pair.getParamValue() + " " + pair.getParamDescription()); //NOI18N
pairs[i] = pair;
}
NameValuePair[] oldValue = extParams;
this.extParams = pairs;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("extParams", oldValue, extParams);//NOI18N
|
public void | setFactoryClassName(java.lang.String value)
String oldValue = FactoryClassName;
this.FactoryClassName = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("FactoryClassName", oldValue, FactoryClassName);//NOI18N
|
public void | setJndiName(java.lang.String value)
String oldValue = JndiName;
this.JndiName = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("JndiName", oldValue, JndiName);//NOI18N
setName(JndiName);
|
public void | setName(java.lang.String value)
String oldValue = name;
this.name = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("name", oldValue, name);//NOI18N
|
public void | simpleSetJndiName(java.lang.String value)
this.JndiName = value;
setName(JndiName);
|
public java.lang.String | toString()
return "name: " + getName() + ", Description: " + getDescription() + ", JndiName: " + // NOI18N
getJndiName() + ", FactoryClassName: " + // NOI18N
getFactoryClassName() + ", Enabled: " + getEnabled(); // NOI18N
|