Class PropertyChainView

java.lang.Object
it.uniroma2.art.semanticturkey.config.customview.CustomView
it.uniroma2.art.semanticturkey.config.customview.PropertyChainView
All Implemented Interfaces:
Configuration, STProperties

public class PropertyChainView extends CustomView
CV based on a property chain. e.g. :res -> :prop1 -> :node_1 -> :prop2 -> :node_2 -> ... -> :propN -> rendering_value The description of a value (CustomViewObjectDescription.description) for this CV consists in a list of CustomViewRenderedValue. Most of the case there will be just one CustomViewRenderedValue for each CustomViewObjectDescription.resource, but in case of validation (or some "strange" cases of reified resources, e.g. reified note where the note has multiple literal rdf:value) there could be more than one
  • Field Details

    • properties

      @STProperty(description="{it.uniroma2.art.semanticturkey.config.customview.PropertyChainView.properties.description}", displayName="{it.uniroma2.art.semanticturkey.config.customview.PropertyChainView.properties.displayName}") @Required public List<org.eclipse.rdf4j.model.IRI> properties
  • Constructor Details

    • PropertyChainView

      public PropertyChainView()
  • Method Details

    • getModelType

      public CustomViewModelEnum getModelType()
      Specified by:
      getModelType in class CustomView
    • getData

      public CustomViewData getData(org.eclipse.rdf4j.repository.RepositoryConnection connection, org.eclipse.rdf4j.model.Resource resource, org.eclipse.rdf4j.model.IRI property, org.eclipse.rdf4j.model.IRI workingGraph)
      Specified by:
      getData in class CustomView
    • updateData

      public void updateData(org.eclipse.rdf4j.repository.RepositoryConnection connection, org.eclipse.rdf4j.model.Resource resource, org.eclipse.rdf4j.model.IRI property, org.eclipse.rdf4j.model.Value oldValue, org.eclipse.rdf4j.model.Value newValue, org.eclipse.rdf4j.model.IRI workingGraph)
    • deleteData

      public void deleteData(org.eclipse.rdf4j.repository.RepositoryConnection connection, org.eclipse.rdf4j.model.Resource resource, org.eclipse.rdf4j.model.IRI property, org.eclipse.rdf4j.model.Value value, org.eclipse.rdf4j.model.IRI workingGraph)