Methods Summary |
---|
public boolean | getAutoConnect()
return (this.autoConnect);
|
public java.lang.String | getHost()The mail host for this subscription.
return (this.host);
|
public java.lang.String | getPassword()
return (this.password);
|
public java.lang.String | getType()
return (this.type);
|
public org.apache.struts.webapp.example.User | getUser()The User owning this Subscription.
return (this.user);
|
public java.lang.String | getUsername()
return (this.username);
|
public void | setAutoConnect(boolean autoConnect)
this.autoConnect = autoConnect;
|
public void | setPassword(java.lang.String password)
this.password = password;
|
public void | setType(java.lang.String type)
this.type = type;
|
public void | setUsername(java.lang.String username)
this.username = username;
|
public java.lang.String | toString()Return a String representation of this object.
StringBuffer sb = new StringBuffer("<subscription host=\"");
sb.append(host);
sb.append("\" autoConnect=\"");
sb.append(autoConnect);
sb.append("\"");
if (password != null) {
sb.append(" password=\"");
sb.append(password);
sb.append("\"");
}
if (type != null) {
sb.append(" type=\"");
sb.append(type);
sb.append("\"");
}
if (username != null) {
sb.append(" username=\"");
sb.append(username);
sb.append("\"");
}
sb.append(">");
return (sb.toString());
|