Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

oracle.javatools.db
Interface BinaryObject

All Superinterfaces:
Copyable, DBObject, DynamicPropertySet, SchemaObject, SystemObject
All Known Implementing Classes:
JavaClass, JavaResource

public interface BinaryObject
extends SchemaObject

Interface for an object from the db that has a binary representation (e.g. a Java Class).


Field Summary
 
Fields inherited from interface oracle.javatools.db.DBObject
COMMENT
 
Method Summary
 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.
 void setBytes(byte[] bytes)
          Sets the bytes for this binary object.
 
Methods inherited from interface oracle.javatools.db.SchemaObject
addObjectListener, getSchema, removeObjectListener, setSchema
 
Methods inherited from interface oracle.javatools.db.SystemObject
addObjectListener, fireObjectUpdated, removeObjectListener
 
Methods inherited from interface oracle.javatools.db.DBObject
copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getReferenceIDs, getType, replaceReferenceIDs, setID, setName
 
Methods inherited from interface oracle.javatools.util.DynamicPropertySet
getProperties, getProperty, getProperty, setProperties, setProperty
 

Method Detail

getBytes

byte[] getBytes()
Gets the byte for this binary object as an array.


setBytes

void setBytes(byte[] bytes)
Sets the bytes for this binary object.

Parameters:
bytes - the bytes to set as the contents of this object.

getInputStream

java.io.InputStream getInputStream()
Gets the byte for this binary object as a stream.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

Copyright © 1997, 2011, Oracle. All rights reserved.