Package system.data.odbc
Class OdbcParameter
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.data.common.DbParameter
-
- system.data.odbc.OdbcParameter
-
- All Implemented Interfaces:
IJCOBridgeReflected
,ICloneable
public class OdbcParameter extends DbParameter implements ICloneable
The base .NET class managing System.Data.Odbc.OdbcParameter, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.Odbc.OdbcParameter
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Datastatic java.lang.String
className
Qualified class name: System.Data.Odbc.OdbcParameterstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description OdbcParameter()
OdbcParameter(java.lang.Object instance)
Internal constructor.OdbcParameter(java.lang.String name, NetObject value)
OdbcParameter(java.lang.String name, OdbcType type)
OdbcParameter(java.lang.String name, OdbcType type, int size)
OdbcParameter(java.lang.String name, OdbcType type, int size, java.lang.String sourcecolumn)
OdbcParameter(java.lang.String parameterName, OdbcType odbcType, int size, ParameterDirection parameterDirection, boolean isNullable, byte precision, byte scale, java.lang.String srcColumn, DataRowVersion srcVersion, NetObject value)
OdbcParameter(java.lang.String parameterName, OdbcType odbcType, int size, ParameterDirection parameterDirection, byte precision, byte scale, java.lang.String sourceColumn, DataRowVersion sourceVersion, boolean sourceColumnNullMapping, NetObject value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OdbcParameter
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoOdbcParameter
, a cast assert is made to check if types are compatible.java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeOdbcType
getOdbcType()
byte
getPrecision()
byte
getScale()
void
ResetDbType()
void
ResetOdbcType()
void
setJCOInstance(JCObject instance)
void
setOdbcType(OdbcType OdbcType)
void
setPrecision(byte Precision)
void
setScale(byte Scale)
-
Methods inherited from class system.data.common.DbParameter
getDbType, getDirection, getIsNullable, getParameterName, getSize, getSourceColumn, getSourceColumnNullMapping, getSourceVersion, getValue, setDbType, setDirection, setIsNullable, setParameterName, setSize, setSourceColumn, setSourceColumnNullMapping, setSourceVersion, setValue
-
Methods inherited from class system.MarshalByRefObject
CreateObjRef, GetLifetimeService, InitializeLifetimeService
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.ICloneable
Clone
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Data- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Data.Odbc.OdbcParameter- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OdbcParameter
public OdbcParameter(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
OdbcParameter
public OdbcParameter() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
OdbcParameter
public OdbcParameter(java.lang.String name, OdbcType type) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
OdbcParameter
public OdbcParameter(java.lang.String name, OdbcType type, int size) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
OdbcParameter
public OdbcParameter(java.lang.String parameterName, OdbcType odbcType, int size, ParameterDirection parameterDirection, boolean isNullable, byte precision, byte scale, java.lang.String srcColumn, DataRowVersion srcVersion, NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
OdbcParameter
public OdbcParameter(java.lang.String parameterName, OdbcType odbcType, int size, ParameterDirection parameterDirection, byte precision, byte scale, java.lang.String sourceColumn, DataRowVersion sourceVersion, boolean sourceColumnNullMapping, NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
OdbcParameter
public OdbcParameter(java.lang.String name, OdbcType type, int size, java.lang.String sourcecolumn) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
OdbcParameter
public OdbcParameter(java.lang.String name, NetObject value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceICloneable
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classDbParameter
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceICloneable
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classDbParameter
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceICloneable
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classDbParameter
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceICloneable
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classDbParameter
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classDbParameter
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceICloneable
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classDbParameter
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static OdbcParameter cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoOdbcParameter
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
OdbcParameter
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
ResetDbType
public void ResetDbType() throws java.lang.Throwable
- Overrides:
ResetDbType
in classDbParameter
- Throws:
java.lang.Throwable
-
ResetOdbcType
public void ResetOdbcType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPrecision
public byte getPrecision() throws java.lang.Throwable, SqlNullValueException
- Overrides:
getPrecision
in classDbParameter
- Throws:
java.lang.Throwable
SqlNullValueException
-
setPrecision
public void setPrecision(byte Precision) throws java.lang.Throwable
- Overrides:
setPrecision
in classDbParameter
- Throws:
java.lang.Throwable
-
getScale
public byte getScale() throws java.lang.Throwable
- Overrides:
getScale
in classDbParameter
- Throws:
java.lang.Throwable
-
setScale
public void setScale(byte Scale) throws java.lang.Throwable
- Overrides:
setScale
in classDbParameter
- Throws:
java.lang.Throwable
-
getOdbcType
public OdbcType getOdbcType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setOdbcType
public void setOdbcType(OdbcType OdbcType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
-