jcolibri.test.test5
Class TravelSolution
java.lang.Object
jcolibri.test.test5.TravelSolution
- All Implemented Interfaces:
- CaseComponent
public class TravelSolution
- extends java.lang.Object
- implements CaseComponent
- Author:
- Juanan
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.
getPrice
public java.lang.Integer getPrice()
- Returns:
- Returns the price.
setPrice
public void setPrice(java.lang.Integer price)
- Parameters:
price
- The price to set.