jcolibri.test.recommenders.rec7
Class RestaurantDescription

java.lang.Object
  extended by jcolibri.test.recommenders.rec7.RestaurantDescription
All Implemented Interfaces:
CaseComponent

public class RestaurantDescription
extends java.lang.Object
implements CaseComponent

Stores the description of a restaurant.
Some attributes are loaded by the connector (name, address, location, phone and description). But the other ones are obtained (filled) by the Textual CBR methods applied to the description attribute.

Version:
1.0
Author:
Juan A. Recio-Garcia, Developed at University College Cork (Ireland) in collaboration with Derek Bridge.
See Also:
IETextOpenNLP

Constructor Summary
RestaurantDescription()
           
 
Method Summary
 java.lang.String getAddress()
           
 java.lang.Boolean getAlcohol()
           
 java.lang.String getBreakfastDays()
           
 java.lang.Boolean getCatering()
           
 java.lang.Boolean getDelivery()
           
 Text getDescription()
           
 java.lang.String getDinnerDays()
           
 java.lang.String getFood()
           
 java.lang.String getFoodType()
           
 Attribute getIdAttribute()
          Returns the attribute that identifies the component.
 java.lang.String getLocation()
           
 java.lang.String getLunchDays()
           
 java.lang.String getName()
           
 java.lang.Boolean getParking()
           
 java.lang.String getPhone()
           
 java.lang.String getPrice()
           
 java.lang.Boolean getTakeout()
           
 void setAddress(java.lang.String address)
           
 void setAlcohol(java.lang.Boolean alcohol)
           
 void setBreakfastDays(java.lang.String breakfastDays)
           
 void setCatering(java.lang.Boolean catering)
           
 void setDelivery(java.lang.Boolean delivery)
           
 void setDescription(Text description)
           
 void setDinnerDays(java.lang.String dinnerDays)
           
 void setFood(java.lang.String food)
           
 void setFoodType(java.lang.String foodType)
           
 void setLocation(java.lang.String location)
           
 void setLunchDays(java.lang.String lunchDays)
           
 void setName(java.lang.String name)
           
 void setParking(java.lang.Boolean parking)
           
 void setPhone(java.lang.String phone)
           
 void setPrice(java.lang.String price)
           
 void setTakeout(java.lang.Boolean takeout)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RestaurantDescription

public RestaurantDescription()
Method Detail

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

getAddress

public java.lang.String getAddress()
Returns:
Returns the address.

setAddress

public void setAddress(java.lang.String address)
Parameters:
address - The address to set.

getAlcohol

public java.lang.Boolean getAlcohol()
Returns:
Returns the alcohol.

setAlcohol

public void setAlcohol(java.lang.Boolean alcohol)
Parameters:
alcohol - The alcohol to set.

getBreakfastDays

public java.lang.String getBreakfastDays()
Returns:
Returns the breakfastDays.

setBreakfastDays

public void setBreakfastDays(java.lang.String breakfastDays)
Parameters:
breakfastDays - The breakfastDays to set.

getCatering

public java.lang.Boolean getCatering()
Returns:
Returns the catering.

setCatering

public void setCatering(java.lang.Boolean catering)
Parameters:
catering - The catering to set.

getDelivery

public java.lang.Boolean getDelivery()
Returns:
Returns the delivery.

setDelivery

public void setDelivery(java.lang.Boolean delivery)
Parameters:
delivery - The delivery to set.

getDescription

public Text getDescription()
Returns:
Returns the description.

setDescription

public void setDescription(Text description)
Parameters:
description - The description to set.

getDinnerDays

public java.lang.String getDinnerDays()
Returns:
Returns the dinnerDays.

setDinnerDays

public void setDinnerDays(java.lang.String dinnerDays)
Parameters:
dinnerDays - The dinnerDays to set.

getFood

public java.lang.String getFood()
Returns:
Returns the food.

setFood

public void setFood(java.lang.String food)
Parameters:
food - The food to set.

getFoodType

public java.lang.String getFoodType()
Returns:
Returns the foodType.

setFoodType

public void setFoodType(java.lang.String foodType)
Parameters:
foodType - The foodType to set.

getLocation

public java.lang.String getLocation()
Returns:
Returns the location.

setLocation

public void setLocation(java.lang.String location)
Parameters:
location - The location to set.

getLunchDays

public java.lang.String getLunchDays()
Returns:
Returns the lunchDays.

setLunchDays

public void setLunchDays(java.lang.String lunchDays)
Parameters:
lunchDays - The lunchDays to set.

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.

getParking

public java.lang.Boolean getParking()
Returns:
Returns the parking.

setParking

public void setParking(java.lang.Boolean parking)
Parameters:
parking - The parking to set.

getPhone

public java.lang.String getPhone()
Returns:
Returns the phone.

setPhone

public void setPhone(java.lang.String phone)
Parameters:
phone - The phone to set.

getPrice

public java.lang.String getPrice()
Returns:
Returns the price.

setPrice

public void setPrice(java.lang.String price)
Parameters:
price - The price to set.

getTakeout

public java.lang.Boolean getTakeout()
Returns:
Returns the takeout.

setTakeout

public void setTakeout(java.lang.Boolean takeout)
Parameters:
takeout - The takeout to set.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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