org.jfree.report.demo.cards
Class PersonBoundCard

java.lang.Object
  extended byorg.jfree.report.demo.cards.Card
      extended byorg.jfree.report.demo.cards.PersonBoundCard
Direct Known Subclasses:
AccountCard, PrepaidCard, UserCard

public abstract class PersonBoundCard
extends Card

A card that is bound to a person's identity.

Author:
Thomas Morgner.

Constructor Summary
PersonBoundCard(java.lang.String firstName, java.lang.String lastName, java.lang.String cardNr)
          Creates a new card.
 
Method Summary
 java.lang.String getCardNr()
          Returns the card number.
 java.lang.String getFirstName()
          Returns the first name.
 java.lang.String getLastName()
          Returns the last name.
 
Methods inherited from class org.jfree.report.demo.cards.Card
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersonBoundCard

public PersonBoundCard(java.lang.String firstName,
                       java.lang.String lastName,
                       java.lang.String cardNr)
Creates a new card.

Parameters:
firstName - the first name.
lastName - the last name.
cardNr - the card number.
Method Detail

getFirstName

public java.lang.String getFirstName()
Returns the first name.

Returns:
The first name.

getLastName

public java.lang.String getLastName()
Returns the last name.

Returns:
The last name.

getCardNr

public java.lang.String getCardNr()
Returns the card number.

Returns:
The card number.