Package org.openprovenance.prov.model
Interface Identifiable
-
- All Known Subinterfaces:
ActedOnBehalfOf,Activity,Agent,Bundle,DerivedByInsertionFrom,DerivedByRemovalFrom,Element,Entity,Influence,QualifiedAlternateOf,QualifiedHadMember,QualifiedRelation,QualifiedSpecializationOf,Used,WasAssociatedWith,WasAttributedTo,WasDerivedFrom,WasEndedBy,WasGeneratedBy,WasInfluencedBy,WasInformedBy,WasInvalidatedBy,WasStartedBy
- All Known Implementing Classes:
ActedOnBehalfOf,Activity,Agent,Bundle,Entity,QualifiedAlternateOf,QualifiedHadMember,QualifiedSpecializationOf,Used,WasAssociatedWith,WasAttributedTo,WasDerivedFrom,WasEndedBy,WasGeneratedBy,WasInfluencedBy,WasInformedBy,WasInvalidatedBy,WasStartedBy
public interface IdentifiableInterface for what can be identified in PROV.
PROV-DM Definition for Identifier: An identifier is a qualified name.
Entity, Activity, and Agent have a mandatory identifier. Two entities (resp. activities, agents) are equal if they have the same identifier.
Generation, Usage, Communication, Start, End, Invalidation, Derivation, Attribution, Association, Delegation, Influence have an optional identifier. Two generations (resp. usages, communications, etc.) are equal if they have the same identifier.
Relevant class
- Author:
- lavm
-
-
Method Summary
Modifier and Type Method Description QualifiedNamegetId()Gets the value of the id property.voidsetId(QualifiedName value)Sets the value of the id property.
-
-
-
Method Detail
-
getId
QualifiedName getId()
Gets the value of the id property. A null value means that the object has not been identified.Entity,Activity,Agenthave a non-null identifier.- Returns:
- possible object is
QualifiedName
-
setId
void setId(QualifiedName value)
Sets the value of the id property.- Parameters:
value- allowed object isQualifiedName
-
-