Class Building
java.lang.Object
org.episteme.social.economics.PotentialResource
org.episteme.social.economics.Resource
org.episteme.social.economics.MaterialResource
org.episteme.social.economics.resources.Artifact
org.episteme.social.architecture.Building
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Positioned<Place>, Temporal<TimeCoordinate>, Property
Represents a building or architectural structure, integrating historical,
geographical, and stylistic dimensions. This model tracks construction dates,
architectural styles, and physical signatures like height.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumMajor architectural styles and movements.static enumFunctional types of buildings. -
Field Summary
Fields inherited from class PotentialResource
id, traits -
Constructor Summary
ConstructorsConstructorDescriptionBuilding(String name, Building.Style style, Building.Type type, TimeCoordinate buildDate, String architect, Place location, double heightMeters) Creates a new Building record. -
Method Summary
Methods inherited from class MaterialResource
equals, getValue, hashCode, setValueMethods inherited from class Resource
addOwner, getOwners, getProducer, getProductionDate, getProductionPlace, getTimestamp, getWhen, removeOwner, setId, setOwners, setPositionMethods inherited from class PotentialResource
getAmount, getDecayTime, getDescription, getId, getKind, getTraits, setDecaySeconds, setDecayTime, setDescription, setKind, setQuantityMethods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Constructor Details
-
Building
public Building(String name, Building.Style style, Building.Type type, TimeCoordinate buildDate, String architect, Place location, double heightMeters) Creates a new Building record.- Parameters:
name- common name of the buildingstyle- architectural style classificationtype- functional type classificationbuildDate- date of construction/completionarchitect- name of the lead architect or firmlocation- geographical locationheightMeters- height in meters
-
-
Method Details
-
getPosition
Description copied from interface:PositionedReturns the position of this entity.- Specified by:
getPositionin interfacePositioned<Place>- Overrides:
getPositionin classResource- Returns:
- the position.
-
getStyle
-
getType
-
getBuildDate
-
getArchitect
-
getLocation
-
getHeightMeters
public double getHeightMeters() -
toString
- Overrides:
toStringin classPotentialResource
-