- All Implemented Interfaces:
DerivedByRemovalFrom,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
ConstructorsConstructorDescriptionDerivedByRemovalFrom(QualifiedName id, QualifiedName after, QualifiedName before, List<Key> key, Collection<Attribute> attributes) -
Method Summary
Modifier and TypeMethodDescriptiongetId()Gets the value of the id property.getKey()Get the set of deleted keys.getKind()Gets the type of a provenance statementgetLabel()Gets the value of the label property.Get an identifier for the dictionary after the deletionGet an identifier for the dictionary before the deletiongetOther()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) Set an identifier for the dictionary after the deletion.voidsetOldDictionary(QualifiedName oldDictionary) Set an identifier for the dictionary before the deletion.
-
Constructor Details
-
DerivedByRemovalFrom
public DerivedByRemovalFrom(QualifiedName id, QualifiedName after, QualifiedName before, List<Key> key, Collection<Attribute> attributes)
-
-
Method Details
-
setNewDictionary
Description copied from interface:DerivedByRemovalFromSet an identifier for the dictionary after the deletion.- Specified by:
setNewDictionaryin interfaceDerivedByRemovalFrom- Parameters:
newDictionary- QualifiedName of the dictionary after the deletion- See Also:
-
setOldDictionary
Description copied from interface:DerivedByRemovalFromSet an identifier for the dictionary before the deletion.- Specified by:
setOldDictionaryin interfaceDerivedByRemovalFrom- Parameters:
oldDictionary- QualifiedName of the dictionary before the deletion- See Also:
-
getKey
Description copied from interface:DerivedByRemovalFromGet the set of deleted keys.- Specified by:
getKeyin interfaceDerivedByRemovalFrom- Returns:
- A list of keys
- See Also:
-
getNewDictionary
Description copied from interface:DerivedByRemovalFromGet an identifier for the dictionary after the deletion- Specified by:
getNewDictionaryin interfaceDerivedByRemovalFrom- Returns:
- a QualifiedName
- See Also:
-
getOldDictionary
Description copied from interface:DerivedByRemovalFromGet an identifier for the dictionary before the deletion- Specified by:
getOldDictionaryin interfaceDerivedByRemovalFrom- Returns:
- a QualifiedName
- See Also:
-
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
-