Package system.data.oledb
Class OleDbParameter
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.data.common.DbParameter
-
- system.data.oledb.OleDbParameter
-
- All Implemented Interfaces:
IJCOBridgeReflected,ICloneable
public class OleDbParameter extends DbParameter implements ICloneable
The base .NET class managing System.Data.OleDb.OleDbParameter, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.OleDb.OleDbParameter
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.StringassemblyFullNameFully assembly qualified name: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Datastatic java.lang.StringclassNameQualified class name: System.Data.OleDb.OleDbParameterstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description OleDbParameter()OleDbParameter(java.lang.Object instance)Internal constructor.OleDbParameter(java.lang.String name, NetObject value)OleDbParameter(java.lang.String name, OleDbType dataType)OleDbParameter(java.lang.String name, OleDbType dataType, int size)OleDbParameter(java.lang.String name, OleDbType dataType, int size, java.lang.String srcColumn)OleDbParameter(java.lang.String parameterName, OleDbType dbType, int size, ParameterDirection direction, boolean isNullable, byte precision, byte scale, java.lang.String srcColumn, DataRowVersion srcVersion, NetObject value)OleDbParameter(java.lang.String parameterName, OleDbType dbType, int size, ParameterDirection direction, 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 OleDbParametercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoOleDbParameter, a cast assert is made to check if types are compatible.java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeOleDbTypegetOleDbType()bytegetPrecision()bytegetScale()voidResetDbType()voidResetOleDbType()voidsetJCOInstance(JCObject instance)voidsetOleDbType(OleDbType OleDbType)voidsetPrecision(byte Precision)voidsetScale(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.OleDb.OleDbParameter- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OleDbParameter
public OleDbParameter(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
OleDbParameter
public OleDbParameter() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
OleDbParameter
public OleDbParameter(java.lang.String name, OleDbType dataType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
OleDbParameter
public OleDbParameter(java.lang.String name, OleDbType dataType, int size) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
OleDbParameter
public OleDbParameter(java.lang.String parameterName, OleDbType dbType, int size, ParameterDirection direction, 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
-
OleDbParameter
public OleDbParameter(java.lang.String parameterName, OleDbType dbType, int size, ParameterDirection direction, 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
-
OleDbParameter
public OleDbParameter(java.lang.String name, OleDbType dataType, int size, java.lang.String srcColumn) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
OleDbParameter
public OleDbParameter(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:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceICloneable- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classDbParameter- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceICloneable- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classDbParameter- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceICloneable- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classDbParameter- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceICloneable- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classDbParameter- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classDbParameter
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceICloneable- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classDbParameter- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static OleDbParameter cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoOleDbParameter, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
OleDbParameterinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
ResetDbType
public void ResetDbType() throws java.lang.Throwable- Overrides:
ResetDbTypein classDbParameter- Throws:
java.lang.Throwable
-
ResetOleDbType
public void ResetOleDbType() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getPrecision
public byte getPrecision() throws java.lang.Throwable, SqlNullValueException- Overrides:
getPrecisionin classDbParameter- Throws:
java.lang.ThrowableSqlNullValueException
-
setPrecision
public void setPrecision(byte Precision) throws java.lang.Throwable- Overrides:
setPrecisionin classDbParameter- Throws:
java.lang.Throwable
-
getScale
public byte getScale() throws java.lang.Throwable- Overrides:
getScalein classDbParameter- Throws:
java.lang.Throwable
-
setScale
public void setScale(byte Scale) throws java.lang.Throwable- Overrides:
setScalein classDbParameter- Throws:
java.lang.Throwable
-
getOleDbType
public OleDbType getOleDbType() throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
setOleDbType
public void setOleDbType(OleDbType OleDbType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
-