jcolibri.test.test5
Class Region

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

public class Region
extends java.lang.Object
implements CaseComponent

Compound attribute that stores the information of the region in the travel description.

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

Constructor Summary
Region()
           
 
Method Summary
 java.lang.String getAirport()
           
 java.lang.String getCity()
           
 java.lang.String getCurrency()
           
 java.lang.Integer getId()
           
 Attribute getIdAttribute()
          Returns the attribute that identifies the component.
 java.lang.String getRegion()
           
 void setAirport(java.lang.String airport)
           
 void setCity(java.lang.String city)
           
 void setCurrency(java.lang.String currency)
           
 void setId(java.lang.Integer id)
           
 void setRegion(java.lang.String region)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Region

public Region()
Method Detail

toString

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

getAirport

public java.lang.String getAirport()
Returns:
the airport

setAirport

public void setAirport(java.lang.String airport)
Parameters:
airport - the airport to set

getCity

public java.lang.String getCity()
Returns:
the city

setCity

public void setCity(java.lang.String city)
Parameters:
city - the city to set

getCurrency

public java.lang.String getCurrency()
Returns:
the currency

setCurrency

public void setCurrency(java.lang.String currency)
Parameters:
currency - the currency to set

getId

public java.lang.Integer getId()
Returns:
the id

setId

public void setId(java.lang.Integer id)
Parameters:
id - the id 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

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