org.apache.myfaces.examples.common
Class CarConfigurator
java.lang.Object
org.apache.myfaces.examples.common.CarConfigurator
- All Implemented Interfaces:
- java.io.Serializable
public class CarConfigurator
- extends java.lang.Object
- implements java.io.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 java.lang.Long getDoors()
setDoors
public void setDoors(java.lang.Long doors)
getCars
public java.util.List getCars()
getColors
public java.util.List getColors()
getExtrasList
public java.util.List getExtrasList()
getCar
public java.lang.String getCar()
setCar
public void setCar(java.lang.String car)
getColor
public CarConfigurator.Color getColor()
setColor
public void setColor(CarConfigurator.Color color)
getInteriorColors
public java.util.List getInteriorColors()
setInteriorColors
public void setInteriorColors(java.util.List interiorColors)
getPrice
public java.math.BigDecimal getPrice()
setPrice
public void setPrice(java.math.BigDecimal price)
getExtras
public java.lang.String[] getExtras()
setExtras
public void setExtras(java.lang.String[] extras)
getDiscount
public java.lang.String getDiscount()
setDiscount
public void setDiscount(java.lang.String discount)
getDiscount2
public java.lang.String getDiscount2()
setDiscount2
public void setDiscount2(java.lang.String discount2)
getBandName
public java.lang.String getBandName()
setBandName
public void setBandName(java.lang.String bandName)
isSalesTax
public boolean isSalesTax()
setSalesTax
public void setSalesTax(boolean salesTax)
calcPrice
public java.lang.String calcPrice()
validateCar
public void validateCar(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object value)
throws javax.faces.validator.ValidatorException
- Throws:
javax.faces.validator.ValidatorException
getColorConverter
public javax.faces.convert.Converter getColorConverter()
Copyright © 2008 The Apache Software Foundation. All Rights Reserved.