[CODM-2] add annotation/xml/yml support for metadata definition Created: 21/Sep/10  Updated: 21/May/11  Resolved: 21/May/11

Status: Resolved
Project: Doctrine CouchDB ODM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Lukas Kahwe Assignee: Benjamin Eberlei
Resolution: Fixed Votes: 0
Labels: None


 Comments   
Comment by Benjamin Eberlei [ 02/Oct/10 ]

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:

@Date

Then CouchDB specific stuff:

@Id
@Version

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
Comment by Benjamin Eberlei [ 21/May/11 ]

Implemented Yaml and XML Metadata Drivers

Generated at Wed Jul 23 10:12:44 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.