jcolibri.test.test5
Class TravelSolution

java.lang.Object
  extended by jcolibri.test.test5.TravelSolution
All Implemented Interfaces:
CaseComponent

public class TravelSolution
extends java.lang.Object
implements CaseComponent

Author:
Juanan

Constructor Summary
TravelSolution()
           
 
Method Summary
 java.lang.String getHotel()
           
 java.lang.String getId()
           
 Attribute getIdAttribute()
          Returns the attribute that identifies the component.
 java.lang.Integer getPrice()
           
 void setHotel(java.lang.String hotel)
           
 void setId(java.lang.String id)
           
 void setPrice(java.lang.Integer price)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TravelSolution

public TravelSolution()
Method Detail

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.

GAIA - Group for Artificial Intelligence Applications
http://gaia.fdi.ucm.es