jcolibri.test.recommenders.travelData
Class TravelSolution
java.lang.Object
jcolibri.test.recommenders.travelData.TravelSolution
- All Implemented Interfaces:
- CaseComponent
public class TravelSolution
- extends java.lang.Object
- implements CaseComponent
Bean that stores the solution of the case (trip)
- Version:
- 1.0
- Author:
- Juan A. Recio-Garcia, Developed at University College Cork (Ireland) in collaboration with Derek Bridge.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TravelSolution
public TravelSolution()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
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
getHotel
public java.lang.String getHotel()
- Returns:
- Returns the hotel.
setHotel
public void setHotel(java.lang.String hotel)
- Parameters:
hotel
- The hotel to set.
getId
public java.lang.String getId()
- Returns:
- Returns the id.
setId
public void setId(java.lang.String id)
- Parameters:
id
- The id to set.