- All Superinterfaces:
HasLabel,HasOther,HasRole,HasType,Identifiable,Influence,QualifiedRelation,Relation,Statement,StatementOrBundle
- All Known Implementing Classes:
WasAssociatedWith
public interface WasAssociatedWith
extends Identifiable, HasLabel, HasType, HasRole, HasOther, Influence
Interface for the PROV Association association.
PROV-DM Definition for Association: An activity association is an assignment of responsibility to an agent for an activity, indicating that the agent had a role in the activity. It further allows for a plan to be specified, which is the plan intended by the agent to achieve some goals in the context of this activity.
Relevant Factory Methods:
-
ProvFactory.newWasAssociatedWith(QualifiedName, QualifiedName, QualifiedName) -
ModelConstructor.newWasAssociatedWith(QualifiedName, QualifiedName, QualifiedName, QualifiedName, java.util.Collection)
Schema Definition:
The following schema fragment specifies the expected content contained within this class.
<complexType name="Association">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="activity" type="{http://www.w3.org/ns/prov#}IDRef"/>
<element name="agent" type="{http://www.w3.org/ns/prov#}IDRef" minOccurs="0"/>
<element name="plan" type="{http://www.w3.org/ns/prov#}IDRef" minOccurs="0"/>
<element ref="{http://www.w3.org/ns/prov#}label" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.w3.org/ns/prov#}role" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.w3.org/ns/prov#}type" maxOccurs="unbounded" minOccurs="0"/>
<any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute ref="{http://www.w3.org/ns/prov#}id"/>
</restriction>
</complexContent>
</complexType>
- Author:
- lavm
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openprovenance.prov.model.StatementOrBundle
StatementOrBundle.Kind -
Method Summary
Modifier and TypeMethodDescriptiongetAgent()getPlan()voidsetActivity(QualifiedName eid2) voidsetAgent(QualifiedName eid1) voidsetPlan(QualifiedName eid) Methods inherited from interface org.openprovenance.prov.model.Identifiable
getId, setIdMethods inherited from interface org.openprovenance.prov.model.StatementOrBundle
getKind
-
Method Details
-
setActivity
-
setAgent
-
setPlan
-
getActivity
QualifiedName getActivity() -
getAgent
QualifiedName getAgent() -
getPlan
QualifiedName getPlan()
-