Methods Summary |
---|
public static boolean | AdminServName(java.lang.String host, int port, java.util.List admin)
boolean exists = false;
String value = host + ":" + port;//NOI18N
for(int i=0; i<admin.size(); i++){
IAdminInstanceBean instance = (IAdminInstanceBean) admin.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 | getHost()
return this.host_name;
|
public java.lang.String | getName()
return this.name;
|
public java.lang.String | getPassword()Getter for property password.
pw_editor = password;
return password;
|
public java.lang.String | getPath()
return this.path;
|
public int | getPort()
return this.port_no;
|
public java.lang.String | getPrivatePassword()invisible Getter for property password.
String pw = getPassword();
String passw = "";//NOI18N
for(int i=0; i<pw.length(); i++)
passw = passw + "*";//NOI18N
return passw;
|
public java.lang.String | getUserName()Getter for property userName.
return userName;
|
private void | initPropertyChangeSupport()
if(propertySupport==null)
propertySupport = new PropertyChangeSupport ( this );
|
public void | removePropertyChangeListener(java.beans.PropertyChangeListener listener)
initPropertyChangeSupport();
propertySupport.removePropertyChangeListener (listener);
|
public void | setHost(java.lang.String value)
String oldValue = host_name;
this.host_name = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("host", oldValue, host_name);//NOI18N
|
public void | setName(java.lang.String value)
String oldValue = name;
this.name = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("name", oldValue, name);//NOI18N
|
public void | setPassword(java.lang.String value)Setter for property password.
String oldValue = password;
password = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("password", oldValue, password);//NOI18N
|
public void | setPath(java.lang.String value)
String oldValue = path;
this.path = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("path", oldValue, path);//NOI18N
|
public void | setPort(int value)
int oldValue = port_no;
this.port_no = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("port", oldValue, port_no);//NOI18N
|
public void | setUserName(java.lang.String value)Setter for property userName.
String oldValue = host_name;
userName = value;
initPropertyChangeSupport();
propertySupport.firePropertyChange ("userName", oldValue, userName);//NOI18N
|