FileDocCategorySizeDatePackage
UserBean.javaAPI DocExample440Sat Nov 22 13:58:00 GMT 2003decoratorexample.model

UserBean.java

package decoratorexample.model;

/**
 * The interface to our model or a user
 */
public interface UserBean {
    // the username field
    public String getUsername();
    public void setUsername(String username);
    
    // the password field
    public String getPassword();
    public void setPassword(String password);
    
    // business methods to perform login
    public boolean doLogin();
    public boolean isLoggedIn();
    
}