public interface DerivedByRemovalFrom extends Identifiable, HasType, HasLabel, Influence
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:
ProvFactory.newDerivedByRemovalFrom(QualifiedName, QualifiedName, QualifiedName, List, java.util.Collection)
ObjectFactory.createDerivedByRemovalFrom()
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>
StatementOrBundle.Kind| Modifier and Type | Method and Description |
|---|---|
List<Key> |
getKey()
Get the set of deleted keys.
|
QualifiedName |
getNewDictionary()
Get an identifier for the dictionary after the deletion
|
QualifiedName |
getOldDictionary()
Get an identifier for the dictionary before the deletion
|
void |
setNewDictionary(QualifiedName after)
Set an identifier for the dictionary after the deletion.
|
void |
setOldDictionary(QualifiedName before)
Set an identifier for the dictionary before the deletion.
|
getId, setIdgetKindList<Key> getKey()
QualifiedName getNewDictionary()
QualifiedName getOldDictionary()
void setNewDictionary(QualifiedName after)
after - QualifiedName of the dictionary after the deletionvoid setOldDictionary(QualifiedName before)
before - QualifiedName of the dictionary before the deletionCopyright © 2016. All rights reserved.