- All Superinterfaces:
HasLabel,HasOther,HasType,Identifiable,Influence,QualifiedRelation,Relation,Statement,StatementOrBundle
- All Known Implementing Classes:
DerivedByRemovalFrom
Interface for PROV Dictionary Removal.
A PROV Dictionary Definition for Removal:
A Removal relation prov:derivedByRemovalFrom(id; d2,d1, {key_1, ..., key_n}) states that
d2 is the dictionary following the removal of the set of pairs corresponding to keys
key_1...key_n from d1. In other words, the key-set {key_1,...,key_n}
is to be seen as the difference in keys and corresponding entities between d1 and d2.
Note that this key-set is considered to be complete. This means that we assume that no unknown keys were
inserted in or removed from a dictionary derived by a removal relation.
Relevant Factory Methods:
Schema Definition:
The following schema fragment specifies the expected content contained within this class.
<complexType name="Removal">
<complexContent>
<extension base="{http://www.w3.org/ns/prov#}AStatement">
<sequence>
<element name="newDictionary" type="{http://www.w3.org/ns/prov#}IDRef"/>
<element name="oldDictionary" type="{http://www.w3.org/ns/prov#}IDRef"/>
<element name="key" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" maxOccurs="unbounded"/>
<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"/>
<element ref="{http://www.w3.org/ns/prov#}others" maxOccurs="unbounded" minOccurs="0"/>
<any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute ref="{http://www.w3.org/ns/prov#}id"/>
</extension>
</complexContent>
</complexType>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openprovenance.prov.model.StatementOrBundle
StatementOrBundle.Kind -
Method Summary
Modifier and TypeMethodDescriptiongetKey()Get the set of deleted keys.Get an identifier for the dictionary after the deletionGet an identifier for the dictionary before the deletionvoidsetNewDictionary(QualifiedName after) Set an identifier for the dictionary after the deletion.voidsetOldDictionary(QualifiedName before) Set an identifier for the dictionary before the deletion.Methods inherited from interface org.openprovenance.prov.model.Identifiable
getId, setIdMethods inherited from interface org.openprovenance.prov.model.StatementOrBundle
getKind
-
Method Details
-
getKey
-
getNewDictionary
QualifiedName getNewDictionary()Get an identifier for the dictionary after the deletion- Returns:
- a QualifiedName
- See Also:
-
getOldDictionary
QualifiedName getOldDictionary()Get an identifier for the dictionary before the deletion- Returns:
- a QualifiedName
- See Also:
-
setNewDictionary
Set an identifier for the dictionary after the deletion.- Parameters:
after- QualifiedName of the dictionary after the deletion- See Also:
-
setOldDictionary
Set an identifier for the dictionary before the deletion.- Parameters:
before- QualifiedName of the dictionary before the deletion- See Also:
-