Class PropertyChainView
java.lang.Object
it.uniroma2.art.semanticturkey.config.customview.CustomView
it.uniroma2.art.semanticturkey.config.customview.PropertyChainView
- All Implemented Interfaces:
Configuration
,STProperties
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface it.uniroma2.art.semanticturkey.properties.STProperties
STProperties.BasicPropertiesConstraints, STProperties.BasicPropertyConstraintValidator
-
Field Summary
Fields inherited from class it.uniroma2.art.semanticturkey.config.customview.CustomView
suggestedView
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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) 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) 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) Methods inherited from class it.uniroma2.art.semanticturkey.config.customview.CustomView
getShortName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface it.uniroma2.art.semanticturkey.properties.STProperties
checkAndConvertPropertyValue, convertToPropertValue, getAnnotations, getEnumeration, getHTMLDescription, getHTMLWarning, getProperties, getPropertyAnnotatedType, getPropertyContentType, getPropertyDescription, getPropertyDisplayName, getPropertyType, getPropertyValue, getStringRepresentation, hasRequiredProperties, isEnumerated, isRequiredProperty, loadProperties, setProperties, setPropertyValue, storeProperties, storeProperties
-
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
- Specified by:
getModelType
in classCustomView
-
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 classCustomView
-
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)
-