Package system.data.sqltypes
Class SqlString
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.ValueType
-
- system.data.sqltypes.SqlString
-
- All Implemented Interfaces:
IJCOBridgeReflected,IXmlSerializable
public class SqlString extends ValueType implements IXmlSerializable
The base .NET class managing System.Data.SqlTypes.SqlString, 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.SqlString
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.SqlStringstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description SqlString()SqlString(int lcid, SqlCompareOptions compareOptions, byte[] data)SqlString(int lcid, SqlCompareOptions compareOptions, byte[] data, boolean fUnicode)SqlString(int lcid, SqlCompareOptions compareOptions, byte[] data, int index, int count)SqlString(int lcid, SqlCompareOptions compareOptions, byte[] data, int index, int count, boolean fUnicode)SqlString(java.lang.Object instance)Internal constructor.SqlString(java.lang.String data)SqlString(java.lang.String data, int lcid)SqlString(java.lang.String data, int lcid, SqlCompareOptions compareOptions)
-
Method Summary
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
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.SqlString- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SqlString
public SqlString(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
SqlString
public SqlString() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
SqlString
public SqlString(int lcid, SqlCompareOptions compareOptions, byte[] data, boolean fUnicode) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, CultureNotFoundException, OutOfMemoryException, ArgumentNullException, IndexOutOfRangeException, FormatException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionOutOfMemoryExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatException
-
SqlString
public SqlString(int lcid, SqlCompareOptions compareOptions, byte[] data, int index, int count, boolean fUnicode) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, CultureNotFoundException, OutOfMemoryException, FormatException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionFormatException
-
SqlString
public SqlString(int lcid, SqlCompareOptions compareOptions, byte[] data, int index, int count) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, CultureNotFoundException, OutOfMemoryException, ArgumentNullException, IndexOutOfRangeException, FormatException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionOutOfMemoryExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatException
-
SqlString
public SqlString(int lcid, SqlCompareOptions compareOptions, byte[] data) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, CultureNotFoundException, OutOfMemoryException, ArgumentNullException, IndexOutOfRangeException, FormatException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionCultureNotFoundExceptionOutOfMemoryExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatException
-
SqlString
public SqlString(java.lang.String data, int lcid, SqlCompareOptions compareOptions) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
-
SqlString
public SqlString(java.lang.String data, int lcid) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
SqlString
public SqlString(java.lang.String data) throws java.lang.Throwable, ArgumentNullException, OutOfMemoryException, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
getJCOAssemblyNamein interfaceIXmlSerializable- Overrides:
getJCOAssemblyNamein classValueType- 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 interfaceIXmlSerializable- Overrides:
getJCOClassNamein classValueType- 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 interfaceIXmlSerializable- Overrides:
getJCOObjectNamein classValueType- 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 interfaceIXmlSerializable- Overrides:
getJCOInstancein classValueType- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classValueType
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Specified by:
getJCOTypein interfaceIXmlSerializable- Overrides:
getJCOTypein classValueType- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static SqlString cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoSqlString, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
SqlStringinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Equals
public boolean Equals(SqlString other) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlTypeException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentNullException, CultureNotFoundException, OutOfMemoryException, ExternalException, SqlNullValueException
-
GetNonUnicodeBytes
public byte[] GetNonUnicodeBytes() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, CultureNotFoundException, OutOfMemoryException, ArgumentNullException
-
GetUnicodeBytes
public byte[] GetUnicodeBytes() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullException
-
CompareTo
public int CompareTo(SqlString value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlTypeException, NullReferenceException, NotSupportedException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, ExternalException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionSqlTypeExceptionNullReferenceExceptionNotSupportedExceptionInvalidOperationExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionExternalException
-
CompareTo
public int CompareTo(NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, SqlTypeException, ArgumentOutOfRangeException, NullReferenceException, NotSupportedException, CultureNotFoundException, OutOfMemoryException, ExternalException, IndexOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionSqlTypeExceptionArgumentOutOfRangeExceptionNullReferenceExceptionNotSupportedExceptionCultureNotFoundExceptionOutOfMemoryExceptionExternalExceptionIndexOutOfRangeException
-
Equals
public static SqlBoolean Equals(SqlString x, SqlString y) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlTypeException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentNullException, CultureNotFoundException, OutOfMemoryException, ExternalException
-
GreaterThan
public static SqlBoolean GreaterThan(SqlString x, SqlString y) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlTypeException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentNullException, CultureNotFoundException, OutOfMemoryException, ExternalException
-
GreaterThanOrEqual
public static SqlBoolean GreaterThanOrEqual(SqlString x, SqlString y) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlTypeException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentNullException, CultureNotFoundException, OutOfMemoryException, ExternalException
-
LessThan
public static SqlBoolean LessThan(SqlString x, SqlString y) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlTypeException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentNullException, CultureNotFoundException, OutOfMemoryException, ExternalException
-
LessThanOrEqual
public static SqlBoolean LessThanOrEqual(SqlString x, SqlString y) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlTypeException, ArgumentOutOfRangeException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentNullException, CultureNotFoundException, OutOfMemoryException, ExternalException
-
NotEquals
public static SqlBoolean NotEquals(SqlString x, SqlString y) throws java.lang.Throwable, ArgumentException, SqlTypeException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentNullException, InvalidOperationException, CultureNotFoundException, IndexOutOfRangeException
-
ToSqlBoolean
public SqlBoolean ToSqlBoolean() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, CultureNotFoundException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, FormatException, ArgumentNullException, NotSupportedException, OverflowException
-
ToSqlByte
public SqlByte ToSqlByte() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentNullException, PlatformNotSupportedException, NotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, OverflowException
-
ToSqlDateTime
public SqlDateTime ToSqlDateTime() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentNullException, PlatformNotSupportedException, NotSupportedException, CultureNotFoundException, IndexOutOfRangeException, TypeInitializationException, ArgumentOutOfRangeException, FormatException, SqlTypeException, OverflowException
- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionSqlNullValueExceptionArgumentNullExceptionPlatformNotSupportedExceptionNotSupportedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionTypeInitializationExceptionArgumentOutOfRangeExceptionFormatExceptionSqlTypeExceptionOverflowException
-
ToSqlDecimal
public SqlDecimal ToSqlDecimal() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, PlatformNotSupportedException, FormatException, IndexOutOfRangeException, OverflowException
-
ToSqlDouble
public SqlDouble ToSqlDouble() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentNullException, NotSupportedException, ArgumentOutOfRangeException, FormatException, PlatformNotSupportedException, OverflowException
-
ToSqlGuid
public SqlGuid ToSqlGuid() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, IndexOutOfRangeException, PlatformNotSupportedException, OverflowException, FormatException, ArrayTypeMismatchException
-
ToSqlInt16
public SqlInt16 ToSqlInt16() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentNullException, PlatformNotSupportedException, NotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, OverflowException
-
ToSqlInt32
public SqlInt32 ToSqlInt32() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentNullException, PlatformNotSupportedException, NotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, OverflowException
-
ToSqlInt64
public SqlInt64 ToSqlInt64() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentNullException, PlatformNotSupportedException, NotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, FormatException, OverflowException
-
ToSqlMoney
public SqlMoney ToSqlMoney() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, OverflowException, SqlTruncateException, DivideByZeroException
- Throws:
java.lang.ThrowableArgumentExceptionInvalidOperationExceptionSqlNullValueExceptionArgumentNullExceptionPlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionFormatExceptionOverflowExceptionSqlTruncateExceptionDivideByZeroException
-
ToSqlSingle
public SqlSingle ToSqlSingle() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentNullException, NotSupportedException, ArgumentOutOfRangeException, FormatException, PlatformNotSupportedException, OverflowException
-
Add
public static SqlString Add(SqlString x, SqlString y) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlTypeException, OutOfMemoryException
-
Clone
public SqlString Clone() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException
-
Concat
public static SqlString Concat(SqlString x, SqlString y) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlTypeException, OutOfMemoryException
-
CompareOptionsFromSqlCompareOptions
public static CompareOptions CompareOptionsFromSqlCompareOptions(SqlCompareOptions compareOptions) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, EventSourceException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionFormatExceptionEventSourceException
-
GetXsdType
public static XmlQualifiedName GetXsdType(XmlSchemaSet schemaSet) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getIsNull
public boolean getIsNull() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getLCID
public int getLCID() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlNullValueException
-
getSqlCompareOptions
public SqlCompareOptions getSqlCompareOptions() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlNullValueException
-
getCompareInfo
public CompareInfo getCompareInfo() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, NullReferenceException, ArgumentNullException, CultureNotFoundException, OutOfMemoryException, ExternalException, SqlNullValueException
- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionNullReferenceExceptionArgumentNullExceptionCultureNotFoundExceptionOutOfMemoryExceptionExternalExceptionSqlNullValueException
-
getCultureInfo
public CultureInfo getCultureInfo() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, NullReferenceException, CultureNotFoundException, OutOfMemoryException, ArgumentNullException, SqlNullValueException
- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionFormatExceptionNullReferenceExceptionCultureNotFoundExceptionOutOfMemoryExceptionArgumentNullExceptionSqlNullValueException
-
getValue
public java.lang.String getValue() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlNullValueException
-
-