Methods Summary |
---|
public Account | getAccount()
return _account;
|
public Address | getAddress()
return _address;
|
public CreditCard | getCreditCard()
return _creditCard;
|
public java.lang.String | getEmail()
return _email;
|
public java.lang.String | getFirstname()
return _firstname;
|
public java.lang.String | getLanguage()
return _language;
|
public java.lang.String | getLastname()
return _lastname;
|
public java.lang.String | getTelephone()
return _telephone;
|
public java.lang.String | getUserId()
return ( _account != null )
? _account.getUserId( )
: "";
|
public void | set(xpetstore.domain.Customer cst)
_account.set( cst.getAccount( ) );
_address.set( cst.getAddress( ) );
_creditCard.set( cst.getCreditCard( ) );
_email = cst.getEmail( );
_firstname = cst.getFirstname( );
_lastname = cst.getLastname( );
_language = cst.getLanguage( );
_telephone = cst.getTelephone( );
|
public void | setAccount(Account account)Sets the account.
_account = account;
|
public void | setAddress(Address address)Sets the address.
_address = address;
|
public void | setCreditCard(CreditCard creditCard)Sets the creditCard.
_creditCard = creditCard;
|
public void | setEmail(java.lang.String email)Sets the email.
_email = email;
|
public void | setFirstname(java.lang.String firstname)Sets the firstname.
_firstname = firstname;
|
public void | setLanguage(java.lang.String language)Sets the language.
_language = language;
|
public void | setLastname(java.lang.String lastname)Sets the lastname.
_lastname = lastname;
|
public void | setTelephone(java.lang.String telephone)Sets the telephone.
_telephone = telephone;
|
public void | setUserId(java.lang.String userId)Sets the userId.
if ( _account == null )
{
_account = new Account( );
}
_account.setUserId( userId );
|