- All Implemented Interfaces:
org.openprovenance.apache.commons.lang.builder.Equals,org.openprovenance.apache.commons.lang.builder.HashCode,org.openprovenance.apache.commons.lang.builder.ToString,ActedOnBehalfOf,HasLabel,HasOther,HasType,Identifiable,Influence,QualifiedRelation,Relation,Statement,StatementOrBundle,HasAttributes
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openprovenance.prov.model.StatementOrBundle
StatementOrBundle.Kind -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected QualifiedNamestatic final QualifiedNameprotected QualifiedName -
Constructor Summary
ConstructorsConstructorDescriptionActedOnBehalfOf(QualifiedName id, Collection<Attribute> attributes) ActedOnBehalfOf(QualifiedName id, QualifiedName delegate, QualifiedName responsible, QualifiedName activity, Collection<Attribute> attributes) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidGet the activity identifier.Get the delegate identifier.getId()Gets the value of the id property.getKind()Gets the type of a provenance statementgetLabel()Gets the value of the label property.getOther()Gets the list of non-PROV attributes.Get the responsible identifier.getType()Gets the value of theprov:typeproperty.inthashCode()voidhashCode(org.openprovenance.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder) voidsetActivity(QualifiedName eid) Set the activity identifier.voidsetDelegate(QualifiedName aid) Set the delegate identifier.voidsetId(QualifiedName value) Sets the value of the id property.voidsetIndexedAttributes(Object qn, Set<Attribute> attributes) voidSet the responsible identifiertoString()voidtoString(org.openprovenance.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
-
Field Details
-
QUALIFIED_NAME_XSD_STRING
-
delegate
-
responsible
-
-
Constructor Details
-
ActedOnBehalfOf
-
ActedOnBehalfOf
public ActedOnBehalfOf(QualifiedName id, QualifiedName delegate, QualifiedName responsible, QualifiedName activity, Collection<Attribute> attributes)
-
-
Method Details
-
setDelegate
Description copied from interface:ActedOnBehalfOfSet the delegate identifier.- Specified by:
setDelegatein interfaceActedOnBehalfOf- Parameters:
aid- QualifiedName of the delegate agent.- See Also:
-
setResponsible
Description copied from interface:ActedOnBehalfOfSet the responsible identifier- Specified by:
setResponsiblein interfaceActedOnBehalfOf- Parameters:
aid- QualifiedName of the responsible agent.- See Also:
-
setActivity
Description copied from interface:ActedOnBehalfOfSet the activity identifier.- Specified by:
setActivityin interfaceActedOnBehalfOf- Parameters:
eid- QualifiedName of the activity- See Also:
-
getDelegate
Description copied from interface:ActedOnBehalfOfGet the delegate identifier. The delegate is the agent associated with an activity, acting on behalf of the responsible agent.- Specified by:
getDelegatein interfaceActedOnBehalfOf- Returns:
- a QualifiedName
- See Also:
-
getResponsible
Description copied from interface:ActedOnBehalfOfGet the responsible identifier. The responsible is the agent, on behalf of which the delegate agent acted.- Specified by:
getResponsiblein interfaceActedOnBehalfOf- Returns:
- a QualifiedName
- See Also:
-
getActivity
Description copied from interface:ActedOnBehalfOfGet the activity identifier. This is the activity for which the delegation link holds.- Specified by:
getActivityin interfaceActedOnBehalfOf- Returns:
- the activity QualifiedName
- See Also:
-
getId
Description copied from interface:IdentifiableGets the value of the id property. A null value means that the object has not been identified.Entity,Activity,Agenthave a non-null identifier.- Specified by:
getIdin interfaceIdentifiable- Returns:
- possible object is
QualifiedName
-
getKind
Description copied from interface:StatementOrBundleGets the type of a provenance statement- Specified by:
getKindin interfaceStatementOrBundle- Returns:
StatementOrBundle.Kind
-
setId
Description copied from interface:IdentifiableSets the value of the id property.- Specified by:
setIdin interfaceIdentifiable- Parameters:
value- allowed object isQualifiedName
-
getLabel
Description copied from interface:HasLabelGets the value of the label property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the object. This is why there is not a
setmethod for the label property.For example, to add a new item, do as follows:
getLabel().add(newItem);Objects of the following type(s) are allowed in the list
LangString -
getType
Description copied from interface:HasTypeGets the value of theprov:typeproperty.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the type property.For example, to add a new item, do as follows:
getType().add(newItem);Objects of the following type(s) are allowed in the list
Type -
getOther
Description copied from interface:HasOtherGets the list of non-PROV attributes.This accessor method returns a reference to the live list, not a snapshot. Therefore, any modification made to the returned list will be present inside the object. This is why there is not a
setmethod for the role property.For example, to add a new item, do as follows:
getOther().add(newItem); -
equals
public void equals(Object object, org.openprovenance.apache.commons.lang.builder.EqualsBuilder equalsBuilder) - Specified by:
equalsin interfaceorg.openprovenance.apache.commons.lang.builder.Equals
-
equals
-
hashCode
public void hashCode(org.openprovenance.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder) - Specified by:
hashCodein interfaceorg.openprovenance.apache.commons.lang.builder.HashCode
-
hashCode
-
toString
public void toString(org.openprovenance.apache.commons.lang.builder.ToStringBuilder toStringBuilder) - Specified by:
toStringin interfaceorg.openprovenance.apache.commons.lang.builder.ToString
-
toString
-
getAttributes
- Specified by:
getAttributesin interfaceHasAttributes
-
setIndexedAttributes
-
getIndexedAttributes
- Specified by:
getIndexedAttributesin interfaceHasAttributes
-