class
RecordBinder[Rdf <: RDF] extends AnyRef
Instance Constructors
-
new
RecordBinder()(implicit ops: RDFOps[Rdf])
Type Members
-
abstract
class
PGB[T] extends AnyRef
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (RecordBinder[Rdf], B)
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
classUrisFor[T](uri: Rdf.URI, uris: Rdf.URI*): ClassUrisFor[Rdf, T]
-
def
clone(): AnyRef
-
def
constant[T](constT: T, constUri: Rdf.URI): PGBinder[Rdf, T]
-
def
ensuring(cond: (RecordBinder[Rdf]) ⇒ Boolean, msg: ⇒ Any): RecordBinder[Rdf]
-
-
def
ensuring(cond: Boolean, msg: ⇒ Any): RecordBinder[Rdf]
-
def
ensuring(cond: Boolean): RecordBinder[Rdf]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
def
newUri(prefix: String): Rdf.URI
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
optional[T](predicate: Rdf.URI)(implicit objectBinder: PGBinder[Rdf, T]): Property[Rdf, Option[T]]
-
def
pgb[T]: PGB[T]
-
def
pgbWithConstId[T](constantPointer: String): PGB[T]
-
def
pgbWithId[T](id: (T) ⇒ Rdf.URI): PGB[T]
-
def
property[T](predicate: Rdf.URI)(implicit objectBinder: PGBinder[Rdf, T]): Property[Rdf, T]
-
def
set[T](predicate: Rdf.URI)(implicit objectBinder: PGBinder[Rdf, T]): Property[Rdf, Set[T]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (RecordBinder[Rdf], B)
Shadowed Implicit Value Members
-
val
self: Any
-
val
self: Any
Inherited from AnyRef
Inherited from Any
Inherited by implicit conversion any2stringadd from
RecordBinder[Rdf] to StringAdd
Inherited by implicit conversion any2stringfmt from
RecordBinder[Rdf] to StringFormat
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