FileDocCategorySizeDatePackage
Subscription.javaAPI DocExample4560Sun Mar 21 18:18:08 GMT 2004org.apache.struts.webapp.example

Subscription

public interface Subscription

A Subscription which is stored, along with the associated {@link User}, in a {@link UserDatabase}.

author
Craig R. McClanahan
version
$Revision: 1.3 $ $Date: 2002/03/05 04:23:56 $

Fields Summary
Constructors Summary
Methods Summary
public booleangetAutoConnect()

struts.form-field
form-name="SubscriptionForm" Return the auto-connect flag.

public java.lang.StringgetHost()
Return the host name.

public java.lang.StringgetPassword()
Return the password.

public java.lang.StringgetType()
Return the subscription type.

public UsergetUser()
Return the {@link User} owning this Subscription.

public java.lang.StringgetUsername()
Return the username.

public voidsetAutoConnect(boolean autoConnect)
Set the auto-connect flag.

param
autoConnect The new auto-connect flag

public voidsetPassword(java.lang.String password)
Set the password.

param
password The new password

public voidsetType(java.lang.String type)
Set the subscription type.

param
type The new subscription type

public voidsetUsername(java.lang.String username)
Set the username.

param
username The new username