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=9.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.StringassemblyFullNameFully assembly qualified name: System.Data.Common, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Data.Commonstatic java.lang.StringclassNameQualified class name: System.Data.SqlTypes.SqlCharsstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqlCharscast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoSqlChars, a cast assert is made to check if types are compatible.char[]getBuffer()booleangetIsNull()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 TypelonggetLength()longgetMaxLength()static SqlCharsgetNull()StorageStategetStorage()char[]getValue()static XmlQualifiedNameGetXsdType(XmlSchemaSet schemaSet)longRead(long offset, char[] buffer, int offsetInBuffer, int count)longRead(long dupParam0, JCORefOut dupParam1, int dupParam2, int dupParam3)voidsetJCOInstance(JCObject instance)voidSetLength(long value)voidSetNull()SqlStringToSqlString()voidWrite(long offset, char[] buffer, int offsetInBuffer, int count)voidWrite(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=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.SqlTypes.SqlChars- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SqlChars
public SqlChars(java.lang.Object instance) throws java.lang.ThrowableInternal 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:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
getJCOAssemblyNamein interfaceISerializable- Specified by:
getJCOAssemblyNamein interfaceIXmlSerializable- Overrides:
getJCOAssemblyNamein classNetObject- 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 interfaceIJCOBridgeReflected- Specified by:
getJCOClassNamein interfaceISerializable- Specified by:
getJCOClassNamein interfaceIXmlSerializable- Overrides:
getJCOClassNamein classNetObject- 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 interfaceIJCOBridgeReflected- Specified by:
getJCOObjectNamein interfaceISerializable- Specified by:
getJCOObjectNamein interfaceIXmlSerializable- Overrides:
getJCOObjectNamein classNetObject- 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 interfaceIJCOBridgeReflected- Specified by:
getJCOInstancein interfaceISerializable- Specified by:
getJCOInstancein interfaceIXmlSerializable- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Specified by:
getJCOTypein interfaceISerializable- Specified by:
getJCOTypein interfaceIXmlSerializable- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static SqlChars cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoSqlChars, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
SqlCharsinstance- 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, NotSupportedException, IndexOutOfRangeException, FormatException, RankException, ArrayTypeMismatchException, InvalidCastException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionSqlNullValueExceptionInvalidOperationExceptionNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastException
-
Read
public long Read(long dupParam0, JCORefOut dupParam1, int dupParam2, int dupParam3) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlNullValueException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, FormatException, RankException, ArrayTypeMismatchException, InvalidCastException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionSqlNullValueExceptionInvalidOperationExceptionNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastException
-
ToSqlString
public SqlString ToSqlString() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, SqlNullValueException, IndexOutOfRangeException, FormatException, SqlTypeException, ArgumentOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException, CultureNotFoundException, NullReferenceException, NotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionSqlNullValueExceptionIndexOutOfRangeExceptionFormatExceptionSqlTypeExceptionArgumentOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionCultureNotFoundExceptionNullReferenceExceptionNotSupportedException
-
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, InvalidCastException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionSqlNullValueExceptionSqlTypeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastException
-
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, InvalidCastException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionFormatExceptionSqlNullValueExceptionSqlTypeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastException
-
getIsNull
public boolean getIsNull() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getBuffer
public char[] getBuffer() throws java.lang.Throwable, ArgumentException, InvalidOperationException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, SqlNullValueException, SqlTypeException, ArgumentNullException, RankException, ArrayTypeMismatchException, InvalidCastException
-
getValue
public char[] getValue() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlNullValueException, SqlTypeException, InvalidOperationException, IndexOutOfRangeException, FormatException, RankException, ArrayTypeMismatchException, InvalidCastException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionSqlNullValueExceptionSqlTypeExceptionInvalidOperationExceptionIndexOutOfRangeExceptionFormatExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastException
-
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
-
-