package cart; //Country - has methods to store and verify country and abbreviation // only builds with abbreviation to keep things simplest //author - Lawrence Truett - FluffyCat.com //date - August 12, 2003 - San Diego, CA public class Country { private String country = null; private String countryAbbrev = null; public Country() {} public Country(String countryAbbrevIn) { this.setCountryAbbrev(countryAbbrevIn); } public String getCountry() {return country;} private void setCountry(String countryIn) { this.country = countryIn; } //need stuff here to get country from abbrev public String getCountryAbbrev() {return countryAbbrev;} private void setCountryAbbrev(String countryAbbrevIn) { this.countryAbbrev = countryAbbrevIn; } public String toString() { return ("Country: " + this.getCountry() + " abbrev: " + this.getCountryAbbrev()); } }