Class DecoratedRDFLinkSource<X extends RDFLinkSource>

java.lang.Object
org.aksw.jenax.dataaccess.sparql.linksource.RDFLinkSourceWrapperBase<X>
org.aksw.jenax.dataaccess.sparql.linksource.DecoratedRDFLinkSource<X>
All Implemented Interfaces:
RDFLinkSource, RDFLinkSourceWrapper<X>

public class DecoratedRDFLinkSource<X extends RDFLinkSource> extends RDFLinkSourceWrapperBase<X>
FIXME Confusing design: Note: The delegate is the original data source in order to allow unwrapping it with getDelegate(). Calls on this class are actually forwarded to effectiveLinkSource. So there is a difference between the delegate (which object to delegate calls to) and the wrapped object.
  • Field Details

    • effectiveLinkSource

      protected RDFLinkSource effectiveLinkSource
  • Constructor Details

    • DecoratedRDFLinkSource

      public DecoratedRDFLinkSource(X delegate, RDFLinkSource effectiveLinkSource)
  • Method Details

    • getDatasetGraph

      public org.apache.jena.sparql.core.DatasetGraph getDatasetGraph()
      Description copied from interface: RDFLinkSource
      A link source may optionally associated with a dataset graph.
    • newLinkBuilder

      public RDFLinkBuilder<?> newLinkBuilder()
    • toString

      public String toString()
      Overrides:
      toString in class Object