org.jfree.report.demo.cards
Class AccountCard
java.lang.Object
|
+--org.jfree.report.demo.cards.Card
|
+--org.jfree.report.demo.cards.PersonBoundCard
|
+--org.jfree.report.demo.cards.AccountCard
- public class AccountCard
- extends PersonBoundCard
A user account card.
- Author:
- Thomas Morgner.
|
Constructor Summary |
AccountCard(java.lang.String firstName,
java.lang.String lastName,
java.lang.String cardNr,
java.lang.String login,
java.lang.String password)
Creates a new user account card. |
|
Method Summary |
java.lang.String |
getLogin()
Returns the login id. |
java.lang.String |
getPassword()
Returns the password. |
CardType |
getType()
Returns the account type (CardType.ACCOUNT). |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
AccountCard
public AccountCard(java.lang.String firstName,
java.lang.String lastName,
java.lang.String cardNr,
java.lang.String login,
java.lang.String password)
- Creates a new user account card.
- Parameters:
firstName - the first name.lastName - the last name.cardNr - the card number.login - the login id.password - the password.
getLogin
public java.lang.String getLogin()
- Returns the login id.
- Returns:
- The login id.
getPassword
public java.lang.String getPassword()
- Returns the password.
- Returns:
- The password.
getType
public CardType getType()
- Returns the account type (
CardType.ACCOUNT).
- Overrides:
- getType in class Card
- Returns:
- The account type.