package
binder
Type Members
-
trait
ClassUrisFor[Rdf <: RDF, T] extends AnyRef
-
trait
FromLiteral[Rdf <: RDF, +T] extends AnyRef
-
trait
FromNode[Rdf <: RDF, +T] extends AnyRef
-
trait
FromPG[Rdf <: RDF, +T] extends AnyRef
-
trait
FromURI[Rdf <: RDF, +T] extends AnyRef
-
-
-
trait
PGBinder[Rdf <: RDF, T] extends FromPG[Rdf, T] with ToPG[Rdf, T]
-
-
trait
ToLiteral[Rdf <: RDF, -T] extends AnyRef
-
trait
ToNode[Rdf <: RDF, -T] extends AnyRef
-
trait
ToPG[Rdf <: RDF, -T] extends AnyRef
-
trait
ToURI[Rdf <: RDF, -T] extends AnyRef
-
trait
URIBinder[Rdf <: RDF, T] extends FromURI[Rdf, T] with ToURI[Rdf, T]
helper functions for binding Scala records (typically case classes)
here is the recipe, given one type T: - start by declaring the various elements that make T this is done through [PGBElem]s, and RecordBinder provide some helpers (see constant, property and uriTemplate) - say how to combine the elements with a contructor (apply-like function) and an extractor (unapply-like function) there is done with the pgb helper function