Adobe LiveCycle Business Activity Monitoring ES API

com.celequest.api.type
Interface ISQLValue

All Superinterfaces:
Comparable, Serializable
All Known Subinterfaces:
ISQLBoolean, ISQLDecimal, ISQLDouble, ISQLInteger, ISQLLong, ISQLNumeric, ISQLTimestamp, ISQLVarchar

public interface ISQLValue
extends Comparable, Serializable

SQL value.

Since:
2.5.3

Method Summary
 String getString()
          Get the value as a string.
 boolean isNull()
          Returns true if the value is null.
 void set(ISQLValue v)
          Set the value of this type with the specified object.
 void set(String v)
          Set the value of this type with the specified string.
 void setNull(boolean flag)
          Sets the null value.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

set

public void set(ISQLValue v)
Set the value of this type with the specified object. Setting with a null value sets the value to a SQL NULL.

Parameters:
v - an object of type ISQLValue
Throws:
RuntimeException - iff there is a conversion error

getString

public String getString()
Get the value as a string.

Returns:
String

set

public void set(String v)
Set the value of this type with the specified string. Setting with a null value sets the value to a SQL NULL.

Parameters:
v - a string value
Throws:
RuntimeException - iff there is a conversion error

isNull

public boolean isNull()
Returns true if the value is null.

Returns:
boolean

setNull

public void setNull(boolean flag)
Sets the null value.

Parameters:
flag - true iff value is a SQL NULL

Adobe LiveCycle Business Activity Monitoring ES API

Copyright © 2004-2007 Adobe Systems Incorporated. All rights reserved.
Copyright © 2002-2007 Celequest Corp. All Rights Reserved.

Take a survey