|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mls.domain.Query
MLS query structure
Field Summary | |
int |
maxPrice
|
int |
minPrice
Minimum and maximum price for desired property |
java.lang.String |
style
Property style |
java.lang.String |
type
Property type |
Constructor Summary | |
Query()
Default constructor |
Method Summary | |
boolean |
isValid()
Returns true if this query structure has been correctly initialized. |
void |
setMaxPrice(java.lang.String max)
Set the maximum price from a string. |
void |
setMinPrice(java.lang.String min)
Set the minimum price from a string. |
Methods inherited from class java.lang.Object |
|
Field Detail |
public int minPrice
public int maxPrice
public java.lang.String type
public java.lang.String style
Constructor Detail |
public Query()
Method Detail |
public void setMinPrice(java.lang.String min)
min
- a string containing a minimum pricepublic void setMaxPrice(java.lang.String max)
min
- a string containing a minimum pricepublic boolean isValid()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |