jcolibri.test.test5
Class TravelDescription

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

public class TravelDescription
extends java.lang.Object
implements CaseComponent

Bean that stores the description of the case. This version changes the type of Season to Instance linking it with an ontology

Version:
1.0
Author:
Juan A. Recio-Garcia
See Also:
Region

Constructor Summary
TravelDescription()
           
 
Method Summary
 jcolibri.test.test5.TravelDescription.AccommodationTypes getAccommodation()
           
 java.lang.String getCaseId()
           
 java.lang.Integer getDuration()
           
 java.lang.String getHolidayType()
           
 Attribute getIdAttribute()
          Returns the attribute that identifies the component.
 java.lang.Integer getNumberOfPersons()
           
 Region getRegion()
           
 Instance getSeason()
           
 java.lang.String getTransportation()
           
static void main(java.lang.String[] args)
           
 void setAccommodation(jcolibri.test.test5.TravelDescription.AccommodationTypes accomodation)
           
 void setCaseId(java.lang.String caseId)
           
 void setDuration(java.lang.Integer duration)
           
 void setHolidayType(java.lang.String holidayType)
           
 void setNumberOfPersons(java.lang.Integer numberOfPersons)
           
 void setRegion(Region region)
           
 void setSeason(Instance 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

getAccommodation

public jcolibri.test.test5.TravelDescription.AccommodationTypes getAccommodation()
Returns:
the accomodation

setAccommodation

public void setAccommodation(jcolibri.test.test5.TravelDescription.AccommodationTypes 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

getNumberOfPersons

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

setNumberOfPersons

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

getRegion

public Region getRegion()
Returns:
the region

setRegion

public void setRegion(Region region)
Parameters:
region - the region to set

getSeason

public Instance getSeason()
Returns:
the season

setSeason

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

main

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

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