Compiere 3.1

org.compiere.framework
Class PO_LOB

java.lang.Object
  extended by org.compiere.framework.PO_LOB
All Implemented Interfaces:
Serializable

public class PO_LOB
extends Object
implements Serializable

Persistent Object LOB. Allows to store LOB remotely Currently Oracle specific!

Version:
$Id: PO_LOB.java,v 1.2 2006/07/30 00:58:04 jjanke Exp $
Author:
Jorg Janke
See Also:
Serialized Form

Field Summary
protected  CLogger log
          Logger
 
Constructor Summary
PO_LOB(String tableName, String columnName, String whereClause, int displayType, Object value)
          Constructor
 
Method Summary
 String getColumnName()
          Get the column name
 int getDisplayType()
          Get the display type
 String getSQL()
          Get the prepared statement sql
 Object getValue()
          Get the lob object
 boolean save(String trxName)
          Save LOB.
 boolean save(String whereClause, String trxName)
          Save LOB
 String toString()
          String Representation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected CLogger log
Logger

Constructor Detail

PO_LOB

public PO_LOB(String tableName,
              String columnName,
              String whereClause,
              int displayType,
              Object value)
Constructor

Parameters:
tableName - table name
columnName - column name
whereClause - where
displayType - display type
value - value
Method Detail

save

public boolean save(String whereClause,
                    String trxName)
Save LOB

Parameters:
whereClause - clause
trxName - trx name
Returns:
true if saved

save

public boolean save(String trxName)
Save LOB. see also org.compiere.session.ServerBean#updateLOB

Parameters:
trxName - trx name
Returns:
true if saved

toString

public String toString()
String Representation

Overrides:
toString in class Object
Returns:
info

getValue

public Object getValue()
Get the lob object

Returns:
m_value

getSQL

public String getSQL()
Get the prepared statement sql

Returns:
prepared statement sql string

getDisplayType

public int getDisplayType()
Get the display type

Returns:
display type

getColumnName

public String getColumnName()
Get the column name

Returns:
column name

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.