org.openprovenance.rdf
Interface WasDerivedFrom

All Superinterfaces:
AccountOrAnnotationOrEdgeOrNodeOrOPMGraphOrRole, Annotable, AnnotationOrEdgeOrNode, DcResource, Edge, org.openrdf.elmo.Entity, org.openrdf.concepts.rdfs.Resource

public interface WasDerivedFrom
extends Edge

An edge “was derived from” from artifact A2 to artifact A1 is a relationship that indicates that artifact A1 needs to have been generated for A2 to be generated. The piece of state associated with A2 is dependent on the presence of A1 or on the piece of state associated with A1 . WasDerivedFrom is a class that encompasses all the properties defined by OPM for this kind of edge. It is a reification of the opmv:wasDerivedFrom property.

See Also:
Artifact.getWasDerivedFrom()

Method Summary
 Artifact getCauseWasDerivedFrom()
          The cause of a WasDerivedFrom edge.
 Set<Artifact> getEffectWasDerivedFrom()
          The effect of a WasDerivedFrom edge.
 void setCauseWasDerivedFrom(Artifact causeWasDerivedFrom)
          The cause of a WasDerivedFrom edge.
 void setEffectWasDerivedFrom(Set<? extends Artifact> effectWasDerivedFrom)
          The effect of a WasDerivedFrom edge.
 
Methods inherited from interface org.openprovenance.rdf.Edge
getCause, getEffect, setCause, setEffect
 
Methods inherited from interface org.openprovenance.rdf.AnnotationOrEdgeOrNode
getAccounts, setAccounts
 
Methods inherited from interface org.openprovenance.rdf.Annotable
getAnnotations, getDatapropertyAbbreviation, getLabels, getPnames, getProfiles, getTypes, setAnnotations, setDatapropertyAbbreviation, setLabels, setPnames, setProfiles, setTypes
 

Method Detail

getCauseWasDerivedFrom

Artifact getCauseWasDerivedFrom()
The cause of a WasDerivedFrom edge.


setCauseWasDerivedFrom

void setCauseWasDerivedFrom(Artifact causeWasDerivedFrom)
The cause of a WasDerivedFrom edge.


getEffectWasDerivedFrom

Set<Artifact> getEffectWasDerivedFrom()
The effect of a WasDerivedFrom edge.


setEffectWasDerivedFrom

void setEffectWasDerivedFrom(Set<? extends Artifact> effectWasDerivedFrom)
The effect of a WasDerivedFrom edge.



Copyright © 2011. All Rights Reserved.