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)
ProvFactory.newWasAssociatedWith(QualifiedName, QualifiedName, QualifiedName, QualifiedName, java.util.Collection)
ObjectFactory.createWasAssociatedWith()
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>
StatementOrBundle.Kind| Modifier and Type | Method and Description |
|---|---|
QualifiedName |
getActivity() |
QualifiedName |
getAgent() |
QualifiedName |
getPlan() |
void |
setActivity(QualifiedName eid2) |
void |
setAgent(QualifiedName eid1) |
void |
setPlan(QualifiedName eid) |
getId, setIdgetKindvoid setActivity(QualifiedName eid2)
void setAgent(QualifiedName eid1)
void setPlan(QualifiedName eid)
QualifiedName getActivity()
QualifiedName getAgent()
QualifiedName getPlan()
Copyright © 2016. All rights reserved.