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
Describes common aspects related to Mongo fields
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