Class Mineral
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Positioned<Place>, Temporal<TimeCoordinate>
- Direct Known Subclasses:
Fossil
A class representing Minerals. This includes stones, rocks, and fossils
not identified as such.
Note: Also see org.episteme.natural.earth.SoilComposition for related concepts.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Field Summary
Fields inherited from class PotentialResource
id, traits -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Resource
addOwner, equals, getOwners, getPosition, getProducer, getProductionDate, getProductionPlace, getTimestamp, getWhen, hashCode, removeOwner, setId, setOwners, setPositionMethods inherited from class PotentialResource
getAmount, getDecayTime, getDescription, getId, getKind, getTraits, setDecaySeconds, setDecayTime, setDescription, setKind, setQuantity, toStringMethods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Constructor Details
-
Mineral
public Mineral(String name, String description, Quantity<?> amount, Community producer, Place productionPlace, TimeCoordinate productionDate) Creates a new Mineral object.- Parameters:
name- the name, not null.description- the description, not null.amount- the quantity, not null.producer- the producer, not null.productionPlace- the place of production, not null.productionDate- the date of production, not null.
-