Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha6
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.infinispan.schematic.document
Class CodeWithScope

    java.lang.Object
      org.infinispan.schematic.document.Code
          org.infinispan.schematic.document.CodeWithScope

    @Immutable
    @SerializeWith(value=Code.Externalizer.class)
    public final class CodeWithScope

extends Code

A `JavaScript code with scope` value for use within a `BSON Object`.

Since:
  5.1
Author:
  Randall Hauch (C) 2011 Red Hat Inc.

Nested Class Summary

Nested classes/interfaces inherited from class org.infinispan.schematic.document.Code
`Code.Externalizer`

Constructor Summary
`CodeWithScope(String code, Document scope)`

Method Summary
`boolean` | `equals(Object obj)`
`Document` | `getScope()`
`String` | `toString()`

Methods inherited from class org.infinispan.schematic.document.Code
`getCode, hashCode`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### CodeWithScope

    public CodeWithScope(String code,
                         Document scope)

Method Detail

### getScope

    public Document getScope()

### equals

    public boolean equals(Object obj)

  Overrides:
    `equals` in class `Code`

### toString

    public String toString()

  Overrides:
    `toString` in class `Code`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| ModeShape Distribution 3.0.0.Alpha6
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.