org.jfree.report.demo.cards
Class FreeCard

java.lang.Object
  extended byorg.jfree.report.demo.cards.Card
      extended byorg.jfree.report.demo.cards.FreeCard

public class FreeCard
extends Card

A card.

Author:
Thomas Morgner.

Constructor Summary
FreeCard(java.lang.String cardNr, java.util.Date expires)
          Creates a new 'free' card.
 
Method Summary
 java.lang.String getCardNr()
          Returns the card number.
 java.util.Date getExpires()
          Returns the expiry date.
 CardType getType()
          Returns the card type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FreeCard

public FreeCard(java.lang.String cardNr,
                java.util.Date expires)
Creates a new 'free' card.

Parameters:
cardNr - the card number.
expires - the expiry date.
Method Detail

getExpires

public java.util.Date getExpires()
Returns the expiry date.

Returns:
The expiry date.

getCardNr

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

Returns:
The card number.

getType

public CardType getType()
Returns the card type.

Specified by:
getType in class Card
Returns:
The card type.