package field

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. class BsonRecordField [OwnerType <: BsonRecord[OwnerType], SubRecordType <: BsonRecord[SubRecordType]] extends Field[SubRecordType, OwnerType] with MandatoryTypedField[SubRecordType]

    Field that contains an entire record represented as an inline object value.

    Field that contains an entire record represented as an inline object value. Inspired by JSONSubRecordField

  2. class BsonRecordListField [OwnerType <: BsonRecord[OwnerType], SubRecordType <: BsonRecord[SubRecordType]] extends MongoListField[OwnerType, SubRecordType]
  3. class DBRefField [OwnerType <: BsonRecord[OwnerType], RefType <: MongoRecord[RefType]] extends Field[DBRef, OwnerType] with MandatoryTypedField[DBRef]
  4. class DateField [OwnerType <: BsonRecord[OwnerType]] extends Field[Date, OwnerType] with MandatoryTypedField[Date] with DateTypedField
  5. trait DateTypedField extends TypedField[Date]
  6. trait IntPk [OwnerType <: MongoRecord[OwnerType]] extends MongoPk[IntField[OwnerType]]
  7. class IntRefField [OwnerType <: BsonRecord[OwnerType], RefType <: MongoRecord[RefType]] extends IntField[OwnerType] with MongoRefField[RefType, Int]
  8. class IntRefListField [OwnerType <: BsonRecord[OwnerType], RefType <: MongoRecord[RefType]] extends MongoRefListField[OwnerType, RefType, Int]
  9. class JObjectField [OwnerType <: BsonRecord[OwnerType]] extends Field[JObject, OwnerType] with MandatoryTypedField[JObject] with MongoFieldFlavor[JObject]
  10. abstract class JsonObjectField [OwnerType <: BsonRecord[OwnerType], JObjectType <: JsonObject[JObjectType]] extends Field[JObjectType, OwnerType] with MandatoryTypedField[JObjectType] with MongoFieldFlavor[JObjectType]
  11. trait LongPk [OwnerType <: MongoRecord[OwnerType]] extends MongoPk[LongField[OwnerType]]
  12. class LongRefField [OwnerType <: BsonRecord[OwnerType], RefType <: MongoRecord[RefType]] extends LongField[OwnerType] with MongoRefField[RefType, Long]
  13. class LongRefListField [OwnerType <: BsonRecord[OwnerType], RefType <: MongoRecord[RefType]] extends MongoRefListField[OwnerType, RefType, Long]
  14. class MongoCaseClassField [OwnerType <: Record[OwnerType], CaseType] extends Field[CaseType, OwnerType] with MandatoryTypedField[CaseType] with MongoFieldFlavor[CaseType]
  15. class MongoCaseClassListField [OwnerType <: Record[OwnerType], CaseType] extends Field[List[CaseType], OwnerType] with MandatoryTypedField[List[CaseType]] with MongoFieldFlavor[List[CaseType]]
  16. trait MongoFieldFlavor [MyType] extends AnyRef

    Describes common aspects related to Mongo fields

  17. class MongoJsonObjectListField [OwnerType <: BsonRecord[OwnerType], JObjectType <: JsonObject[JObjectType]] extends MongoListField[OwnerType, JObjectType]
  18. class MongoListField [OwnerType <: BsonRecord[OwnerType], ListType] extends Field[List[ListType], OwnerType] with MandatoryTypedField[List[ListType]] with MongoFieldFlavor[List[ListType]]

    List field.

    List field.

    Supported types: primitives - String, Int, Long, Double, Float, Byte, BigInt, Boolean (and their Java equivalents) date types - java.util.Date, org.joda.time.DateTime mongo types - ObjectId, Pattern, UUID

    If you need to support other types, you will need to override the asDBObject and setFromDBObject functions accordingly. And the asJValue and setFromJValue functions if you will be using them.

    Note: setting optional_? = false will result in incorrect equals behavior when using setFromJValue

  19. class MongoMapField [OwnerType <: BsonRecord[OwnerType], MapValueType] extends Field[Map[String, MapValueType], OwnerType] with MandatoryTypedField[Map[String, MapValueType]] with MongoFieldFlavor[Map[String, MapValueType]]

    Note: setting optional_? = false will result in incorrect equals behavior when using setFromJValue

  20. class MongoPasswordField [OwnerType <: BsonRecord[OwnerType]] extends JsonObjectField[OwnerType, Password]
  21. trait MongoPk [PkType] extends AnyRef
  22. trait MongoRefField [RefType <: MongoRecord[RefType], MyType] extends TypedField[MyType]
  23. abstract class MongoRefListField [OwnerType <: BsonRecord[OwnerType], RefType <: MongoRecord[RefType], MyType] extends MongoListField[OwnerType, MyType]
  24. class ObjectIdField [OwnerType <: BsonRecord[OwnerType]] extends Field[ObjectId, OwnerType] with MandatoryTypedField[ObjectId]
  25. trait ObjectIdPk [OwnerType <: MongoRecord[OwnerType]] extends MongoPk[ObjectIdField[OwnerType]]
  26. class ObjectIdRefField [OwnerType <: BsonRecord[OwnerType], RefType <: MongoRecord[RefType]] extends ObjectIdField[OwnerType] with MongoRefField[RefType, ObjectId]
  27. class ObjectIdRefListField [OwnerType <: BsonRecord[OwnerType], RefType <: MongoRecord[RefType]] extends MongoRefListField[OwnerType, RefType, ObjectId]
  28. class OptionalDateField [OwnerType <: BsonRecord[OwnerType]] extends Field[Date, OwnerType] with OptionalTypedField[Date] with DateTypedField
  29. case class Password (pwd: String, salt: String) extends JsonObject[Password] with Product with Serializable
  30. class PatternField [OwnerType <: BsonRecord[OwnerType]] extends Field[Pattern, OwnerType] with MandatoryTypedField[Pattern]
  31. trait StringPk [OwnerType <: MongoRecord[OwnerType]] extends MongoPk[StringField[OwnerType]]
  32. class StringRefField [OwnerType <: BsonRecord[OwnerType], RefType <: MongoRecord[RefType]] extends StringField[OwnerType] with MongoRefField[RefType, String]
  33. class StringRefListField [OwnerType <: BsonRecord[OwnerType], RefType <: MongoRecord[RefType]] extends MongoRefListField[OwnerType, RefType, String]
  34. class UUIDField [OwnerType <: BsonRecord[OwnerType]] extends Field[UUID, OwnerType] with MandatoryTypedField[UUID]
  35. trait UUIDPk [OwnerType <: MongoRecord[OwnerType]] extends MongoPk[UUIDField[OwnerType]]
  36. class UUIDRefField [OwnerType <: BsonRecord[OwnerType], RefType <: MongoRecord[RefType]] extends UUIDField[OwnerType] with MongoRefField[RefType, UUID]
  37. class UUIDRefListField [OwnerType <: BsonRecord[OwnerType], RefType <: MongoRecord[RefType]] extends MongoRefListField[OwnerType, RefType, UUID]

Ungrouped