Class Item
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named, Positioned<Place>, Temporal<TimeCoordinate>, Property
Represents an archaeological item (fossil, artifact, etc.) found at a site.
Tracks discovery details, archaeological context, and scientific post-processing.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Field Summary
Fields inherited from class PotentialResource
id, traits -
Constructor Summary
ConstructorsConstructorDescriptionItem(String name, String description, Organization organization, TimeCoordinate dating, Identification identification, Set<Human> discoverers, TimeCoordinate discoveryDate, Place originalPosition) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAnalysis(Analysis analysis) voidaddExtraDescription(ScientificDescription description) voidaddPublication(Citation citation) voidaddRestoration(Restoration restoration) booleanReturns the estimated dating of the artifact.inthashCode()voidsetCivilization(Civilization civilization) voidsetDating(TimeCoordinate dating) Sets the estimated dating of the artifact.Methods inherited from class MaterialResource
getValue, setValueMethods inherited from class Resource
addOwner, getOwners, getPosition, getProducer, getProductionDate, getProductionPlace, getTimestamp, getWhen, 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
-
Item
public Item(String name, String description, Organization organization, TimeCoordinate dating, Identification identification, Set<Human> discoverers, TimeCoordinate discoveryDate, Place originalPosition)
-
-
Method Details
-
getDating
-
setDating
Sets the estimated dating of the artifact.- Parameters:
dating- the new dating
-
getDiscoverers
-
getDiscoveryDate
-
getOriginalPosition
-
getCivilization
-
setCivilization
-
getExtraDescriptions
-
addExtraDescription
-
getPublications
-
addPublication
-
getAnalyses
-
addAnalysis
-
getRestorations
-
addRestoration
-
equals
- Overrides:
equalsin classMaterialResource
-
hashCode
public int hashCode()- Overrides:
hashCodein classMaterialResource
-