| java.lang.Object org.continuent.sequoia.common.sql.schema.DatabaseProcedureParameter
DatabaseProcedureParameter | public class DatabaseProcedureParameter (Code) | | Represents a parameter of procedure
author: Nicolas Modrzyk |
Constructor Summary | |
public | DatabaseProcedureParameter(String name, int columnType, int nullable) | public | DatabaseProcedureParameter(String name, int columnType, int dataType, String typeName, float precision, int length, int scale, int radix, int nullable, String remarks) |
ProcedureColumnIn | final public static int ProcedureColumnIn(Code) | | IN parameter
|
ProcedureColumnInOut | final public static int ProcedureColumnInOut(Code) | | INOUT parameter
|
ProcedureColumnOut | final public static int ProcedureColumnOut(Code) | | OUT parameter
|
ProcedureColumnResult | final public static int ProcedureColumnResult(Code) | | procedure return value
|
ProcedureColumnReturn | final public static int ProcedureColumnReturn(Code) | | procedure return value
|
ProcedureColumnUnknown | final public static int ProcedureColumnUnknown(Code) | | nobody knows
|
ProcedureNoNulls | final public static int ProcedureNoNulls(Code) | | does not allow NULL values
|
ProcedureNullable | final public static int ProcedureNullable(Code) | | allows NULL values
|
ProcedureNullableUnknown | final public static int ProcedureNullableUnknown(Code) | | nullability unknown
|
DatabaseProcedureParameter | public DatabaseProcedureParameter(String name, int columnType, int nullable)(Code) | | Reduced version of constructor for static schemas
Parameters: name - column/parameter name Parameters: columnType - kind of column/parameter Parameters: nullable - can it contain NULL? |
DatabaseProcedureParameter | public DatabaseProcedureParameter(String name, int columnType, int dataType, String typeName, float precision, int length, int scale, int radix, int nullable, String remarks)(Code) | | Parameters: name - column/parameter name Parameters: columnType - kind of column/parameter Parameters: dataType - SQL type from java.sql.Types Parameters: typeName - SQL type name, for a UDT type the type name is fullyqualified Parameters: precision - precision Parameters: length - length in bytes of data Parameters: scale - scale Parameters: radix - radix Parameters: nullable - can it contain NULL? Parameters: remarks - comment describing parameter/column |
equals | public boolean equals(Object other)(Code) | | Two DatabaseProcedureParameter are considered equal if they
have the same name and the same descriptive attributes.
Parameters: other - the object to compare with true if the DatabaseProcedureParameter are equal |
getColumnType | final public int getColumnType()(Code) | | Returns the columnType. |
getColumnTypeFromInt | public static String getColumnTypeFromInt(int type)(Code) | | get column type given an int
Parameters: type - as an int from the java specification a description as a string |
getColumnTypeFromString | public static int getColumnTypeFromString(String type)(Code) | | get type from string
Parameters: type - of the parameter value given the java specification |
getDataType | final public int getDataType()(Code) | | Returns the dataType. |
getLength | final public int getLength()(Code) | | Returns the length. |
getName | final public String getName()(Code) | | Returns the name. |
getNullFromInt | public static String getNullFromInt(int nullable)(Code) | | get null ability given an int
Parameters: nullable - as an integer a string conformed to dtd |
getNullFromString | public static int getNullFromString(String nullable)(Code) | | get null ability given a string
Parameters: nullable - recognized are "nonulls" and "nullable" value given the java specification |
getNullable | final public int getNullable()(Code) | | Returns the nullable. |
getPrecision | final public float getPrecision()(Code) | | Returns the precision. |
getRadix | final public int getRadix()(Code) | | Returns the radix. |
getRemarks | final public String getRemarks()(Code) | | Returns the remarks. |
getScale | final public int getScale()(Code) | | Returns the scale. |
getTypeName | final public String getTypeName()(Code) | | Returns the typeName. |
getXml | public String getXml()(Code) | | Get xml information about this procedure.
xml formatted information on this database procedure. |
setColumnType | final public void setColumnType(int columnType)(Code) | | Parameters: columnType - The columnType to set. |
setDataType | final public void setDataType(int dataType)(Code) | | Parameters: dataType - The dataType to set. |
setLength | final public void setLength(int length)(Code) | | Parameters: length - The length to set. |
setName | final public void setName(String name)(Code) | | Parameters: name - The name to set. |
setNullable | final public void setNullable(int nullable)(Code) | | Parameters: nullable - The nullable to set. |
setPrecision | final public void setPrecision(int precision)(Code) | | Parameters: precision - The precision to set. |
setRadix | final public void setRadix(int radix)(Code) | | Parameters: radix - The radix to set. |
setRemarks | final public void setRemarks(String remarks)(Code) | | Parameters: remarks - The remarks to set. |
setScale | final public void setScale(int scale)(Code) | | Parameters: scale - The scale to set. |
setTypeName | final public void setTypeName(String typeName)(Code) | | Parameters: typeName - The typeName to set. |
|
|