|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.enablement.oda.ws.impl.ParameterMetaData
public class ParameterMetaData
This class implements the org.eclipse.datatools.connectivity.oda.IParameterMetaData interface.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.datatools.connectivity.oda.IParameterMetaData |
|---|
parameterModeIn, parameterModeInOut, parameterModeOut, parameterModeUnknown, parameterNoNulls, parameterNullable, parameterNullableUnknown |
| Constructor Summary | |
|---|---|
ParameterMetaData(SOAPParameter[] parameters)
|
|
| Method Summary | |
|---|---|
int |
getParameterCount()
Returns the number of parameters defined in the prepared IQuery object. |
int |
getParameterMode(int param)
Returns the input/output mode of the specified parameter. |
java.lang.String |
getParameterName(int param)
Returns the name of the specific parameter. |
int |
getParameterType(int param)
Returns the data provider specific code of the parameter's data type. |
java.lang.String |
getParameterTypeName(int param)
Returns the data provider specific name of the parameter's data type. |
int |
getPrecision(int param)
Returns the maximum number of decimal digits for the specified parameter. |
int |
getScale(int param)
Returns the maximum number of digits to the right of the decimal point for the specified parameter. |
int |
isNullable(int param)
Returns whether null values are allowed for the specified parameter. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParameterMetaData(SOAPParameter[] parameters)
| Method Detail |
|---|
public int getParameterCount()
throws OdaException
IParameterMetaData
getParameterCount in interface IParameterMetaDataOdaException - if data source error occurs.
public int getParameterMode(int param)
throws OdaException
IParameterMetaData
getParameterMode in interface IParameterMetaDataparam - 1-based index of the parameter.
OdaException - if data source error occurs.
public int getParameterType(int param)
throws OdaException
IParameterMetaData
getParameterType in interface IParameterMetaDataparam - 1-based index of the parameter.
OdaException - if data source error occurs.
public java.lang.String getParameterTypeName(int param)
throws OdaException
IParameterMetaData
getParameterTypeName in interface IParameterMetaDataparam - 1-based index of the parameter.
OdaException - if data source error occurs.
public int getPrecision(int param)
throws OdaException
IParameterMetaData
getPrecision in interface IParameterMetaDataparam - 1-based index of the parameter.
OdaException - if data source error occurs.
public int getScale(int param)
throws OdaException
IParameterMetaData
getScale in interface IParameterMetaDataparam - 1-based index of the parameter.
OdaException - if data source error occurs.
public int isNullable(int param)
throws OdaException
IParameterMetaData
isNullable in interface IParameterMetaDataparam - 1-based index of the parameter.
OdaException - if data source error occurs.
public java.lang.String getParameterName(int param)
throws OdaException
IParameterMetaData
getParameterName in interface IParameterMetaDataparam - 1-based index of the parameter.
OdaException - if data source error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||