Package system.data.sqltypes
Class SqlChars
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.data.sqltypes.SqlChars
-
- All Implemented Interfaces:
IJCOBridgeReflected
,ISerializable
,IXmlSerializable
public class SqlChars extends NetObject implements IXmlSerializable, ISerializable
The base .NET class managing System.Data.SqlTypes.SqlChars, System.Data.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.SqlTypes.SqlChars
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=8.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.SqlTypes.SqlCharsstatic JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqlChars
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoSqlChars
, a cast assert is made to check if types are compatible.char[]
getBuffer()
boolean
getIsNull()
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 Typelong
getLength()
long
getMaxLength()
static SqlChars
getNull()
StorageState
getStorage()
char[]
getValue()
static XmlQualifiedName
GetXsdType(XmlSchemaSet schemaSet)
long
Read(long offset, char[] buffer, int offsetInBuffer, int count)
long
Read(long dupParam0, JCORefOut dupParam1, int dupParam2, int dupParam3)
void
setJCOInstance(JCObject instance)
void
SetLength(long value)
void
SetNull()
SqlString
ToSqlString()
void
Write(long offset, char[] buffer, int offsetInBuffer, int count)
void
Write(long dupParam0, JCORefOut dupParam1, int dupParam2, int dupParam3)
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.runtime.serialization.ISerializable
GetObjectData
-
Methods inherited from interface system.xml.serialization.IXmlSerializable
GetSchema, ReadXml, WriteXml
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Data.Common, Version=8.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.SqlTypes.SqlChars- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SqlChars
public SqlChars(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
SqlChars
public SqlChars() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SqlChars
public SqlChars(char[] buffer) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SqlChars
public SqlChars(SqlString value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, SqlNullValueException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceISerializable
- Specified by:
getJCOAssemblyName
in interfaceIXmlSerializable
- Overrides:
getJCOAssemblyName
in classNetObject
- 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
- Specified by:
getJCOClassName
in interfaceISerializable
- Specified by:
getJCOClassName
in interfaceIXmlSerializable
- Overrides:
getJCOClassName
in classNetObject
- 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
- Specified by:
getJCOObjectName
in interfaceISerializable
- Specified by:
getJCOObjectName
in interfaceIXmlSerializable
- Overrides:
getJCOObjectName
in classNetObject
- 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
- Specified by:
getJCOInstance
in interfaceISerializable
- Specified by:
getJCOInstance
in interfaceIXmlSerializable
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceISerializable
- Specified by:
getJCOType
in interfaceIXmlSerializable
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static SqlChars cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoSqlChars
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
SqlChars
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Read
public 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
-
Read
public 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
-
ToSqlString
public SqlString ToSqlString() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, SqlNullValueException, FormatException, SqlTypeException, ArgumentOutOfRangeException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException, CultureNotFoundException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ObjectDisposedException
InvalidOperationException
SqlNullValueException
FormatException
SqlTypeException
ArgumentOutOfRangeException
RankException
IndexOutOfRangeException
ArrayTypeMismatchException
CultureNotFoundException
-
GetXsdType
public static XmlQualifiedName GetXsdType(XmlSchemaSet schemaSet) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SetLength
public void SetLength(long value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, SqlTypeException
-
SetNull
public void SetNull() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Write
public 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
-
Write
public 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
-
getIsNull
public boolean getIsNull() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getBuffer
public char[] getBuffer() throws java.lang.Throwable, ArgumentException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, SqlNullValueException, SqlTypeException, RankException, IndexOutOfRangeException, ArrayTypeMismatchException
-
getValue
public char[] getValue() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlNullValueException, SqlTypeException, InvalidOperationException, IndexOutOfRangeException, FormatException, RankException, ArrayTypeMismatchException
-
getLength
public long getLength() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlNullValueException
-
getMaxLength
public long getMaxLength() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getNull
public static SqlChars getNull() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getStorage
public StorageState getStorage() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlNullValueException
-
-