FileDocCategorySizeDatePackage
Subscription.javaAPI DocExample2279Tue Jul 27 06:01:18 BST 2004org.apache.struts.webapp.example

Subscription

public interface Subscription

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

version
$Revision: 1.6 $ $Date: 2004/03/14 06:23:44 $

Fields Summary
Constructors Summary
Methods Summary
public booleangetAutoConnect()
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