- All Superinterfaces:
Relation,Statement,StatementOrBundle
- All Known Implementing Classes:
DictionaryMembership
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>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openprovenance.prov.model.StatementOrBundle
StatementOrBundle.Kind -
Method Summary
Modifier and TypeMethodDescriptionGet an identifier for the dictionary whose members are asserted.A list of entries (key-entity pairs) that are members of the dictionary.voidsetDictionary(QualifiedName dictionary) Set an identifier for the dictionary whose members are asserted.Methods inherited from interface org.openprovenance.prov.model.StatementOrBundle
getKind
-
Method Details
-
getDictionary
QualifiedName getDictionary()Get an identifier for the dictionary whose members are asserted.- Returns:
QualifiedNameof the dictionary- See Also:
-
getKeyEntityPair
A list of entries (key-entity pairs) that are members of the dictionary. Note that while the conceptual models allows for one key-entity pair to be asserted at the time,DictionaryMembershipallows for multiple pairs to be asserted.- Returns:
- a list of
Entry - See Also:
-
setDictionary
Set an identifier for the dictionary whose members are asserted.- Parameters:
dictionary- aQualifiedNameof the dictionary- See Also:
-