Interface HasLocation
public interface HasLocation
Mixin indicating the class has location data. A location is either a GIS position, a Plus Code, or a postal address.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordA GIS location indicating with two decimal degree values.static final recordA Plus code location defined as a Plus Code value. -
Method Summary
Modifier and TypeMethodDescriptionaddress()default booleandefault booleandefault booleandefault Optional<HasLocation.PlusCode> plusCode()default Optional<HasLocation.GeoPosition> position()
-
Method Details
-
address
-
position
-
plusCode
-
hasAddress
default boolean hasAddress() -
hasPosition
default boolean hasPosition() -
hasPlusCode
default boolean hasPlusCode()
-