Package Models
Class Country
java.lang.Object
Models.Country
A class representing the country object
-
Constructor Summary
ConstructorsConstructorDescriptionCountry(int countryId, String country, LocalDateTime createDate, String createdBy, LocalDateTime lastUpdate, String lastUpdatedBy) Constructor method for the Contact object -
Method Summary
Modifier and TypeMethodDescriptionintvoidsetCountry(String country) voidsetCountryId(int countryId) voidsetCreateDate(LocalDateTime createDate) voidsetCreatedBy(String createdBy) voidsetLastUpdate(LocalDateTime lastUpdate) voidsetLastUpdatedBy(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
-