Class ViewTemplateImpl

java.lang.Object
org.aksw.jenax.arq.datashape.viewselector.ViewTemplateImpl
All Implemented Interfaces:
ViewTemplate

public class ViewTemplateImpl extends Object implements ViewTemplate
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.aksw.jenax.sparql.fragment.api.Fragment1
     
    protected org.aksw.jena_sparql_api.rx.entity.model.EntityQueryImpl
     
    protected org.apache.jena.rdf.model.Resource
    An IRI resource that identifies the view template and possibly provides additional information in its model
  • Constructor Summary

    Constructors
    Constructor
    Description
    ViewTemplateImpl(org.apache.jena.rdf.model.Resource metadata, org.aksw.jenax.sparql.fragment.api.Fragment1 condition, org.aksw.jena_sparql_api.rx.entity.model.EntityQueryImpl entityQuery)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.aksw.jenax.sparql.fragment.api.Fragment1
    A SPARQL graph pattern holding the condition a resource must satisfy in order to qualify as applicable to the view
    org.aksw.jena_sparql_api.rx.entity.model.EntityQueryImpl
    The SPARQL-based entity query which yields for a resource the corresponding graph fragments TODO This method should not return a full query but just the part the specifying the attributes
    org.apache.jena.rdf.model.Resource
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • metadata

      protected org.apache.jena.rdf.model.Resource metadata
      An IRI resource that identifies the view template and possibly provides additional information in its model
    • condition

      protected org.aksw.jenax.sparql.fragment.api.Fragment1 condition
    • entityQuery

      protected org.aksw.jena_sparql_api.rx.entity.model.EntityQueryImpl entityQuery
  • Constructor Details

    • ViewTemplateImpl

      public ViewTemplateImpl(org.apache.jena.rdf.model.Resource metadata, org.aksw.jenax.sparql.fragment.api.Fragment1 condition, org.aksw.jena_sparql_api.rx.entity.model.EntityQueryImpl entityQuery)
  • Method Details

    • getMetadata

      public org.apache.jena.rdf.model.Resource getMetadata()
      Specified by:
      getMetadata in interface ViewTemplate
    • getCondition

      public org.aksw.jenax.sparql.fragment.api.Fragment1 getCondition()
      Description copied from interface: ViewTemplate
      A SPARQL graph pattern holding the condition a resource must satisfy in order to qualify as applicable to the view
      Specified by:
      getCondition in interface ViewTemplate
      Returns:
    • getEntityQuery

      public org.aksw.jena_sparql_api.rx.entity.model.EntityQueryImpl getEntityQuery()
      Description copied from interface: ViewTemplate
      The SPARQL-based entity query which yields for a resource the corresponding graph fragments TODO This method should not return a full query but just the part the specifying the attributes
      Specified by:
      getEntityQuery in interface ViewTemplate
      Returns: