- All Implemented Interfaces:
DerivedByInsertionFrom,HasLabel,HasOther,HasType,Identifiable,Influence,QualifiedRelation,Relation,Statement,StatementOrBundle
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openprovenance.prov.model.StatementOrBundle
StatementOrBundle.Kind -
Constructor Summary
ConstructorsConstructorDescriptionDerivedByInsertionFrom(QualifiedName id, QualifiedName after, QualifiedName before, List<Entry> keyEntitySet, Collection<Attribute> attributes) -
Method Summary
Modifier and TypeMethodDescriptiongetId()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.getType()Gets the value of theprov:typeproperty.voidsetId(QualifiedName id) Sets the value of the id property.voidsetNewDictionary(QualifiedName newDictionary) voidsetOldDictionary(QualifiedName oldDictionary)
-
Constructor Details
-
DerivedByInsertionFrom
public DerivedByInsertionFrom(QualifiedName id, QualifiedName after, QualifiedName before, List<Entry> keyEntitySet, Collection<Attribute> attributes)
-
-
Method Details
-
setNewDictionary
- Specified by:
setNewDictionaryin interfaceDerivedByInsertionFrom
-
setOldDictionary
- Specified by:
setOldDictionaryin interfaceDerivedByInsertionFrom
-
getKeyEntityPair
- Specified by:
getKeyEntityPairin interfaceDerivedByInsertionFrom
-
getNewDictionary
- Specified by:
getNewDictionaryin interfaceDerivedByInsertionFrom
-
getOldDictionary
- Specified by:
getOldDictionaryin interfaceDerivedByInsertionFrom
-
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 -
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); -
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 -
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
-
setId
Description copied from interface:IdentifiableSets the value of the id property.- Specified by:
setIdin interfaceIdentifiable- Parameters:
id- allowed object isQualifiedName
-
getKind
Description copied from interface:StatementOrBundleGets the type of a provenance statement- Specified by:
getKindin interfaceStatementOrBundle- Returns:
StatementOrBundle.Kind
-