Oracle Content Management SDK

oracle.ifs.adk.queue
Class IfsQueueMessageParameter

java.lang.Object
  |
  +--oracle.ifs.adk.queue.IfsQueueMessageParameter
All Implemented Interfaces:
oracle.jdbc.internal.ObjectData, oracle.jdbc.internal.ObjectDataFactory, oracle.sql.ORAData, oracle.sql.ORADataFactory

public class IfsQueueMessageParameter
extends java.lang.Object
implements oracle.sql.ORAData, oracle.sql.ORADataFactory

IfsQueueMessageParameter class is the java representation for the IFSQUEUEMESSAGEPARAMETER type that is used to represent a single parameter in the message payload.


Field Summary
static java.lang.String DEFAULT_DATATYPE
          If there is no data type value supplied, this will be used.
 
Constructor Summary
IfsQueueMessageParameter()
          Default constructor.
IfsQueueMessageParameter(java.lang.String name, java.lang.String value)
          Constructs the object with data type set to string.
IfsQueueMessageParameter(java.lang.String name, java.lang.String value, java.lang.String type)
          Constructor that takes arguments.
 
Method Summary
 oracle.sql.ORAData create(oracle.sql.Datum d, int sqlType)
          Implements the create method.
 java.lang.String getDataType()
          Returns the datatype of the parameter.
static oracle.sql.ORADataFactory getFactory()
          Returns a factory object.
 java.lang.String getName()
          Returns the name of the parameter.
 java.lang.String getValue()
          Returns the value of the parameter.
 void setDataType(java.lang.String dataType)
          Sets the datatype of the parameter.
 void setName(java.lang.String name)
          Sets the name of the parameter.
 void setValue(java.lang.String value)
          Sets the value of the parameter.
 oracle.sql.Datum toDatum(java.sql.Connection c)
          Implements the toDatum method.
 

Field Detail


DEFAULT_DATATYPE

public static final java.lang.String DEFAULT_DATATYPE
If there is no data type value supplied, this will be used.
Constructor Detail

IfsQueueMessageParameter

public IfsQueueMessageParameter()
Default constructor.

IfsQueueMessageParameter

public IfsQueueMessageParameter(java.lang.String name,
                                java.lang.String value,
                                java.lang.String type)
Constructor that takes arguments.
Parameters:
name - name of the parameter
value - value of the parameter
type - datatype of the parameter

IfsQueueMessageParameter

public IfsQueueMessageParameter(java.lang.String name,
                                java.lang.String value)
Constructs the object with data type set to string.
Parameters:
name - name of the parameter
value - value of the parameter
Method Detail

getFactory

public static oracle.sql.ORADataFactory getFactory()
Returns a factory object.
Returns:
ORADataFactory

toDatum

public oracle.sql.Datum toDatum(java.sql.Connection c)
                         throws java.sql.SQLException
Implements the toDatum method.
Specified by:
toDatum in interface oracle.sql.ORAData
Parameters:
c - database connection
Returns:
Datum
Throws:
java.sql.SQLException - if the operation fails

create

public oracle.sql.ORAData create(oracle.sql.Datum d,
                                 int sqlType)
                          throws java.sql.SQLException
Implements the create method.
Specified by:
create in interface oracle.sql.ORADataFactory
Parameters:
d - Datum
sqlType - type
Returns:
ORAData
Throws:
java.sql.SQLException - if the operation fails

getName

public java.lang.String getName()
                         throws IfsException
Returns the name of the parameter.
Returns:
name of the parameter
Throws:
IfsException - if the operation fails

setName

public void setName(java.lang.String name)
             throws IfsException
Sets the name of the parameter.
Parameters:
name - name of the parameter
Throws:
IfsException - if the operation fails

getValue

public java.lang.String getValue()
                          throws IfsException
Returns the value of the parameter.
Returns:
value of the parameter
Throws:
IfsException - if the operation fails

setValue

public void setValue(java.lang.String value)
              throws IfsException
Sets the value of the parameter.
Parameters:
value - value of the parameter
Throws:
IfsException - if the operation fails

getDataType

public java.lang.String getDataType()
                             throws IfsException
Returns the datatype of the parameter.
Returns:
datatype of the parameter
Throws:
IfsException - if the operation fails

setDataType

public void setDataType(java.lang.String dataType)
                 throws IfsException
Sets the datatype of the parameter.
Parameters:
datatype - datatype of the parameter
Throws:
IfsException - if the operation fails

Oracle Content Management SDK

(c) 2002 Copyright Oracle Corporation. All rights reserved.