Package org.openprovenance.prov.model
Interface DerivedByRemovalFrom
-
- All Superinterfaces:
HasLabel
,HasOther
,HasType
,Identifiable
,Influence
,QualifiedRelation
,Relation
,Statement
,StatementOrBundle
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 thatd2
is the dictionary following the removal of the set of pairs corresponding to keyskey_1...key_n
fromd1
. In other words, the key-set{key_1,...,key_n}
is to be seen as the difference in keys and corresponding entities betweend1
andd2
. 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>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openprovenance.prov.model.StatementOrBundle
StatementOrBundle.Kind
-
-
Method Summary
Modifier and Type Method Description List<Key>
getKey()
Get the set of deleted keys.QualifiedName
getNewDictionary()
Get an identifier for the dictionary after the deletionQualifiedName
getOldDictionary()
Get an identifier for the dictionary before the deletionvoid
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.-
Methods inherited from interface org.openprovenance.prov.model.Identifiable
getId, setId
-
Methods inherited from interface org.openprovenance.prov.model.StatementOrBundle
getKind
-
-
-
-
Method Detail
-
getKey
List<Key> getKey()
Get the set of deleted keys.- Returns:
- A list of keys
- See Also:
- Removal Key-Set
-
getNewDictionary
QualifiedName getNewDictionary()
Get an identifier for the dictionary after the deletion- Returns:
- a QualifiedName
- See Also:
- Removal After
-
getOldDictionary
QualifiedName getOldDictionary()
Get an identifier for the dictionary before the deletion- Returns:
- a QualifiedName
- See Also:
- Removal Before
-
setNewDictionary
void setNewDictionary(QualifiedName after)
Set an identifier for the dictionary after the deletion.- Parameters:
after
- QualifiedName of the dictionary after the deletion- See Also:
- Removal After
-
setOldDictionary
void setOldDictionary(QualifiedName before)
Set an identifier for the dictionary before the deletion.- Parameters:
before
- QualifiedName of the dictionary before the deletion- See Also:
- Removal Before
-
-