org.apache.myfaces.examples.common
Class CarConfigurator

java.lang.Object
  extended by org.apache.myfaces.examples.common.CarConfigurator
All Implemented Interfaces:
Serializable

public class CarConfigurator
extends Object
implements Serializable

Version:
$Revision: 520433 $ $Date: 2007-03-20 10:37:23 -0500 (Tue, 20 Mar 2007) $
Author:
Thomas Spiegl (latest modification by $Author: paulsp $)
See Also:
Serialized Form

Nested Class Summary
static class CarConfigurator.Color
           
static class CarConfigurator.ColorConverter
           
 
Constructor Summary
CarConfigurator()
           
 
Method Summary
 String calcPrice()
           
 String getBandName()
           
 String getCar()
           
 List getCars()
           
 CarConfigurator.Color getColor()
           
 javax.faces.convert.Converter getColorConverter()
           
 List getColors()
           
 String getDiscount()
           
 String getDiscount2()
           
 Long getDoors()
           
 String[] getExtras()
           
 List getExtrasList()
           
 List getInteriorColors()
           
 BigDecimal getPrice()
           
 boolean isSalesTax()
           
 void setBandName(String bandName)
           
 void setCar(String car)
           
 void setColor(CarConfigurator.Color color)
           
 void setDiscount(String discount)
           
 void setDiscount2(String discount2)
           
 void setDoors(Long doors)
           
 void setExtras(String[] extras)
           
 void setInteriorColors(List interiorColors)
           
 void setPrice(BigDecimal price)
           
 void setSalesTax(boolean salesTax)
           
 void validateCar(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CarConfigurator

public CarConfigurator()
Method Detail

getDoors

public Long getDoors()

setDoors

public void setDoors(Long doors)

getCars

public List getCars()

getColors

public List getColors()

getExtrasList

public List getExtrasList()

getCar

public String getCar()

setCar

public void setCar(String car)

getColor

public CarConfigurator.Color getColor()

setColor

public void setColor(CarConfigurator.Color color)

getInteriorColors

public List getInteriorColors()

setInteriorColors

public void setInteriorColors(List interiorColors)

getPrice

public BigDecimal getPrice()

setPrice

public void setPrice(BigDecimal price)

getExtras

public String[] getExtras()

setExtras

public void setExtras(String[] extras)

getDiscount

public String getDiscount()

setDiscount

public void setDiscount(String discount)

getDiscount2

public String getDiscount2()

setDiscount2

public void setDiscount2(String discount2)

getBandName

public String getBandName()

setBandName

public void setBandName(String bandName)

isSalesTax

public boolean isSalesTax()

setSalesTax

public void setSalesTax(boolean salesTax)

calcPrice

public String calcPrice()

validateCar

public void validateCar(javax.faces.context.FacesContext context,
                        javax.faces.component.UIComponent component,
                        Object value)
                 throws javax.faces.validator.ValidatorException
Throws:
javax.faces.validator.ValidatorException

getColorConverter

public javax.faces.convert.Converter getColorConverter()


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.