@ManagedBean @SessionScoped public class CarBean extends Object implements Serializable
| Constructor and Description |
|---|
CarBean() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBrand() |
String |
getColor() |
String |
getFuel() |
int |
getMileage() |
int |
getPrice() |
String |
getType() |
int |
getYear() |
void |
setBrand(String brand) |
void |
setColor(String color) |
void |
setFuel(String fuel) |
void |
setMileage(int mileage) |
void |
setPrice(int price) |
void |
setType(String type) |
void |
setYear(int year) |
String |
showDetails(Car car) |
public String getBrand()
public void setBrand(String brand)
public String getType()
public void setType(String type)
public String getColor()
public void setColor(String color)
public int getPrice()
public void setPrice(int price)
public int getMileage()
public void setMileage(int mileage)
public int getYear()
public void setYear(int year)
public String getFuel()
public void setFuel(String fuel)
Copyright © 2015. All rights reserved.