com.intersys.classes
Class SerialStream

java.lang.Object
  extended bycom.intersys.classes.CacheGeneric
      extended bycom.intersys.classes.CacheRootObject
          extended bycom.intersys.classes.RegisteredObject
              extended bycom.intersys.classes.SerialObject
                  extended bycom.intersys.classes.SerialStream
All Implemented Interfaces:
ObjectHandle, Serializable
Direct Known Subclasses:
BinaryStream, CharacterStream

public class SerialStream
extends SerialObject
implements Serializable

See Also:
Serialized Form

Constructor Summary
SerialStream(com.intersys.cache.CacheObject ref)
           
SerialStream(Database db)
           
 
Method Summary
 void _clear()
           
 void _copyFrom(AbstractStream source)
           
 void _copyFromAndSave(AbstractStream source)
           
 Boolean _deleteAttribute(String name)
           
static void _deleteStream(Database db, Oid oid)
           
 void _flush()
           
 String _getAttribute(String name)
           
 String _getAttribute(String name, String _default)
           
 String _getStreamId()
           
 void _inputFromDevice()
           
 void _inputFromDevice(IntegerHolder len)
           
 void _inputFromDevice(IntegerHolder len, Integer timeout)
           
 Boolean _isDefinedAttribute(String name)
           
 Boolean _isNull()
           
 Timestamp _lastModifiedGet()
           
static String _logicalToOdbc(Database db)
           
static String _logicalToOdbc(Database db, String _val)
           
 void _moveToEnd()
           
 String _nextAttribute(String name)
           
static String _odbcToLogical(Database db)
           
static String _odbcToLogical(Database db, String _val)
           
static RegisteredObject _open(Database db, Oid oid)
           
 void _openStream(String sid)
           
 void _outputToDevice()
           
 void _outputToDevice(IntegerHolder len)
           
 void _rewind()
           
 void _saveStream()
           
 void _setAttribute(String name, String value)
           
 Integer _sizeGet()
           
static void checkAllFieldsValid(Database db)
           
static void checkAllMethods(Database db)
           
 CacheClass getCacheClass()
           
static String getCacheClassName()
           
 
Methods inherited from class com.intersys.classes.SerialObject
_getSwizzleObject, _getSwizzleObject, _getSwizzleObject, getOid, open, openOnServer, serialize, serialize
 
Methods inherited from class com.intersys.classes.RegisteredObject
_className, _className, _constructClone, _constructClone, _constructClone, _isA, _isModified, _normalizeObject, _packageName, _validateObject, _validateObject, constructClone, constructClone, getZRef
 
Methods inherited from class com.intersys.classes.CacheRootObject
_close, castTo, equals, getDatabase, getField, getOref, getProxy, getString, hashCode, release, releaseInternal, toString
 
Methods inherited from class com.intersys.classes.CacheGeneric
checkAllFieldsValid, checkFieldsLimited, reset
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SerialStream

public SerialStream(com.intersys.cache.CacheObject ref)
             throws CacheException

SerialStream

public SerialStream(Database db)
             throws CacheException
Method Detail

_open

public static RegisteredObject _open(Database db,
                                     Oid oid)
                              throws CacheException
Throws:
CacheException

getCacheClassName

public static String getCacheClassName()

getCacheClass

public CacheClass getCacheClass()
                         throws CacheException
Overrides:
getCacheClass in class SerialObject
Throws:
CacheException

checkAllFieldsValid

public static void checkAllFieldsValid(Database db)
                                throws CacheException
Throws:
CacheException

checkAllMethods

public static void checkAllMethods(Database db)
                            throws CacheException
Throws:
CacheException

_copyFromAndSave

public void _copyFromAndSave(AbstractStream source)
                      throws CacheException
Throws:
CacheException

_deleteStream

public static void _deleteStream(Database db,
                                 Oid oid)
                          throws CacheException
Throws:
CacheException

_flush

public void _flush()
            throws CacheException
Throws:
CacheException

_getStreamId

public String _getStreamId()
                    throws CacheException
Throws:
CacheException

_isNull

public Boolean _isNull()
                throws CacheException
Throws:
CacheException

_logicalToOdbc

public static String _logicalToOdbc(Database db)
                             throws CacheException
Throws:
CacheException

_logicalToOdbc

public static String _logicalToOdbc(Database db,
                                    String _val)
                             throws CacheException
Throws:
CacheException

_odbcToLogical

public static String _odbcToLogical(Database db)
                             throws CacheException
Throws:
CacheException

_odbcToLogical

public static String _odbcToLogical(Database db,
                                    String _val)
                             throws CacheException
Throws:
CacheException

_openStream

public void _openStream(String sid)
                 throws CacheException
Throws:
CacheException

_rewind

public void _rewind()
             throws CacheException
Throws:
CacheException

_saveStream

public void _saveStream()
                 throws CacheException
Throws:
CacheException

_sizeGet

public Integer _sizeGet()
                 throws CacheException
Throws:
CacheException

_clear

public void _clear()
            throws CacheException
Throws:
CacheException

_copyFrom

public void _copyFrom(AbstractStream source)
               throws CacheException
Throws:
CacheException

_deleteAttribute

public Boolean _deleteAttribute(String name)
                         throws CacheException
Throws:
CacheException

_getAttribute

public String _getAttribute(String name)
                     throws CacheException
Throws:
CacheException

_getAttribute

public String _getAttribute(String name,
                            String _default)
                     throws CacheException
Throws:
CacheException

_inputFromDevice

public void _inputFromDevice()
                      throws CacheException
Throws:
CacheException

_inputFromDevice

public void _inputFromDevice(IntegerHolder len)
                      throws CacheException
Throws:
CacheException

_inputFromDevice

public void _inputFromDevice(IntegerHolder len,
                             Integer timeout)
                      throws CacheException
Throws:
CacheException

_isDefinedAttribute

public Boolean _isDefinedAttribute(String name)
                            throws CacheException
Throws:
CacheException

_lastModifiedGet

public Timestamp _lastModifiedGet()
                           throws CacheException
Throws:
CacheException

_moveToEnd

public void _moveToEnd()
                throws CacheException
Throws:
CacheException

_nextAttribute

public String _nextAttribute(String name)
                      throws CacheException
Throws:
CacheException

_outputToDevice

public void _outputToDevice()
                     throws CacheException
Throws:
CacheException

_outputToDevice

public void _outputToDevice(IntegerHolder len)
                     throws CacheException
Throws:
CacheException

_setAttribute

public void _setAttribute(String name,
                          String value)
                   throws CacheException
Throws:
CacheException