Methods Summary |
---|
public boolean | FactoryName(java.lang.String value, java.util.List resources)
boolean exists = false;
for(int i=0; i<resources.size(); i++){
IResource instance = (IResource) 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 | getDescription()
return Description;
|
public java.lang.String | getEnabled()
return Enabled;
|
public java.lang.String | getJndiName()
return JndiName;
|
public java.lang.String | getName()
return name;
|
public java.lang.String | getResType()
return ResType;
|
protected void | initPropertyChangeSupport()
if(propertySupport==null)
propertySupport = new PropertyChangeSupport ( this );
|
public void | removePropertyChangeListener(java.beans.PropertyChangeListener listener)
initPropertyChangeSupport();
propertySupport.removePropertyChangeListener (listener);
|
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 | 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 | setResType(java.lang.String value)
String oldValue = ResType;
this.ResType = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("ResType", oldValue, ResType);//NOI18N
|
public void | simpleSetJndiName(java.lang.String value)
this.JndiName = value;
setName(JndiName);
|