org.books.view
Class CreditCardBean

java.lang.Object
  extended by org.books.common.BaseBean
      extended by org.books.view.CreditCardBean
All Implemented Interfaces:
java.io.Serializable

public class CreditCardBean
extends BaseBean

The class CreditCard contains the data of a credit card.

Version:
1.1
Author:
Stephan Fischli and marc at bouquet dot ch
See Also:
@link{org.books.common.BaseBean}, Serialized Form

Constructor Summary
CreditCardBean()
          Default constrcutor
 
Method Summary
 java.lang.String credit()
          This method call the credit card view.
 java.util.List<javax.faces.model.SelectItem> getCardTypList()
          Gets the currentCardTyp.
 CreditCard getCreditCard()
          return the creditcard data object
 java.util.Date getExpiration()
          get a expiration
 java.lang.String getNumber()
          get a number
 java.lang.String getType()
          get a type
 java.lang.String order()
          This method call the order view.
 java.lang.String reset()
          This method reset all values
 void setCardTypList(java.util.List<javax.faces.model.SelectItem> cardTypList)
          Sets the cardTypList.
 void setExpiration(java.util.Date expiration)
          set expiration
 void setNumber(java.lang.String number)
          set number
 void setType(java.lang.String type)
          set type
 
Methods inherited from class org.books.common.BaseBean
getFacesContext, getManagedBean, getRequest, getResponse, getSession, getText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreditCardBean

public CreditCardBean()
Default constrcutor

Method Detail

credit

public java.lang.String credit()
This method call the credit card view.

Returns:
String value for the navigation handling

order

public java.lang.String order()
This method call the order view.

Returns:
String value for the navigation handling

reset

public java.lang.String reset()
This method reset all values

Returns:
String value for the navigation handling

getCreditCard

public CreditCard getCreditCard()
return the creditcard data object

Returns:
CreditCard

getCardTypList

public java.util.List<javax.faces.model.SelectItem> getCardTypList()
Gets the currentCardTyp.

Returns:
the currentCardTyp

getType

public java.lang.String getType()
get a type

Returns:
String

getNumber

public java.lang.String getNumber()
get a number

Returns:
String

getExpiration

public java.util.Date getExpiration()
get a expiration

Returns:
Date

setCardTypList

public void setCardTypList(java.util.List<javax.faces.model.SelectItem> cardTypList)
Sets the cardTypList.

Parameters:
cardTypList - The cardTypList to set

setType

public void setType(java.lang.String type)
set type

Parameters:
type -

setNumber

public void setNumber(java.lang.String number)
set number

Parameters:
number -

setExpiration

public void setExpiration(java.util.Date expiration)
set expiration

Parameters:
expiration -


Copyright © 2007 - bouquet dot ch, 3032 Hinterkappelen. All Rights Reserved.