Class Place
java.lang.Object
org.episteme.natural.earth.Place
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Positioned<EarthCoordinate>, Temporal<Temporal<?>>
- Direct Known Subclasses:
City, Region, Settlement, Site, TimedPlace
public class Place
extends Object
implements ComprehensiveIdentification, Positioned<EarthCoordinate>, Temporal<Temporal<?>>
Base class for all geographical features and named locations.
Uses geodetic coordinates for absolute positioning on Earth.
Implements ComprehensiveIdentification to support dynamic traits and consistent identity.
Modernized to use extensible PlaceType and PlacePrecision.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBoundary(Boundary<EarthCoordinate> boundary) voidaddInhabitant(Individual individual) voiddistanceTo(Place other) booleanReturns the boundaries of this place.getId()Returns the unique identifier of this entity.Returns the position of this entity.Returns the traits map for this entity.getType()Temporal<?> getWhen()Returns the temporal position (when) of this entity.static PlaceinthashCode()static PlacevoidremoveInhabitant(Individual individual) voidsetCenter(GeodeticCoordinate center) voidsetExistenceTime(Temporal<?> existenceTime) voidsetHistoricalName(String historicalName) voidsetPrecision(PlacePrecision precision) voidvoidvoidsetUncertaintyRadius(Quantity<Length> radius) toString()Methods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Field Details
-
id
-
traits
-
-
Constructor Details
-
Place
-
Place
-
Place
-
-
Method Details
-
getId
Description copied from interface:IdentifiedReturns the unique identifier of this entity.- Specified by:
getIdin interfaceIdentified<Identification>- Returns:
- the identifier
-
getTraits
Description copied from interface:ComprehensiveIdentificationReturns the traits map for this entity.- Specified by:
getTraitsin interfaceCommented- Specified by:
getTraitsin interfaceComprehensiveIdentification- Returns:
- the traits map
-
getType
-
setType
-
getCenter
-
setCenter
-
getPosition
Description copied from interface:PositionedReturns the position of this entity.- Specified by:
getPositionin interfacePositioned<EarthCoordinate>- Returns:
- the position.
-
getHistoricalName
-
setHistoricalName
-
getPrecision
-
setPrecision
-
getUncertaintyRadius
-
setUncertaintyRadius
-
getRegion
-
setRegion
-
getBoundaries
Returns the boundaries of this place. Enclaves and exclaves should be modeled using CompositeBoundary2D if supported. -
addBoundary
-
clearBoundaries
public void clearBoundaries() -
getWhen
-
setExistenceTime
-
addInhabitant
-
removeInhabitant
-
getInhabitants
-
distanceTo
-
equals
-
hashCode
-
toString
-
of
-
greenwich
-