public interface DictionaryMembership extends Relation
Interface for PROV Dictionary Membership
A PROV Dictionary Definition for Membership: Similar to the collection membership relation, the dictionary membership allows stating the members of a Dictionary. However, it provides additional structure. Note that dictionary membership implies collection membership, but not vice versa.
Relevant Factory Methods:
Schema Definition:
The following schema fragment specifies the expected content contained within this class.
<complexType name="DictionaryMembership">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="dictionary" type="{http://www.w3.org/ns/prov#}IDRef"/>
<element name="keyEntityPair" type="{http://www.w3.org/ns/prov#}KeyEntityPair" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
StatementOrBundle.Kind| Modifier and Type | Method and Description |
|---|---|
QualifiedName |
getDictionary()
Get an identifier for the dictionary whose members are asserted.
|
List<Entry> |
getKeyEntityPair()
A list of entries (key-entity pairs) that are members of the dictionary.
|
void |
setDictionary(QualifiedName dictionary)
Set an identifier for the dictionary whose members are asserted.
|
getKindQualifiedName getDictionary()
QualifiedName of the dictionaryList<Entry> getKeyEntityPair()
DictionaryMembership allows for multiple pairs
to be asserted.Entryvoid setDictionary(QualifiedName dictionary)
dictionary - a QualifiedName of the dictionaryCopyright © 2016. All rights reserved.