org.bson.types
Class Code

java.lang.Object
  extended by org.bson.types.Code
Direct Known Subclasses:
CodeWScope

public class Code
extends java.lang.Object

for using the Code type


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

Constructor Detail

Code

public Code(java.lang.String code)
Method Detail

getCode

public java.lang.String getCode()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object