org.apache.myfaces.examples.common
Class CarConfigurator
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CarConfigurator
public CarConfigurator()
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 © 2010 The Apache Software Foundation. All Rights Reserved.