Class Building

All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Positioned<Place>, Temporal<TimeCoordinate>, Property, Store

public class Building extends Artifact implements Store
Represents a human-made physical structure such as a house, factory, or skyscraper. * @version 1.1
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
See Also:
  • Constructor Details

  • Method Details

    • getContents

      public Set<Object> getContents()
      Description copied from interface: Store
      Returns an unmodifiable view of the contents.
      Specified by:
      getContents in interface Store
      Returns:
      the set of contained resources
    • getPurpose

      public String getPurpose()
      Returns the intended purpose of the building.
      Returns:
      the purpose string, or null if not set
    • setPurpose

      public void setPurpose(String purpose)
      Sets the intended purpose of the building.
      Parameters:
      purpose - descriptive purpose
    • getIn

      public void getIn()
      Description copied from interface: Store
      Procedure for an entity to enter the store.
      Specified by:
      getIn in interface Store
    • getOut

      public void getOut()
      Description copied from interface: Store
      Procedure for an entity to exit the store.
      Specified by:
      getOut in interface Store