test.com.william.document
Class Article

java.lang.Object
  extended by net.csdn.mongo.Document
      extended by test.com.william.document.Article

public class Article
extends Document

User: WilliamZhu Date: 12-10-24 Time: 上午11:35


Field Summary
 String body
           
 String title
           
 
Fields inherited from class net.csdn.mongo.Document
_parent, associationEmbeddedName, associations, associationsEmbedded, attributes, callbacks, mongoMongo, new_record, parent$_alias_names, parent$_associations, parent$_associations_embedded, parent$_collection, parent$_collectionName, parent$_embedded, parent$_fields, parent$_primaryKey, parent$_validate_info, validateParses, validateResults
 
Constructor Summary
Article()
           
 
Method Summary
 AssociationEmbedded blog()
           
 String getBody()
           
 String getTitle()
           
 void setBody(String body)
           
 void setTitle(String title)
           
 
Methods inherited from class net.csdn.mongo.Document
_root, alias, associationEmbedded, associations, associationsEmbeddedMetaData, associationsMetaData, attr, attr, attributes, belongsTo, belongsToEmbedded, collectCallback, collection, collectionName, copyAllAttributesToPojoFields, copyPojoFieldsToAllAttributes, count, create, create9, embedded, embedded, fields, fields, find, findAll, findById, hasMany, hasManyEmbedded, hasOne, hasOneEmbedded, id, id, in, index, insert, insert, limit, merge, nativeQuery, newRecord, not, notIn, order, reload, remove, remove, runCallbacks, save, save, select, skip, storeIn, toString, translateFromAlias, translateKeyForParams, translateMapToDBObject, translateToAlias, update, update, valid, validate_info, validate, where
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

title

public String title

body

public String body
Constructor Detail

Article

public Article()
Method Detail

blog

public AssociationEmbedded blog()

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

getBody

public String getBody()

setBody

public void setBody(String body)


Copyright © 2014. All Rights Reserved.