FileDocCategorySizeDatePackage
BindCallCustomParameter.javaAPI DocGlassfish v2 API3246Tue May 22 16:54:20 BST 2007oracle.toplink.essentials.internal.databaseaccess

BindCallCustomParameter

public class BindCallCustomParameter extends Object
INTERNAL:

Purpose: To provide a base type for customary parameters' types used for binding by DatabaseCall: descendants of DatabasePlatform may create instances of descendants of this class in customModifyInDatabaseCall method.

Responsibilities:

Fields Summary
protected Object
obj
Constructors Summary
public BindCallCustomParameter(Object obj)
INTERNAL: Binds the custom parameter (obj) into the passed PreparedStatement for the passed DatabaseCall. Called only by DatabasePlatform.setParameterValueInDatabaseCall method

        this.obj = obj;
    
protected BindCallCustomParameter()

    
Methods Summary
public voidset(oracle.toplink.essentials.internal.databaseaccess.DatabasePlatform platform, java.sql.PreparedStatement statement, int index, oracle.toplink.essentials.internal.sessions.AbstractSession session)

        platform.setParameterValueInDatabaseCall(obj, statement, index, session);
    
public java.lang.StringtoString()

        if (obj != null) {
            return obj.toString();
        } else {
            return "null";
        }