Class OwnedPlace
java.lang.Object
org.episteme.natural.earth.Place
org.episteme.social.geography.TimedPlace
org.episteme.social.geography.OwnedPlace
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Positioned<EarthCoordinate>, Temporal<Temporal<?>>, Property
- Direct Known Subclasses:
BusinessPlace, Home
Represents a piece of land or building that is owned by one or more economic agents.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOwner(EconomicAgent owner) Returns the set of owners of this property.getValue()Returns the monetary value of this property.voidremoveOwner(EconomicAgent owner) voidtoString()Methods inherited from class TimedPlace
addTimedBoundary, getBoundariesAt, getTimedBoundariesMethods inherited from class Place
addBoundary, addInhabitant, clearBoundaries, distanceTo, equals, getBoundaries, getCenter, getHistoricalName, getId, getInhabitants, getPosition, getPrecision, getRegion, getTraits, getType, getUncertaintyRadius, getWhen, greenwich, hashCode, of, removeInhabitant, setCenter, setExistenceTime, setHistoricalName, setPrecision, setRegion, setType, setUncertaintyRadiusMethods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Constructor Details
-
OwnedPlace
-
-
Method Details
-
getOwners
Description copied from interface:PropertyReturns the set of owners of this property.- Specified by:
getOwnersin interfaceProperty- Returns:
- a Set of
EconomicAgentwho own this property
-
addOwner
-
removeOwner
-
getValue
-
setValue
-
toString
-