ModeShape Distribution 3.0.0.Alpha4

org.infinispan.schematic.document
Class CodeWithScope

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

@Immutable
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

ModeShape Distribution 3.0.0.Alpha4

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