Package Models
Class Country
java.lang.Object
Models.Country
A class representing the country object
-
Constructor Summary
ConstructorDescriptionCountry
(int countryId, String country, LocalDateTime createDate, String createdBy, LocalDateTime lastUpdate, String lastUpdatedBy) Constructor method for the Contact object -
Method Summary
Modifier and TypeMethodDescriptionint
void
setCountry
(String country) void
setCountryId
(int countryId) void
setCreateDate
(LocalDateTime createDate) void
setCreatedBy
(String createdBy) void
setLastUpdate
(LocalDateTime lastUpdate) void
setLastUpdatedBy
(String lastUpdatedBy) toString()
-
Constructor Details
-
Country
public Country(int countryId, String country, LocalDateTime createDate, String createdBy, LocalDateTime lastUpdate, String lastUpdatedBy) Constructor method for the Contact object- Parameters:
countryId
- the countryId integer value to be set on the Country objectcountry
- the country string value to be set on the Country objectcreateDate
- the createDate LocalDateTime value to be set on the Country objectcreatedBy
- the createdBy string value to be set on the Country objectlastUpdate
- the lastUpdate LocalDateTime value to be set on the Country objectlastUpdatedBy
- the lastUpdatedBy string value to be set on the Country object
-
-
Method Details
-
getCountryId
public int getCountryId()- Returns:
- the countryId integer value on the Country object
-
getCountry
- Returns:
- the country string value on the Country object
-
getCreateDate
- Returns:
- the createDate LocalDateTime value on the Country object
-
getCreatedBy
- Returns:
- the createdBy string value on the Country object
-
getLastUpdate
- Returns:
- the lastUpdate LocalDateTime value on the Country object
-
getLastUpdatedBy
- Returns:
- the lastUpdatedBy string value on the Country object
-
setCountryId
public void setCountryId(int countryId) - Parameters:
countryId
- the countryId integer value to be set on the Country object
-
setCountry
- Parameters:
country
- the country string value to be set on the Country object
-
setCreateDate
- Parameters:
createDate
- the createDate LocalDateTime value to be set on the Country object
-
setCreatedBy
- Parameters:
createdBy
- the createdBy string value to be set on the Country object
-
setLastUpdate
- Parameters:
lastUpdate
- the lastUpdate LocalDateTime value to be set on the Country object
-
setLastUpdatedBy
- Parameters:
lastUpdatedBy
- the lastUpdatedBy string value to be set on the Country object
-
toString
-