ModeShape Distribution 3.0.0.Beta4

org.infinispan.schematic.document
Class Code

java.lang.Object
  extended by org.infinispan.schematic.document.Code
Direct Known Subclasses:
CodeWithScope

@Immutable
@SerializeWith(value=Code.Externalizer.class)
public class Code
extends Object

A JavaScript code value for use within a BSON Object.

Since:
5.1

Nested Class Summary
static class Code.Externalizer
           
 
Constructor Summary
Code(String code)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCode()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Code

public Code(String code)
Method Detail

getCode

public String getCode()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

ModeShape Distribution 3.0.0.Beta4

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