jcolibri.test.recommenders.housesData
Class HouseDescription
java.lang.Object
jcolibri.test.recommenders.housesData.HouseDescription
- All Implemented Interfaces:
- CaseComponent
public class HouseDescription
- extends java.lang.Object
- implements CaseComponent
Implements the house description.
- Version:
- 1.0
- Author:
- Juan A. Recio-Garcia
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HouseDescription
public HouseDescription()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getArea
public HouseDescription.Area getArea()
setArea
public void setArea(HouseDescription.Area area)
getBaths
public java.lang.Integer getBaths()
setBaths
public void setBaths(java.lang.Integer baths)
getBeds
public HouseDescription.Beds getBeds()
setBeds
public void setBeds(HouseDescription.Beds beds)
getFurnished
public java.lang.Boolean getFurnished()
setFurnished
public void setFurnished(java.lang.Boolean furnished)
getId
public java.lang.Integer getId()
setId
public void setId(java.lang.Integer id)
getPrice
public java.lang.Integer getPrice()
setPrice
public void setPrice(java.lang.Integer price)
getType
public HouseDescription.Type getType()
setType
public void setType(HouseDescription.Type type)
getIdAttribute
public Attribute getIdAttribute()
- Description copied from interface:
CaseComponent
- Returns the attribute that identifies the component.
An id-attribute must be unique for each component.
- Specified by:
getIdAttribute
in interface CaseComponent