jcolibri.test.test10
Class TravelDescription

java.lang.Object
  extended by jcolibri.test.test10.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
 Instance getAccommodation()
           
 Instance getCaseId()
           
 Instance getDestination()
           
 Instance getDuration()
           
 Instance getHolidayType()
           
 Attribute getIdAttribute()
          Returns the attribute that identifies the component.
 Instance getMainConcept()
           
 Instance getNumberOfPersons()
           
 Instance getSeason()
           
 Instance getTransportation()
           
 void setAccommodation(Instance accomodation)
           
 void setDestination(Instance destination)
           
 void setDuration(Instance duration)
           
 void setHolidayType(Instance holidayType)
           
 void setMainConcept(Instance mc)
           
 void setNumberOfPersons(Instance numberOfPersons)
           
 void setSeason(Instance season)
           
 void setTransportation(Instance 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

getAccommodation

public Instance getAccommodation()
Returns:
the accomodation

setAccommodation

public void setAccommodation(Instance accomodation)
Parameters:
accomodation - the accomodation to set

getCaseId

public Instance getCaseId()
Returns:
the caseId

setMainConcept

public void setMainConcept(Instance mc)
Parameters:
mc - the main concept to set

getMainConcept

public Instance getMainConcept()
Returns:
Returns the mainConcept.

getDuration

public Instance getDuration()
Returns:
the duration

setDuration

public void setDuration(Instance duration)
Parameters:
duration - the duration to set

getHolidayType

public Instance getHolidayType()
Returns:
the holidayType

setHolidayType

public void setHolidayType(Instance holidayType)
Parameters:
holidayType - the holidayType to set

getNumberOfPersons

public Instance getNumberOfPersons()
Returns:
the numberOfPersons

setNumberOfPersons

public void setNumberOfPersons(Instance numberOfPersons)
Parameters:
numberOfPersons - the numberOfPersons to set

getDestination

public Instance getDestination()
Returns:
the destination

setDestination

public void setDestination(Instance destination)
Parameters:
destination - the destination to set

getSeason

public Instance getSeason()
Returns:
the season

setSeason

public void setSeason(Instance season)
Parameters:
season - the season to set

getTransportation

public Instance getTransportation()
Returns:
the transportation

setTransportation

public void setTransportation(Instance 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

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