FileDocCategorySizeDatePackage
AccountForm.javaAPI DocExample813Thu Dec 04 08:19:26 GMT 2003org.springframework.samples.jpetstore.web.spring

AccountForm

public class AccountForm extends Object
author
Juergen Hoeller
since
01.12.2003

Fields Summary
private org.springframework.samples.jpetstore.domain.Account
account
private boolean
newAccount
private String
repeatedPassword
Constructors Summary
public AccountForm(org.springframework.samples.jpetstore.domain.Account account)

		this.account = account;
		this.newAccount = false;
	
public AccountForm()

		this.account = new Account();
		this.newAccount = true;
	
Methods Summary
public org.springframework.samples.jpetstore.domain.AccountgetAccount()

		return account;
	
public java.lang.StringgetRepeatedPassword()

		return repeatedPassword;
	
public booleanisNewAccount()

		return newAccount;
	
public voidsetRepeatedPassword(java.lang.String repeatedPassword)

		this.repeatedPassword = repeatedPassword;