Package Models

Class Country

java.lang.Object
Models.Country

public class Country extends Object
A class representing the country object
  • 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 object
      country - the country string value to be set on the Country object
      createDate - the createDate LocalDateTime value to be set on the Country object
      createdBy - the createdBy string value to be set on the Country object
      lastUpdate - the lastUpdate LocalDateTime value to be set on the Country object
      lastUpdatedBy - 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

      public String getCountry()
      Returns:
      the country string value on the Country object
    • getCreateDate

      public LocalDateTime getCreateDate()
      Returns:
      the createDate LocalDateTime value on the Country object
    • getCreatedBy

      public String getCreatedBy()
      Returns:
      the createdBy string value on the Country object
    • getLastUpdate

      public LocalDateTime getLastUpdate()
      Returns:
      the lastUpdate LocalDateTime value on the Country object
    • getLastUpdatedBy

      public String 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

      public void setCountry(String country)
      Parameters:
      country - the country string value to be set on the Country object
    • setCreateDate

      public void setCreateDate(LocalDateTime createDate)
      Parameters:
      createDate - the createDate LocalDateTime value to be set on the Country object
    • setCreatedBy

      public void setCreatedBy(String createdBy)
      Parameters:
      createdBy - the createdBy string value to be set on the Country object
    • setLastUpdate

      public void setLastUpdate(LocalDateTime lastUpdate)
      Parameters:
      lastUpdate - the lastUpdate LocalDateTime value to be set on the Country object
    • setLastUpdatedBy

      public void setLastUpdatedBy(String lastUpdatedBy)
      Parameters:
      lastUpdatedBy - the lastUpdatedBy string value to be set on the Country object
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      Stringified country details