Interface AlternateOf

  • All Superinterfaces:
    Relation, Statement, StatementOrBundle
    All Known Subinterfaces:
    QualifiedAlternateOf

    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>
     

    Author:
    lavm
    See Also:
    PROV-DM Alternate, PROV-O alternateOf, PROV-N Alternate, PROV-XML Alternate, PROV-JSON Alternate
    • Method Detail

      • setAlternate1

        void setAlternate1​(QualifiedName entity)
        Sets the identifier for the first of the two entities.
        Parameters:
        entity - a QualifiedName for second entity
      • setAlternate2

        void setAlternate2​(QualifiedName entity)
        Sets the identifier for the second of the two entities.
        Parameters:
        entity - a QualifiedName for second entity
      • getAlternate2

        QualifiedName getAlternate2()
        Returns the identifier for the second of the two entities.
        Returns:
        a QualifiedName