Skip to content

Instantly share code, notes, and snippets.

@katta
Created July 6, 2011 12:49
Show Gist options
  • Save katta/1067147 to your computer and use it in GitHub Desktop.
Save katta/1067147 to your computer and use it in GitHub Desktop.
CouchDB_Example_Comment
@TypeDiscriminator("doc.documentType == 'Comment'")
public class Comment extends CouchEntity {
private String blogPostId;
private String notes;
/* getters and setters */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment