thinkmap.datasource.database
Class OutBinding

java.lang.Object
  extended by thinkmap.datasource.relational.Binding
      extended by thinkmap.datasource.database.OutBinding
All Implemented Interfaces:
Serializable

public class OutBinding
extends Binding

A binding to be used for out parameters in procedure call arguments.

Version:
$Revision: 1.1 $
See Also:
Serialized Form

Field Summary
static int ARRAY
           
static int BIGINT
           
static int BINARY
           
static int BIT
           
static int BLOB
           
static int BOOLEAN
           
static int CHAR
           
static int CLOB
           
static int DATALINK
           
static int DATE
           
static int DECIMAL
           
static int DISTINCT
           
static int DOUBLE
           
static int FLOAT
           
static int INTEGER
           
static int JAVA_OBJECT
           
static int LONGVARBINARY
           
static int LONGVARCHAR
           
static int NULL
           
static int NUMERIC
           
static int ORACLE_BFILE
           
static int ORACLE_CURSOR
           
static int ORACLE_FIXED_CHAR
           
static int ORACLE_INTERVALDS
           
static int ORACLE_INTERVALYM
           
static int ORACLE_JAVA_OBJECT
           
static int ORACLE_JAVA_STRUCT
           
static int ORACLE_OPAQUE
           
static int ORACLE_PLSQL_INDEX_TABLE
           
static int ORACLE_ROWID
           
static int ORACLE_TIMESTAMPLTZ
           
static int ORACLE_TIMESTAMPNS
           
static int ORACLE_TIMESTAMPTZ
           
static int OTHER
           
static int REAL
           
static int REF
           
static int SMALLINT
           
static int STRUCT
           
static int TIME
           
static int TIMESTAMP
           
static int TINYINT
           
static int VARBINARY
           
static int VARCHAR
           
 
Constructor Summary
OutBinding()
           
 
Method Summary
 Object bind(Message message, SourceEntity entity, EntityId id, Object ctx)
           
 int getParameterType()
          Get the parameter type
 void setParameterType(int parameterType)
          Set the parameter type.
 
Methods inherited from class thinkmap.datasource.relational.Binding
convertType, getOutputType, getProperty, getProperty, setOutputType, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BIT

public static final int BIT
See Also:
Constant Field Values

TINYINT

public static final int TINYINT
See Also:
Constant Field Values

SMALLINT

public static final int SMALLINT
See Also:
Constant Field Values

INTEGER

public static final int INTEGER
See Also:
Constant Field Values

BIGINT

public static final int BIGINT
See Also:
Constant Field Values

FLOAT

public static final int FLOAT
See Also:
Constant Field Values

REAL

public static final int REAL
See Also:
Constant Field Values

DOUBLE

public static final int DOUBLE
See Also:
Constant Field Values

NUMERIC

public static final int NUMERIC
See Also:
Constant Field Values

DECIMAL

public static final int DECIMAL
See Also:
Constant Field Values

CHAR

public static final int CHAR
See Also:
Constant Field Values

VARCHAR

public static final int VARCHAR
See Also:
Constant Field Values

LONGVARCHAR

public static final int LONGVARCHAR
See Also:
Constant Field Values

DATE

public static final int DATE
See Also:
Constant Field Values

TIME

public static final int TIME
See Also:
Constant Field Values

TIMESTAMP

public static final int TIMESTAMP
See Also:
Constant Field Values

BINARY

public static final int BINARY
See Also:
Constant Field Values

VARBINARY

public static final int VARBINARY
See Also:
Constant Field Values

LONGVARBINARY

public static final int LONGVARBINARY
See Also:
Constant Field Values

NULL

public static final int NULL
See Also:
Constant Field Values

OTHER

public static final int OTHER
See Also:
Constant Field Values

JAVA_OBJECT

public static final int JAVA_OBJECT
See Also:
Constant Field Values

DISTINCT

public static final int DISTINCT
See Also:
Constant Field Values

STRUCT

public static final int STRUCT
See Also:
Constant Field Values

ARRAY

public static final int ARRAY
See Also:
Constant Field Values

BLOB

public static final int BLOB
See Also:
Constant Field Values

CLOB

public static final int CLOB
See Also:
Constant Field Values

REF

public static final int REF
See Also:
Constant Field Values

DATALINK

public static final int DATALINK
See Also:
Constant Field Values

BOOLEAN

public static final int BOOLEAN
See Also:
Constant Field Values

ORACLE_CURSOR

public static final int ORACLE_CURSOR
See Also:
Constant Field Values

ORACLE_TIMESTAMPNS

public static final int ORACLE_TIMESTAMPNS
See Also:
Constant Field Values

ORACLE_TIMESTAMPTZ

public static final int ORACLE_TIMESTAMPTZ
See Also:
Constant Field Values

ORACLE_TIMESTAMPLTZ

public static final int ORACLE_TIMESTAMPLTZ
See Also:
Constant Field Values

ORACLE_INTERVALYM

public static final int ORACLE_INTERVALYM
See Also:
Constant Field Values

ORACLE_INTERVALDS

public static final int ORACLE_INTERVALDS
See Also:
Constant Field Values

ORACLE_ROWID

public static final int ORACLE_ROWID
See Also:
Constant Field Values

ORACLE_BFILE

public static final int ORACLE_BFILE
See Also:
Constant Field Values

ORACLE_OPAQUE

public static final int ORACLE_OPAQUE
See Also:
Constant Field Values

ORACLE_JAVA_STRUCT

public static final int ORACLE_JAVA_STRUCT
See Also:
Constant Field Values

ORACLE_JAVA_OBJECT

public static final int ORACLE_JAVA_OBJECT
See Also:
Constant Field Values

ORACLE_PLSQL_INDEX_TABLE

public static final int ORACLE_PLSQL_INDEX_TABLE
See Also:
Constant Field Values

ORACLE_FIXED_CHAR

public static final int ORACLE_FIXED_CHAR
See Also:
Constant Field Values
Constructor Detail

OutBinding

public OutBinding()
Method Detail

bind

public Object bind(Message message,
                   SourceEntity entity,
                   EntityId id,
                   Object ctx)
            throws BindingException
Specified by:
bind in class Binding
Parameters:
message - incoming message
entity - the entity being bound (may be null)
id - the id of the entity being bound
ctx - context object; datasource-specific
Returns:
value
Throws:
BindingException

setParameterType

public void setParameterType(int parameterType)
Set the parameter type.

Parameters:
parameterType - parameter type

getParameterType

public int getParameterType()
Get the parameter type

Returns:
parameter type


Copyright © 2013 Thinkmap, Inc. All Rights Reserved.