net.csdn.mongo.embedded
Class HasOneAssociationEmbedded

java.lang.Object
  extended by net.csdn.mongo.embedded.HasOneAssociationEmbedded
All Implemented Interfaces:
AssociationEmbedded

public class HasOneAssociationEmbedded
extends Object
implements AssociationEmbedded

User: WilliamZhu Date: 12-10-24 Time: 下午2:02


Constructor Summary
HasOneAssociationEmbedded(String name, Options options)
           
 
Method Summary
 AssociationEmbedded build(Map params)
           
 AssociationEmbedded doNotUseMePlease_newMe(Document document)
           
 List find()
           
 List find(Map map)
           
<T extends Document>
T
findOne()
           
 Class kclass()
           
 String name()
           
 AssociationEmbedded remove(Document document)
           
 void save()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HasOneAssociationEmbedded

public HasOneAssociationEmbedded(String name,
                                 Options options)
Method Detail

build

public AssociationEmbedded build(Map params)
Specified by:
build in interface AssociationEmbedded

remove

public AssociationEmbedded remove(Document document)
Specified by:
remove in interface AssociationEmbedded

doNotUseMePlease_newMe

public AssociationEmbedded doNotUseMePlease_newMe(Document document)
Specified by:
doNotUseMePlease_newMe in interface AssociationEmbedded

save

public void save()
Specified by:
save in interface AssociationEmbedded

find

public List find()
Specified by:
find in interface AssociationEmbedded

find

public List find(Map map)
Specified by:
find in interface AssociationEmbedded

findOne

public <T extends Document> T findOne()
Specified by:
findOne in interface AssociationEmbedded

kclass

public Class kclass()
Specified by:
kclass in interface AssociationEmbedded

name

public String name()
Specified by:
name in interface AssociationEmbedded


Copyright © 2014. All Rights Reserved.