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