com.filenet.bso.api.collaboration.query
Interface LiteralOperand
- All Superinterfaces:
- PropertyCriteriaNode, QueryOperand, java.io.Serializable
- public interface LiteralOperand
- extends QueryOperand
Interface to a node that defines an operand as a literal value.
Fields inherited from interface com.filenet.bso.api.collaboration.query.PropertyCriteriaNode |
AND, EQUALS, GREATERTHAN, GREATERTHANOREQUAL, IN, ISNOTNULL, ISNULL, LESSTHAN, LESSTHANOREQUAL, LIKE, LITERALOPERAND, NOTEQUAL, NOTLIKE, OBJECTFUNCTION, OR, PROPERTYOPERAND |
Method Summary |
java.lang.Object |
getValue()
Returns the literal value. |
void |
setValue(java.lang.Object value)
Specifies the literal value. |
setValue
public void setValue(java.lang.Object value)
- Specifies the literal value. This may be an instance of one of the
standard java classes
String
, Double
,
Integer
, Boolean
or Date
.
When a SQL statement is generated from a tree of criteria nodes, the
object is converted to a string in the expected way: a String
value is enclosed in single quotes, a Date
value is
converted to W3C format, etc.
In addition, the value can be an instance of IdValue
or
PreformattedValue
. Both these classes take a String
in their constructor and are constant once created. The IdValue
class represents a value of type ID/GUID and provides a way for the
underlying code to differentiate between a simple string and a GUID
string.
The PreformattedValue
class simply represents a value where it
is assumed that the value is already in a form appropriate to be incorporated
into a SQL statement.
getValue
public java.lang.Object getValue()
- Returns the literal value.
Copyright ?2002 - 2005 FileNet Corporation. All rights reserved.