public class JavaClass extends Java implements BinaryObject
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupport| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | TYPE | 
PACKAGE_TYPE| Constructor and Description | 
|---|
| JavaClass() | 
| JavaClass(java.lang.String name,
         Schema schema) | 
| Modifier and Type | Method and Description | 
|---|---|
| byte[] | getBytes()Gets the byte for this binary object as an array. | 
| java.io.InputStream | getInputStream()Gets the byte for this binary object as a stream. | 
| java.lang.String | getType()Returns the type of this object. | 
| void | setBytes(byte[] bytes)Sets the bytes for this binary object. | 
getSchema, setSchemacheckInit, checkInit, copyToImpl, getOwnedObjectsImpl, getProperties, getReferenceIDsImpl, needsInitialization, processPropertyChange, setIDaddObjectListener, addObjectListener, addObjectListener, changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, equalsImpl, findOwnedObject, findOwnedObject, findOwnedObject, findOwnedObject, findParent, fireObjectUpdated, firePropertyChanged, getChildSupport, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getProperty, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeObjectListener, removeObjectListener, removeObjectListener, removeOwnedObject, removeThisAsParent, replaceReferenceIDs, setName, setProperties, setProperty, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddObjectListener, getSchema, removeObjectListener, setSchemaaddObjectListener, fireObjectUpdated, removeObjectListeneraddObjectListener, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getProperties, getProperty, getProperty, getReferenceIDs, hashCode, removeObjectListener, removeOwnedObject, replaceReferenceIDs, setID, setName, setProperties, setPropertypublic static final java.lang.String TYPE
public JavaClass()
public JavaClass(java.lang.String name,
                 Schema schema)
public java.lang.String getType()
DBObjectpublic byte[] getBytes()
BinaryObjectgetBytes in interface BinaryObjectpublic void setBytes(byte[] bytes)
BinaryObjectsetBytes in interface BinaryObjectbytes - the bytes to set as the contents of this object.public java.io.InputStream getInputStream()
BinaryObjectgetInputStream in interface BinaryObject