org.openprovenance.elmo
Class RdfWasDerivedFrom

java.lang.Object
  extended by org.openprovenance.model.WasDerivedFrom
      extended by org.openprovenance.elmo.RdfWasDerivedFrom
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString, HasFacade, Annotable, Edge, HasAccounts, Identifiable

public class RdfWasDerivedFrom
extends WasDerivedFrom
implements HasFacade


Field Summary
 
Fields inherited from class org.openprovenance.model.WasDerivedFrom
account, annotation, cause, effect, id, time
 
Constructor Summary
RdfWasDerivedFrom(org.openrdf.elmo.ElmoManager manager, QName qname)
           
RdfWasDerivedFrom(org.openrdf.elmo.ElmoManager manager, String prefix)
           
 
Method Summary
 WasDerivedFrom findMyFacade()
           
 Set<Account> getAccounts()
           
 Set<Annotation> getAnnotations()
           
 QName getQName()
           
 void setAccounts(Set<? extends Account> accs)
           
 void setAnnotations(Set<? extends Annotation> ann)
           
 void setCause(ArtifactRef value)
          Sets the value of the cause property.
 void setEffect(ArtifactRef value)
          Sets the value of the effect property.
 void setId(String value)
          Sets the value of the id property.
 void setNodes(ArtifactRef cause, ArtifactRef effect)
           
 
Methods inherited from class org.openprovenance.model.WasDerivedFrom
equals, equals, getAccount, getAnnotation, getCause, getEffect, getId, getTime, hashCode, hashCode, setTime, toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RdfWasDerivedFrom

public RdfWasDerivedFrom(org.openrdf.elmo.ElmoManager manager,
                         QName qname)

RdfWasDerivedFrom

public RdfWasDerivedFrom(org.openrdf.elmo.ElmoManager manager,
                         String prefix)
Method Detail

setId

public void setId(String value)
Description copied from class: WasDerivedFrom
Sets the value of the id property.

Specified by:
setId in interface Identifiable
Overrides:
setId in class WasDerivedFrom
Parameters:
value - allowed object is String

getQName

public QName getQName()
Specified by:
getQName in interface HasFacade

findMyFacade

public WasDerivedFrom findMyFacade()
Specified by:
findMyFacade in interface HasFacade

setEffect

public void setEffect(ArtifactRef value)
Description copied from class: WasDerivedFrom
Sets the value of the effect property.

Overrides:
setEffect in class WasDerivedFrom
Parameters:
value - allowed object is ArtifactRef

setCause

public void setCause(ArtifactRef value)
Description copied from class: WasDerivedFrom
Sets the value of the cause property.

Overrides:
setCause in class WasDerivedFrom
Parameters:
value - allowed object is ArtifactRef

setNodes

public void setNodes(ArtifactRef cause,
                     ArtifactRef effect)

setAccounts

public void setAccounts(Set<? extends Account> accs)

getAccounts

public Set<Account> getAccounts()

setAnnotations

public void setAnnotations(Set<? extends Annotation> ann)

getAnnotations

public Set<Annotation> getAnnotations()


Copyright © 2011. All Rights Reserved.