This issue raises the question: What set of metadata do we support?
Obvious are the ones that are primitive json types:
@String
@Float
@Integer
@Array
@Boolean
Then primitive types that need conversion:
Then CouchDB specific stuff:
On the Entity Class
@Document - Without arguments
References:
@ReferenceMany(targetDocument=..)
@ReferenceOne(targetDocument=..)
@EmbedMany(targetDocument=..)
@EmbedOne(targetDocument=..)
Attachments:
@Attachments - All attachments of the Document indexed by name (Should be wrapped by an attachment collection or something)
@Attachment - A special attachment accessible through this field name, null if not exists
Implemented Yaml and XML Metadata Drivers