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 BindVariable

java.lang.Object
  extended by oracle.apps.fnd.applcore.flex.common.sql.BindVariable
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
FlexfieldBindVariable, ParameterBindVariable, SegmentBindVariable, ValueSetBindVariable

public abstract class BindVariable
extends java.lang.Object
implements java.lang.Cloneable

A superclass to model bind variables.

Author:
Oracle Corp.

Method Summary
 java.lang.Object clone()
          Returns a shallow clone of this bind variable.
static BindVariable create(java.lang.String s)
          Factory method for creating a BindVariable from a String.
 boolean equals(java.lang.Object o)
          Returns true iff this BindVariable is "equal to" the other Object.
 java.lang.String getName()
          Returns the name of the bind variable.
 java.lang.String getPlaceholderName()
          Returns the name of the placeholder for this bind variable.
 int hashCode()
          Returns the hash code of this BindVariable.
 java.lang.String toString()
          Returns a String representation of the bind variable.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Returns the name of the bind variable.

Returns:
the name of the bind variable

getPlaceholderName

public java.lang.String getPlaceholderName()
Returns the name of the placeholder for this bind variable.

Returns:
the name of the placeholder for this bind variable or null if there is none

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Returns a shallow clone of this bind variable.

Overrides:
clone in class java.lang.Object
Returns:
a shallow clone of this bind variable
Throws:
java.lang.CloneNotSupportedException

equals

public boolean equals(java.lang.Object o)
Returns true iff this BindVariable is "equal to" the other Object.

Overrides:
equals in class java.lang.Object
Parameters:
o - the Object with which to compare
Returns:
true if this BindVariable is "equal to" the other Object; false otherwise

hashCode

public int hashCode()
Returns the hash code of this BindVariable.

Overrides:
hashCode in class java.lang.Object
Returns:
the hash code of this BindVariable

toString

public java.lang.String toString()
Returns a String representation of the bind variable.

Overrides:
toString in class java.lang.Object
Returns:
a String representation of the bind variable

create

public static BindVariable create(java.lang.String s)
                           throws BindVariableFormatException
Factory method for creating a BindVariable from a String. The String must be in one of these forms

Parameters:
s - the String to convert
Returns:
the bind variable
Throws:
BindVariableFormatException - if the String is malformed

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

E22562-05

Copyright © 2012 Oracle. All Rights Reserved.