Class Country.Builder

  • Enclosing class:
    Country

    public static class Country.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • countryId

        public Country.Builder countryId​(BigDecimal countryId)
        Indentifier of the country.

        This is a DB side unique id which was generated when the entity was created in the table

        Parameters:
        countryId - the value to set
        Returns:
        this builder
      • countryCode

        public Country.Builder countryCode​(String countryCode)
        Country code in ISO-3166-1 2-letter format
        Parameters:
        countryCode - the value to set
        Returns:
        this builder
      • countryName

        public Country.Builder countryName​(String countryName)
        Name of the country
        Parameters:
        countryName - the value to set
        Returns:
        this builder
      • languageId

        public Country.Builder languageId​(BigDecimal languageId)
        Language identifier
        Parameters:
        languageId - the value to set
        Returns:
        this builder
      • ascii3CountryCode

        public Country.Builder ascii3CountryCode​(String ascii3CountryCode)
        Country code in ISO-3166-1 3-letter format
        Parameters:
        ascii3CountryCode - the value to set
        Returns:
        this builder