Class ISOCountry

java.lang.Object
com.broadleafcommerce.customer.domain.ISOCountry
All Implemented Interfaces:
Serializable

public class ISOCountry extends Object implements Serializable
This domain object represents the ISO 3166 standard published by the International Organization for Standardization (ISO), and defines codes for the names of countries, dependent territories, and special areas of geographical interest.
Author:
Elbert Bautista (elbertbautista), Chad Harchar (charchar)
See Also:
  • Constructor Details

    • ISOCountry

      public ISOCountry()
  • Method Details

    • getId

      public String getId()
    • getName

      public String getName()
      The full name of the country.
      Returns:
      The full name of the country.
    • getAlpha2

      public String getAlpha2()
      The two letter code for this country.
      Returns:
      The two letter code for this country.
      See Also:
    • getAlpha3

      public String getAlpha3()
      The three letter code for this country.
      Returns:
      The three letter code for this country.
      See Also:
    • getNumericCode

      public Integer getNumericCode()
      The three digit code for this country.
      Returns:
      The three digit code for this country.
      See Also:
    • setId

      public void setId(String id)
    • setName

      public void setName(String name)
      The full name of the country.
      Parameters:
      name - The full name of the country.
    • setAlpha2

      public void setAlpha2(String alpha2)
      The two letter code for this country.
      Parameters:
      alpha2 - The two letter code for this country.
      See Also:
    • setAlpha3

      public void setAlpha3(String alpha3)
      The three letter code for this country.
      Parameters:
      alpha3 - The three letter code for this country.
      See Also:
    • setNumericCode

      public void setNumericCode(Integer numericCode)
      The three digit code for this country.
      Parameters:
      numericCode - The three digit code for this country.
      See Also:
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object