jcolibri.test.test10
Class TravelDescription
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TravelDescription
public TravelDescription()
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