public class SqlChars extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Data.SqlTypes.SqlChars
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Data.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Data.Common
|
static java.lang.String |
className
Qualified class name: System.Data.SqlTypes.SqlChars
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SqlChars()
Initializes a new instance by invoking the .NET constructor.
|
SqlChars(char[] buffer)
Initializes a new instance by invoking the .NET constructor.
|
SqlChars(java.lang.Object instance)
Internal constructor.
|
SqlChars(SqlString value)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static SqlChars |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into SqlChars, a cast assert is made to check if types are compatible. |
char[] |
getBuffer()
Gets the value of the .NET property Buffer.
|
boolean |
getIsNull()
Gets the value of the .NET property IsNull.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
long |
getLength()
Gets the value of the .NET property Length.
|
long |
getMaxLength()
Gets the value of the .NET property MaxLength.
|
static SqlChars |
getNull()
Gets the value of the .NET property Null.
|
StorageState |
getStorage()
Gets the value of the .NET property Storage.
|
char[] |
getValue()
Gets the value of the .NET property Value.
|
static XmlQualifiedName |
GetXsdType(XmlSchemaSet schemaSet)
Invokes the .NET member GetXsdType.
|
long |
Read(long offset,
char[] buffer,
int offsetInBuffer,
int count)
Invokes the .NET member Read.
|
long |
Read(long dupParam0,
JCORefOut dupParam1,
int dupParam2,
int dupParam3)
Invokes the .NET member Read.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
SetLength(long value)
Invokes the .NET member SetLength.
|
void |
SetNull()
Invokes the .NET member SetNull.
|
SqlString |
ToSqlString()
Invokes the .NET member ToSqlString.
|
void |
Write(long offset,
char[] buffer,
int offsetInBuffer,
int count)
Invokes the .NET member Write.
|
void |
Write(long dupParam0,
JCORefOut dupParam1,
int dupParam2,
int dupParam3)
Invokes the .NET member Write.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public SqlChars()
throws java.lang.Throwable
java.lang.Throwable - if the .NET constructor failspublic SqlChars(char[] buffer)
throws java.lang.Throwable
buffer - the argument of type char[]java.lang.Throwable - if the .NET constructor failspublic SqlChars(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic SqlChars(SqlString value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, SqlNullValueException
value - the argument of type SqlStringjava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSqlNullValueException - if the .NET member raises itpublic static SqlChars cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SqlChars, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSqlChars instancejava.lang.Throwable - in case of error during cast operationpublic char[] getBuffer()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
FormatException,
SqlNullValueException,
SqlTypeException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itSqlNullValueException - if the .NET member raises itSqlTypeException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic boolean getIsNull()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic long getLength()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
SqlNullValueException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itSqlNullValueException - if the .NET member raises itpublic long getMaxLength()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static SqlChars getNull() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic StorageState getStorage() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlNullValueException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itSqlNullValueException - if the .NET member raises itpublic char[] getValue()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
SqlNullValueException,
SqlTypeException,
InvalidOperationException,
IndexOutOfRangeException,
FormatException,
RankException,
ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itSqlNullValueException - if the .NET member raises itSqlTypeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static XmlQualifiedName GetXsdType(XmlSchemaSet schemaSet) throws java.lang.Throwable
schemaSet - the argument of type XmlSchemaSetjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic long Read(long offset,
char[] buffer,
int offsetInBuffer,
int count)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
SqlNullValueException,
InvalidOperationException,
IndexOutOfRangeException,
FormatException,
RankException,
ArrayTypeMismatchException
offset - the argument of type longbuffer - the argument of type char[]offsetInBuffer - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itSqlNullValueException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic long Read(long dupParam0,
JCORefOut dupParam1,
int dupParam2,
int dupParam3)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
SqlNullValueException,
InvalidOperationException,
IndexOutOfRangeException,
FormatException,
RankException,
ArrayTypeMismatchException
dupParam0 - the argument of type longdupParam1 - the argument of type JCORefOutdupParam2 - the argument of type intdupParam3 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itSqlNullValueException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void SetLength(long value)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException,
SqlTypeException
value - the argument of type longjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itSqlTypeException - if the .NET member raises itpublic void SetNull()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic SqlString ToSqlString() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, SqlNullValueException, FormatException, SqlTypeException, ArgumentOutOfRangeException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, CultureNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itSqlNullValueException - if the .NET member raises itFormatException - if the .NET member raises itSqlTypeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic void Write(long offset,
char[] buffer,
int offsetInBuffer,
int count)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
SqlNullValueException,
SqlTypeException,
RankException,
ArrayTypeMismatchException
offset - the argument of type longbuffer - the argument of type char[]offsetInBuffer - the argument of type intcount - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itSqlNullValueException - if the .NET member raises itSqlTypeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void Write(long dupParam0,
JCORefOut dupParam1,
int dupParam2,
int dupParam3)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ObjectDisposedException,
InvalidOperationException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
FormatException,
SqlNullValueException,
SqlTypeException,
RankException,
ArrayTypeMismatchException
dupParam0 - the argument of type longdupParam1 - the argument of type JCORefOutdupParam2 - the argument of type intdupParam3 - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itSqlNullValueException - if the .NET member raises itSqlTypeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises it