CodeWScope
Date: 2015-03-03

org.bson.types

## Class CodeWScope

- java.lang.Object
- - org.bson.types.Code
  - - org.bson.types.CodeWScope

- All Implemented Interfaces:
    java.io.Serializable

      public class CodeWScope
      extends Code

  for using the CodeWScope type
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CodeWScope(java.lang.String code, BSONObject scope)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object o)`
    `BSONObject` | `getScope()`
    `int` | `hashCode()`

    - ### Methods inherited from class org.bson.types.Code

      `getCode, toString`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### CodeWScope

          public CodeWScope(java.lang.String code,
                    BSONObject scope)

  - ### Method Detail

    - #### getScope

          public BSONObject getScope()

    - #### equals

          public boolean equals(java.lang.Object o)

      Overrides:
        `equals` in class `Code`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Code`