Class State


  • public class State
    extends Object
    State
    • Constructor Detail

      • State

        public State()
    • Method Detail

      • getName

        public String getName()
        Nome do estado
        Returns:
        name
      • setName

        public void setName​(String name)
      • getId

        public String getId()
        Id do estado
        Returns:
        id
      • setId

        public void setId​(String id)
      • abbreviation

        public State abbreviation​(String abbreviation)
      • getAbbreviation

        public String getAbbreviation()
        Abreviação do nome do estado
        Returns:
        abbreviation
      • setAbbreviation

        public void setAbbreviation​(String abbreviation)
      • getCountryId

        public Country getCountryId()
        Get countryId
        Returns:
        countryId
      • setCountryId

        public void setCountryId​(Country countryId)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object