org.ragna.comet.trigger

Type members

Classlikes

sealed abstract class ShapeMapFormat(val name: String)

Abstract class representing the available formats for ShapeMaps

Abstract class representing the available formats for ShapeMaps

See also:
Note:

Used as an enum-replacement for Scala 2 syntax

Companion:
object

Enumeration of the different formats a ShapeMap can take, based on those formats specified in ShaclEx

Enumeration of the different formats a ShapeMap can take, based on those formats specified in ShaclEx

Companion:
class
sealed abstract class TriggerModeType(val name: String)

Abstract class representing the available Validation Triggers

Abstract class representing the available Validation Triggers

See also:
Note:

Used as an enum-replacement for Scala 2 syntax

Companion:
object

Enumeration of the different types of Validation Triggers that can be found accompanying validation schemas

Enumeration of the different types of Validation Triggers that can be found accompanying validation schemas

Companion:
class
sealed case class TriggerShapeMap(shapeMapText: String, shapeMapFormat: ShapeMapFormat, nodesPrefixMap: PrefixMap, shapesPrefixMap: PrefixMap) extends ValidationTrigger

Data class representing a validation trigger by shapeMap, as used in ShEx validations

Data class representing a validation trigger by shapeMap, as used in ShEx validations

Value parameters:
nodesPrefixMap

Prefix map of the RDF data being validated with this trigger, it will be autofilled before validation

shapeMapFormat

ShapeMap format, needed to interpret the text

shapeMapText

ShapeMap contents, as a raw String

shapesPrefixMap

Prefix map of the Schema used for validation with this trigger, it will be autofilled before validation

Note:

We may need an schema, but not data, this is because data arrives in Streams and it is not known beforehand until validation

sealed case class TriggerTargetDeclarations() extends ValidationTrigger

Data class representing a validation trigger by target declarations, as used in SHACL validations

Data class representing a validation trigger by target declarations, as used in SHACL validations

It needs no additional information, everything can be extracted from their companion Data and Schema

Common trait to all validation triggers handled by the library

Common trait to all validation triggers handled by the library

This is parent to several adapter classes trying to bridge the functionality in ValidationTriggerW with this library