org.jbpm.pvm.internal.lob
Class Lob
java.lang.Object
org.jbpm.pvm.internal.lob.Lob
- All Implemented Interfaces:
- java.io.Serializable
public class Lob
- extends java.lang.Object
- implements java.io.Serializable
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
|
Constructor Summary |
Lob()
|
Lob(byte[] bytes,
boolean generateDbid)
|
Lob(char[] text,
boolean generateDbid)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_BLOB_STRATEGY
public static final BlobStrategy DEFAULT_BLOB_STRATEGY
DEFAULT_CLOB_STRATEGY
public static final ClobStrategy DEFAULT_CLOB_STRATEGY
dbid
protected long dbid
dbversion
protected int dbversion
cachedBytes
protected byte[] cachedBytes
blob
protected java.sql.Blob blob
bytes
protected byte[] bytes
bytesChops
protected java.util.List<BytesChop> bytesChops
cachedChars
protected char[] cachedChars
clob
protected java.sql.Clob clob
text
protected java.lang.String text
charChops
protected java.util.List<CharChop> charChops
Lob
public Lob()
Lob
public Lob(byte[] bytes,
boolean generateDbid)
- Parameters:
bytes - The actual bytes that will be stored.generateId - If true, the default DbidGenerator will be used
generate a dbid for this Lob object.
Lob
public Lob(char[] text,
boolean generateDbid)
getDbid
public long getDbid()
setDbid
public void setDbid(long dbid)
extractChars
public char[] extractChars()
extractBytes
public byte[] extractBytes()
getClobStrategy
protected ClobStrategy getClobStrategy()
getBlobStrategy
protected BlobStrategy getBlobStrategy()
readResolve
protected java.lang.Object readResolve()
throws java.io.ObjectStreamException
- Throws:
java.io.ObjectStreamException
writeReplace
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
- Throws:
java.io.ObjectStreamException
Copyright © 2010 JBoss Community. All Rights Reserved.