class
CustomGrater
[ModelObject <: AnyRef]
extends Grater[ModelObject]
Instance Constructors
-
new
CustomGrater
(clazz: Class[ModelObject], transformer: CustomTransformer[ModelObject, DBObject])(implicit ctx: Context)
Type Members
-
type
OutHandler
= PartialFunction[(Any, Field), Option[(String, Any)]]
Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
def
asDBObject
(o: ModelObject): DBObject
-
def
asInstanceOf
[T0]
: T0
-
def
asObject
[A]
(dbo: A)(implicit arg0: (A) ⇒ MongoDBObject): ModelObject
-
def
clone
(): AnyRef
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(that: Any): Boolean
-
def
finalize
(): Unit
-
def
fromJSON
(j: JObject): ModelObject
-
def
fromJSON
(s: String): ModelObject
-
def
fromJSONArray
(s: String): List[ModelObject]
-
def
fromJSONArray
(j: JArray): List[ModelObject]
-
def
fromMap
(m: Map[String, Any]): ModelObject
-
def
getClass
(): java.lang.Class[_]
-
def
hashCode
(): Int
-
def
isInstanceOf
[T0]
: Boolean
-
def
iterateOut
[T]
(o: ModelObject)(f: ((String, Any)) ⇒ T): Iterator[Nothing]
-
lazy val
log
: Logger
-
def
ne
(arg0: AnyRef): Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
toCompactJSON
(o: ModelObject): String
-
def
toCompactJSONArray
(t: Traversable[ModelObject]): String
-
def
toJSON
(o: ModelObject): JObject
-
def
toJSONArray
(t: Traversable[ModelObject]): JArray
-
def
toMap
(o: ModelObject): Map[String, Any]
-
def
toPrettyJSON
(o: ModelObject): String
-
def
toPrettyJSONArray
(t: Traversable[ModelObject]): String
-
def
toString
(): String
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
Inherited from Grater[ModelObject]
Inherited from Logging
Inherited from AnyRef
Inherited from Any