public interface AlternateOf extends Relation
Interface for PROV Alternate association.
PROV-DM Definition for Alternate: Two alternate entities present aspects of the same thing. These aspects may be the same or different, and the alternate entities may or may not overlap in time.
Note that alternateOf is a necessarily very general relationship that, in reasoning, only states that the two alternate entities respectively fix some aspects of some common thing (possibly evolving over time), and so there is some relevant connection between the provenance of the alternates. In a specific application context, alternateOf, or a subtype of it, could allow more inferences.
Relevant Factory Methods:
Schema Definition:
The following schema fragment specifies the expected content contained within this class.
<complexType name="Alternate"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="alternate1" type="{http://www.w3.org/ns/prov#}IDRef"/> <element name="alternate2" type="{http://www.w3.org/ns/prov#}IDRef"/> </sequence> </restriction> </complexContent> </complexType>
StatementOrBundle.Kind
Modifier and Type | Method and Description |
---|---|
QualifiedName |
getAlternate1()
Returns the identifier for the first of the two entities.
|
QualifiedName |
getAlternate2()
Returns the identifier for the second of the two entities.
|
void |
setAlternate1(QualifiedName entity)
Sets the identifier for the first of the two entities.
|
void |
setAlternate2(QualifiedName entity)
Sets the identifier for the second of the two entities.
|
getKind
void setAlternate1(QualifiedName entity)
entity
- a QualifiedName
for second entityvoid setAlternate2(QualifiedName entity)
entity
- a QualifiedName
for second entityQualifiedName getAlternate1()
QualifiedName
QualifiedName getAlternate2()
QualifiedName
Copyright © 2016. All rights reserved.