Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-05

oracle.apps.fnd.applcore.flex.common.sql
Class Clause

java.lang.Object
  extended by oracle.apps.fnd.applcore.flex.common.sql.Clause

public class Clause
extends java.lang.Object

A class to model a SQL clause. This class is for internal use only. Any other use is not supported.

Author:
Oracle Corp.

Method Summary
 java.util.List<BindVariable> getBindVariables()
          Gets the unmodifiable list of bind variables.
 java.lang.String getSQL()
          Gets the SQL expression.
static Clause parseBindVariables(java.lang.CharSequence s)
          Parses the bind variables from a string replacing each with a bind token.
 java.lang.String toString()
          Gets the String representation of this Clause.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getSQL

public java.lang.String getSQL()
Gets the SQL expression.

Returns:
the SQL expression

getBindVariables

public java.util.List<BindVariable> getBindVariables()
Gets the unmodifiable list of bind variables.

Returns:
the unmodifiable list of bind variables

toString

public java.lang.String toString()
Gets the String representation of this Clause.

Overrides:
toString in class java.lang.Object
Returns:
the String representation of this Clause

parseBindVariables

public static Clause parseBindVariables(java.lang.CharSequence s)
                                 throws BindVariableFormatException
Parses the bind variables from a string replacing each with a bind token. Literals are delimited by single or double quotes and their contents are not examined. A literal may contain its delimiter as a character by listing it twice, for example, 'Java''s cool'. The contents of SQL single-line and multi-line comments are also ignored.

Parameters:
s - the character sequence to parse
Returns:
the clause
Throws:
BindVariableFormatException - if a malformed bind variable is encountered

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-05

Copyright © 2012 Oracle. All Rights Reserved.