Package system.data.sqlclient
Class SqlParameter
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.data.common.DbParameter
-
- system.data.sqlclient.SqlParameter
-
- All Implemented Interfaces:
IJCOBridgeReflected
,ICloneable
public class SqlParameter extends DbParameter implements ICloneable
The base .NET class managing System.Data.SqlClient.SqlParameter, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.SqlClient.SqlParameter
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.SqlClient.SqlParameterstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description SqlParameter()
SqlParameter(java.lang.Object instance)
Internal constructor.SqlParameter(java.lang.String parameterName, NetObject value)
SqlParameter(java.lang.String parameterName, SqlDbType dbType)
SqlParameter(java.lang.String parameterName, SqlDbType dbType, int size)
SqlParameter(java.lang.String parameterName, SqlDbType dbType, int size, java.lang.String sourceColumn)
SqlParameter(java.lang.String parameterName, SqlDbType dbType, int size, ParameterDirection direction, boolean isNullable, byte precision, byte scale, java.lang.String sourceColumn, DataRowVersion sourceVersion, NetObject value)
SqlParameter(java.lang.String parameterName, SqlDbType dbType, int size, ParameterDirection direction, byte precision, byte scale, java.lang.String sourceColumn, DataRowVersion sourceVersion, boolean sourceColumnNullMapping, NetObject value, java.lang.String xmlSchemaCollectionDatabase, java.lang.String xmlSchemaCollectionOwningSchema, java.lang.String xmlSchemaCollectionName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqlParameter
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoSqlParameter
, a cast assert is made to check if types are compatible.SqlCompareOptions
getCompareInfo()
boolean
getForceColumnEncryption()
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 Typeint
getLocaleId()
int
getOffset()
byte
getPrecision()
byte
getScale()
SqlDbType
getSqlDbType()
NetObject
getSqlValue()
java.lang.String
getTypeName()
java.lang.String
getUdtTypeName()
java.lang.String
getXmlSchemaCollectionDatabase()
java.lang.String
getXmlSchemaCollectionName()
java.lang.String
getXmlSchemaCollectionOwningSchema()
void
ResetDbType()
void
ResetSqlDbType()
void
setCompareInfo(SqlCompareOptions CompareInfo)
void
setForceColumnEncryption(boolean ForceColumnEncryption)
void
setJCOInstance(JCObject instance)
void
setLocaleId(int LocaleId)
void
setOffset(int Offset)
void
setPrecision(byte Precision)
void
setScale(byte Scale)
void
setSqlDbType(SqlDbType SqlDbType)
void
setSqlValue(NetObject SqlValue)
void
setTypeName(java.lang.String TypeName)
void
setUdtTypeName(java.lang.String UdtTypeName)
void
setXmlSchemaCollectionDatabase(java.lang.String XmlSchemaCollectionDatabase)
void
setXmlSchemaCollectionName(java.lang.String XmlSchemaCollectionName)
void
setXmlSchemaCollectionOwningSchema(java.lang.String XmlSchemaCollectionOwningSchema)
-
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.SqlClient.SqlParameter- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SqlParameter
public SqlParameter(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
SqlParameter
public SqlParameter() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SqlParameter
public SqlParameter(java.lang.String parameterName, SqlDbType dbType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
SqlParameter
public SqlParameter(java.lang.String parameterName, SqlDbType dbType, int size) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
SqlParameter
public SqlParameter(java.lang.String parameterName, SqlDbType dbType, int size, ParameterDirection direction, boolean isNullable, byte precision, byte scale, java.lang.String sourceColumn, DataRowVersion sourceVersion, NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, SqlNullValueException
-
SqlParameter
public SqlParameter(java.lang.String parameterName, SqlDbType dbType, int size, ParameterDirection direction, byte precision, byte scale, java.lang.String sourceColumn, DataRowVersion sourceVersion, boolean sourceColumnNullMapping, NetObject value, java.lang.String xmlSchemaCollectionDatabase, java.lang.String xmlSchemaCollectionOwningSchema, java.lang.String xmlSchemaCollectionName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, SqlNullValueException
-
SqlParameter
public SqlParameter(java.lang.String parameterName, SqlDbType dbType, int size, java.lang.String sourceColumn) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException
-
SqlParameter
public SqlParameter(java.lang.String parameterName, 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 SqlParameter cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoSqlParameter
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
SqlParameter
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
-
ResetSqlDbType
public void ResetSqlDbType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getForceColumnEncryption
public boolean getForceColumnEncryption() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setForceColumnEncryption
public void setForceColumnEncryption(boolean ForceColumnEncryption) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getPrecision
public byte getPrecision() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, SqlNullValueException, OverflowException, SqlTypeException, XmlException, NotSupportedException, TargetInvocationException
- Overrides:
getPrecision
in classDbParameter
- Throws:
java.lang.Throwable
ArgumentNullException
MissingManifestResourceException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
ArgumentException
SqlNullValueException
OverflowException
SqlTypeException
XmlException
NotSupportedException
TargetInvocationException
-
setPrecision
public void setPrecision(byte Precision) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, SqlNullValueException
- Overrides:
setPrecision
in classDbParameter
- Throws:
java.lang.Throwable
ArgumentNullException
MissingManifestResourceException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
ArgumentException
SqlNullValueException
-
getScale
public byte getScale() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, SqlNullValueException, OverflowException, SqlTypeException, XmlException, NotSupportedException, TargetInvocationException
- Overrides:
getScale
in classDbParameter
- Throws:
java.lang.Throwable
ArgumentNullException
MissingManifestResourceException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
ArgumentException
SqlNullValueException
OverflowException
SqlTypeException
XmlException
NotSupportedException
TargetInvocationException
-
setScale
public void setScale(byte Scale) throws java.lang.Throwable
- Overrides:
setScale
in classDbParameter
- Throws:
java.lang.Throwable
-
getLocaleId
public int getLocaleId() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setLocaleId
public void setLocaleId(int LocaleId) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
-
getOffset
public int getOffset() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setOffset
public void setOffset(int Offset) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
ArgumentOutOfRangeException
NotImplementedException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
AbandonedMutexException
-
getSqlDbType
public SqlDbType getSqlDbType() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, SqlNullValueException
-
setSqlDbType
public void setSqlDbType(SqlDbType SqlDbType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException
-
getCompareInfo
public SqlCompareOptions getCompareInfo() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCompareInfo
public void setCompareInfo(SqlCompareOptions CompareInfo) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
-
getSqlValue
public NetObject getSqlValue() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, SqlNullValueException, OverflowException, SqlTypeException, XmlException, NotSupportedException, TargetInvocationException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
SqlNullValueException
OverflowException
SqlTypeException
XmlException
NotSupportedException
TargetInvocationException
-
setSqlValue
public void setSqlValue(NetObject SqlValue) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTypeName
public java.lang.String getTypeName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTypeName
public void setTypeName(java.lang.String TypeName) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getUdtTypeName
public java.lang.String getUdtTypeName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setUdtTypeName
public void setUdtTypeName(java.lang.String UdtTypeName) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getXmlSchemaCollectionDatabase
public java.lang.String getXmlSchemaCollectionDatabase() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setXmlSchemaCollectionDatabase
public void setXmlSchemaCollectionDatabase(java.lang.String XmlSchemaCollectionDatabase) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getXmlSchemaCollectionName
public java.lang.String getXmlSchemaCollectionName() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setXmlSchemaCollectionName
public void setXmlSchemaCollectionName(java.lang.String XmlSchemaCollectionName) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getXmlSchemaCollectionOwningSchema
public java.lang.String getXmlSchemaCollectionOwningSchema() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setXmlSchemaCollectionOwningSchema
public void setXmlSchemaCollectionOwningSchema(java.lang.String XmlSchemaCollectionOwningSchema) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-