org.bson.types
Class CodeWScope

java.lang.Object
  extended by org.bson.types.CodeWScope

public class CodeWScope
extends Object

for using the CodeWScope type


Constructor Summary
CodeWScope(String code, BSONObject scope)
           
 
Method Summary
 String getCode()
           
 BSONObject getScope()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeWScope

public CodeWScope(String code,
                  BSONObject scope)
Method Detail

getCode

public String getCode()

getScope

public BSONObject getScope()