Package org.openprovenance.prov.model
Interface ActedOnBehalfOf
-
- All Superinterfaces:
HasLabel,HasOther,HasType,Identifiable,Influence,QualifiedRelation,Relation,Statement,StatementOrBundle
- All Known Implementing Classes:
ActedOnBehalfOf
public interface ActedOnBehalfOf extends Identifiable, HasLabel, HasType, HasOther, Influence
Interface for the PROV Delegation association.
PROV-DM Definition for Delegation: Delegation is the assignment of authority and responsibility to an agent (by itself or by another agent) to carry out a specific activity as a delegate or representative, while the agent it acts on behalf of retains some responsibility for the outcome of the delegated work.
Relevant Factory Methods:
-
ProvFactory.newActedOnBehalfOf(QualifiedName, QualifiedName, QualifiedName) -
ProvFactory.newActedOnBehalfOf(QualifiedName, QualifiedName, QualifiedName, QualifiedName, java.util.Collection) -
ObjectFactory.createActedOnBehalfOf()
Schema Definition:
The following schema fragment specifies the expected content contained within this class.
<complexType name="Delegation"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="delegate" type="{http://www.w3.org/ns/prov#}IDRef"/> <element name="responsible" type="{http://www.w3.org/ns/prov#}IDRef"/> <element name="activity" 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>- Author:
- lavm
- See Also:
- PROV-DM Delegation, PROV-O Delegation, PROV-N Delegation, PROV-XML Delegation, PROV-JSON Delegation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openprovenance.prov.model.StatementOrBundle
StatementOrBundle.Kind
-
-
Method Summary
Modifier and Type Method Description QualifiedNamegetActivity()Get the activity identifier.QualifiedNamegetDelegate()Get the delegate identifier.QualifiedNamegetResponsible()Get the responsible identifier.voidsetActivity(QualifiedName activity)Set the activity identifier.voidsetDelegate(QualifiedName delegate)Set the delegate identifier.voidsetResponsible(QualifiedName responsible)Set the responsible identifier-
Methods inherited from interface org.openprovenance.prov.model.Identifiable
getId, setId
-
Methods inherited from interface org.openprovenance.prov.model.StatementOrBundle
getKind
-
-
-
-
Method Detail
-
getActivity
QualifiedName getActivity()
Get the activity identifier. This is the activity for which the delegation link holds.- Returns:
- the activity QualifiedName
- See Also:
- delegation activity
-
getDelegate
QualifiedName getDelegate()
Get the delegate identifier. The delegate is the agent associated with an activity, acting on behalf of the responsible agent.- Returns:
- a QualifiedName
- See Also:
- delegation delegate
-
getResponsible
QualifiedName getResponsible()
Get the responsible identifier. The responsible is the agent, on behalf of which the delegate agent acted.- Returns:
- a QualifiedName
- See Also:
- delegation responsible
-
setActivity
void setActivity(QualifiedName activity)
Set the activity identifier.- Parameters:
activity- QualifiedName of the activity- See Also:
- delegation activity
-
setDelegate
void setDelegate(QualifiedName delegate)
Set the delegate identifier.- Parameters:
delegate- QualifiedName of the delegate agent.- See Also:
- delegation delegate
-
setResponsible
void setResponsible(QualifiedName responsible)
Set the responsible identifier- Parameters:
responsible- QualifiedName of the responsible agent.- See Also:
- delegation responsible
-
-