public interface WasAttributedTo extends Identifiable, HasLabel, HasType, HasOther, Influence
Interface for the PROV Attribution association.
PROV-DM Definition for Attribution: Attribution is the ascribing of an entity to an agent.
Relevant Factory Methods:
ProvFactory.newWasAttributedTo(QualifiedName, QualifiedName, QualifiedName)
ProvFactory.newWasAttributedTo(QualifiedName, QualifiedName, QualifiedName, java.util.Collection)
ObjectFactory.createWasAttributedTo()
Schema Definition:
The following schema fragment specifies the expected content contained within this class.
<complexType name="Attribution">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="entity" type="{http://www.w3.org/ns/prov#}IDRef"/>
<element name="agent" type="{http://www.w3.org/ns/prov#}IDRef"/>
<element ref="{http://www.w3.org/ns/prov#}label" 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 |
getAgent()
Get the identifier of the agent whom the entity is ascribed to, and therefore
bears some responsibility for its existence
|
QualifiedName |
getEntity()
Gets the entity identifier.
|
void |
setAgent(QualifiedName agent)
Set the identifier of the agent whom the entity is ascribed to.
|
void |
setEntity(QualifiedName entity)
Set the entity identifier.
|
getId, setIdgetKindvoid setEntity(QualifiedName entity)
entity - QualifiedName of the entityvoid setAgent(QualifiedName agent)
agent - QualifiedName of the agentQualifiedName getEntity()
QualifiedName of the entityQualifiedName getAgent()
QualifiedName of the agent.Copyright © 2016. All rights reserved.