Package system.data.common
Class DbParameter
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.data.common.DbParameter
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class DbParameter extends MarshalByRefObject
The base .NET class managing System.Data.Common.DbParameter, System.Data.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.Common.DbParameter
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.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Data.Commonstatic java.lang.String
className
Qualified class name: System.Data.Common.DbParameterstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description DbParameter()
DbParameter(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DbParameter
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoDbParameter
, a cast assert is made to check if types are compatible.DbType
getDbType()
ParameterDirection
getDirection()
boolean
getIsNullable()
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 Typejava.lang.String
getParameterName()
byte
getPrecision()
byte
getScale()
int
getSize()
java.lang.String
getSourceColumn()
boolean
getSourceColumnNullMapping()
DataRowVersion
getSourceVersion()
NetObject
getValue()
void
ResetDbType()
void
setDbType(DbType DbType)
void
setDirection(ParameterDirection Direction)
void
setIsNullable(boolean IsNullable)
void
setJCOInstance(JCObject instance)
void
setParameterName(java.lang.String ParameterName)
void
setPrecision(byte Precision)
void
setScale(byte Scale)
void
setSize(int Size)
void
setSourceColumn(java.lang.String SourceColumn)
void
setSourceColumnNullMapping(boolean SourceColumnNullMapping)
void
setSourceVersion(DataRowVersion SourceVersion)
void
setValue(NetObject Value)
-
Methods inherited from class system.MarshalByRefObject
GetLifetimeService, InitializeLifetimeService
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Data.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Data.Common- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Data.Common.DbParameter- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classMarshalByRefObject
- 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 interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classMarshalByRefObject
- 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 interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classMarshalByRefObject
- 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 interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classMarshalByRefObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classMarshalByRefObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classMarshalByRefObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static DbParameter cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoDbParameter
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
DbParameter
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
ResetDbType
public void ResetDbType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsNullable
public boolean getIsNullable() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setIsNullable
public void setIsNullable(boolean IsNullable) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSourceColumnNullMapping
public boolean getSourceColumnNullMapping() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSourceColumnNullMapping
public void setSourceColumnNullMapping(boolean SourceColumnNullMapping) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPrecision
public byte getPrecision() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setPrecision
public void setPrecision(byte Precision) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getScale
public byte getScale() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setScale
public void setScale(byte Scale) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSize
public int getSize() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSize
public void setSize(int Size) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSourceVersion
public DataRowVersion getSourceVersion() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSourceVersion
public void setSourceVersion(DataRowVersion SourceVersion) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDbType
public DbType getDbType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDbType
public void setDbType(DbType DbType) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDirection
public ParameterDirection getDirection() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDirection
public void setDirection(ParameterDirection Direction) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getValue
public NetObject getValue() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setValue
public void setValue(NetObject Value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getParameterName
public java.lang.String getParameterName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setParameterName
public void setParameterName(java.lang.String ParameterName) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSourceColumn
public java.lang.String getSourceColumn() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSourceColumn
public void setSourceColumn(java.lang.String SourceColumn) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-