jcolibri.test.test13
Class RestaurantDescription
java.lang.Object
jcolibri.test.test13.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
- See Also:
IETextOpenNLP
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RestaurantDescription
public RestaurantDescription()
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 IETextOpenNLP getDescription()
- Returns:
- Returns the description.
setDescription
public void setDescription(IETextOpenNLP 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