Class Location


  • public class Location
    extends java.lang.Object
    Location identifier.
    • Constructor Detail

      • Location

        public Location()
    • Method Detail

      • type

        public Location type​(java.lang.String type)
      • getType

        public java.lang.String getType()
        Type of location identification.
        Returns:
        type
      • setType

        public void setType​(java.lang.String type)
      • locationCode

        public Location locationCode​(java.lang.String locationCode)
      • getLocationCode

        public java.lang.String getLocationCode()
        Location code.
        Returns:
        locationCode
      • setLocationCode

        public void setLocationCode​(java.lang.String locationCode)
      • countryCode

        public Location countryCode​(java.lang.String countryCode)
      • getCountryCode

        public java.lang.String getCountryCode()
        The two digit country code. In ISO 3166-1 alpha-2 format.
        Returns:
        countryCode
      • setCountryCode

        public void setCountryCode​(java.lang.String countryCode)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object