jcolibri.test.test1
Class TravelDescription

java.lang.Object
  extended by jcolibri.test.test1.TravelDescription
All Implemented Interfaces:
CaseComponent

public class TravelDescription
extends java.lang.Object
implements CaseComponent

Bean that stores the description of the case.

Version:
1.0
Author:
Juan A. Recio-Garcia

Constructor Summary
TravelDescription()
           
 
Method Summary
 java.lang.String getAccomodation()
           
 java.lang.String getCaseId()
           
 java.lang.Integer getDuration()
           
 java.lang.String getHolidayType()
           
 java.lang.String getHotel()
           
 Attribute getIdAttribute()
          Returns the attribute that identifies the component.
 java.lang.Integer getNumberOfPersons()
           
 java.lang.Integer getPrice()
           
 java.lang.String getRegion()
           
 java.lang.String getSeason()
           
 java.lang.String getTransportation()
           
static void main(java.lang.String[] args)
           
 void setAccomodation(java.lang.String accomodation)
           
 void setCaseId(java.lang.String caseId)
           
 void setDuration(java.lang.Integer duration)
           
 void setHolidayType(java.lang.String holidayType)
           
 void setHotel(java.lang.String hotel)
           
 void setNumberOfPersons(java.lang.Integer numberOfPersons)
           
 void setPrice(java.lang.Integer price)
           
 void setRegion(java.lang.String region)
           
 void setSeason(java.lang.String season)
           
 void setTransportation(java.lang.String transportation)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TravelDescription

public TravelDescription()
Method Detail

toString

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

getAccomodation

public java.lang.String getAccomodation()
Returns:
the accomodation

setAccomodation

public void setAccomodation(java.lang.String accomodation)
Parameters:
accomodation - the accomodation to set

getCaseId

public java.lang.String getCaseId()
Returns:
the caseId

setCaseId

public void setCaseId(java.lang.String caseId)
Parameters:
caseId - the caseId to set

getDuration

public java.lang.Integer getDuration()
Returns:
the duration

setDuration

public void setDuration(java.lang.Integer duration)
Parameters:
duration - the duration to set

getHolidayType

public java.lang.String getHolidayType()
Returns:
the holidayType

setHolidayType

public void setHolidayType(java.lang.String holidayType)
Parameters:
holidayType - the holidayType to set

getHotel

public java.lang.String getHotel()
Returns:
the hotel

setHotel

public void setHotel(java.lang.String hotel)
Parameters:
hotel - the hotel to set

getNumberOfPersons

public java.lang.Integer getNumberOfPersons()
Returns:
the numberOfPersons

setNumberOfPersons

public void setNumberOfPersons(java.lang.Integer numberOfPersons)
Parameters:
numberOfPersons - the numberOfPersons to set

getPrice

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

setPrice

public void setPrice(java.lang.Integer price)
Parameters:
price - the price to set

getRegion

public java.lang.String getRegion()
Returns:
the region

setRegion

public void setRegion(java.lang.String region)
Parameters:
region - the region to set

getSeason

public java.lang.String getSeason()
Returns:
the season

setSeason

public void setSeason(java.lang.String season)
Parameters:
season - the season to set

getTransportation

public java.lang.String getTransportation()
Returns:
the transportation

setTransportation

public void setTransportation(java.lang.String transportation)
Parameters:
transportation - the transportation to set

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

main

public static void main(java.lang.String[] args)

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