org.bson.types
Class CodeWScope

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

public class CodeWScope
extends Code

for using the CodeWScope type


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

Constructor Detail

CodeWScope

public CodeWScope(String code,
                  BSONObject scope)
Method Detail

getScope

public BSONObject getScope()

equals

public boolean equals(Object o)
Overrides:
equals in class Code