Class PotentialResource
java.lang.Object
org.episteme.social.economics.PotentialResource
- All Implemented Interfaces:
Serializable, Commented, ComprehensiveIdentification, Identified<Identification>, Named
- Direct Known Subclasses:
Resource
A class representing a potential or virtual resource, such as oil in the soil
that is expected to be found, or ingredients required in a recipe or task.
Resources can be people, equipment, facilities, funding, or anything else capable of definition required for the completion of a project activity.
Implements ComprehensiveIdentification and modernized to use Real for continuous factors.- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPotentialResource(String name, String description, Quantity<?> amount) Creates a new PotentialResource object.PotentialResource(String name, String description, Quantity<?> amount, ResourceKind kind) Creates a new PotentialResource with a specific kind.PotentialResource(Identification id, String name, String description, Quantity<?> amount) Creates a new PotentialResource with a specific identification. -
Method Summary
Modifier and TypeMethodDescriptionbooleanQuantity<?> getId()Returns the unique identifier of this entity.getKind()Returns the traits map for this entity.inthashCode()voidsetDecaySeconds(double decayTime) voidsetDecayTime(Quantity<Time> decayTime) voidsetDescription(String description) voidsetKind(ResourceKind kind) voidsetQuantity(Quantity<?> amount) toString()Methods inherited from interface Commented
getComments, getTrait, setCommentsMethods inherited from interface ComprehensiveIdentification
getName, getTrait, setName, setTrait
-
Field Details
-
id
-
traits
-
-
Constructor Details
-
PotentialResource
-
PotentialResource
Creates a new PotentialResource with a specific identification. -
PotentialResource
Creates a new PotentialResource with a specific kind.
-
-
Method Details
-
getId
Description copied from interface:IdentifiedReturns the unique identifier of this entity.- Specified by:
getIdin interfaceIdentified<Identification>- Returns:
- the identifier
-
getTraits
Description copied from interface:ComprehensiveIdentificationReturns the traits map for this entity.- Specified by:
getTraitsin interfaceCommented- Specified by:
getTraitsin interfaceComprehensiveIdentification- Returns:
- the traits map
-
getDescription
-
setDescription
-
getAmount
-
setQuantity
-
getDecayTime
-
setDecayTime
-
setDecaySeconds
public void setDecaySeconds(double decayTime) -
getKind
-
setKind
-
equals
-
hashCode
-
toString
-