@Status(stage=PRODUCTION, unitTests=COMPLETE) @Reviews(value=@Review(by="Kees Schotanus",at="2010-06-10",reason="Initial review")) public class CarSearchCriteria extends AbstractSearchCriteria
Car
.Constructor and Description |
---|
CarSearchCriteria()
Public default constructor to make this a bean.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getAirco()
Gets the airco of the Car.
|
CColor |
getColor()
Gets the color of the Car.
|
String |
getLicensePlateNumber()
Gets the license plate number of the Car.
|
String |
getName()
Gets the name of the Car.
|
Integer |
getSeats()
Gets the seats of the Car.
|
WhereClause |
getWhereClause()
Gets the JPQL where-clause.
|
void |
reset()
In addition to clearing all fields, this method resets the airco search
criterion to "unknown".
|
void |
setAirco(Integer airco)
Sets the airco of the Car.
|
void |
setColor(CColor color)
Sets the color of the Car.
|
void |
setLicensePlateNumber(String licensePlateNumber)
Sets the license plate number of the Car.
|
void |
setName(String name)
Sets the name of the Car.
|
void |
setSeats(Integer seats)
Sets the seats of the Car.
|
public CarSearchCriteria()
public String getName()
public void setName(String name)
name
- The name of the Car.public String getLicensePlateNumber()
public void setLicensePlateNumber(String licensePlateNumber)
licensePlateNumber
- The license plate number of the Car.public CColor getColor()
public void setColor(CColor color)
color
- The color of the Car.public Integer getAirco()
public void setAirco(Integer airco)
airco
- The airco of the Car.
public Integer getSeats()
public void setSeats(Integer seats)
seats
- The seats of the Car.public WhereClause getWhereClause()
public void reset()
reset
in interface Searchable
reset
in class AbstractSearchCriteria
Copyright © 2008–2018. All rights reserved.