Class Address

java.lang.Object
org.episteme.social.geography.Address
All Implemented Interfaces:
Serializable, Named, Positioned<EarthCoordinate>

public class Address extends Object implements Named, Positioned<EarthCoordinate>, Serializable
Represents a mailing or physical address for a location. Links to a Place for precise geographical coordinates.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
See Also:
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface Named
    • setName

      public void setName(String name)
    • getRecipientName

      public String getRecipientName()
    • setRecipientName

      public void setRecipientName(String recipientName)
    • getCompany

      public String getCompany()
    • setCompany

      public void setCompany(String company)
    • getStreetLine1

      public String getStreetLine1()
    • setStreetLine1

      public void setStreetLine1(String streetLine1)
    • getStreetLine2

      public String getStreetLine2()
    • setStreetLine2

      public void setStreetLine2(String streetLine2)
    • getCity

      public String getCity()
    • setCity

      public void setCity(String city)
    • getStateProvince

      public String getStateProvince()
    • setStateProvince

      public void setStateProvince(String stateProvince)
    • getPostalCode

      public String getPostalCode()
    • setPostalCode

      public void setPostalCode(String postalCode)
    • getCountry

      public Country getCountry()
    • setCountry

      public void setCountry(Country country)
    • getPhoneNumber

      public String getPhoneNumber()
    • setPhoneNumber

      public void setPhoneNumber(String phoneNumber)
    • getPlace

      public Place getPlace()
    • setPlace

      public void setPlace(Place place)
    • getPosition

      public EarthCoordinate getPosition()
      Description copied from interface: Positioned
      Returns the position of this entity.
      Specified by:
      getPosition in interface Positioned<EarthCoordinate>
      Returns:
      the position.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object