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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Datastatic 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, 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.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) throws java.lang.Throwable, ArgumentOutOfRangeException, CultureNotFoundException, ArgumentException, ArgumentNullException, NotSupportedException, IndexOutOfRangeException, FormatException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException
-
SqlString
public SqlString(int lcid, SqlCompareOptions compareOptions, byte[] data, boolean fUnicode) throws java.lang.Throwable, ArgumentOutOfRangeException, CultureNotFoundException, ArgumentException, ArgumentNullException, NotSupportedException, IndexOutOfRangeException, FormatException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException
-
SqlString
public SqlString(int lcid, SqlCompareOptions compareOptions, byte[] data, int index, int count) throws java.lang.Throwable, ArgumentOutOfRangeException, CultureNotFoundException, ArgumentException, ArgumentNullException, NotSupportedException, IndexOutOfRangeException, FormatException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException
-
SqlString
public SqlString(int lcid, SqlCompareOptions compareOptions, byte[] data, int index, int count, boolean fUnicode) throws java.lang.Throwable, ArgumentOutOfRangeException, CultureNotFoundException, ArgumentException, ArgumentNullException, NotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, InvalidOperationException
-
SqlString
public SqlString(java.lang.String data) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException
-
SqlString
public SqlString(java.lang.String data, int lcid) throws java.lang.Throwable, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
SqlString
public SqlString(java.lang.String data, int lcid, SqlCompareOptions compareOptions) throws java.lang.Throwable, ArgumentOutOfRangeException- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
-
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
-
GetNonUnicodeBytes
public byte[] GetNonUnicodeBytes() throws java.lang.Throwable, ArgumentOutOfRangeException, CultureNotFoundException, ArgumentException, ArgumentNullException, NotSupportedException, IndexOutOfRangeException, OutOfMemoryException, FormatException, InvalidOperationException
-
GetUnicodeBytes
public byte[] GetUnicodeBytes() throws java.lang.Throwable, ArgumentNullException- Throws:
java.lang.ThrowableArgumentNullException
-
CompareTo
public int CompareTo(SqlString value) throws java.lang.Throwable, SqlTypeException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, CultureNotFoundException, NotSupportedException, InvalidOperationException
-
CompareTo
public int CompareTo(NetObject value) throws java.lang.Throwable, SqlTypeException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, CultureNotFoundException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, FormatException
- Throws:
java.lang.ThrowableSqlTypeExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionArgumentExceptionArgumentNullExceptionIndexOutOfRangeExceptionObjectDisposedExceptionAbandonedMutexExceptionCultureNotFoundExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionMissingManifestResourceExceptionFormatException
-
Equals
public static SqlBoolean Equals(SqlString x, SqlString y) throws java.lang.Throwable, SqlTypeException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException
-
GreaterThan
public static SqlBoolean GreaterThan(SqlString x, SqlString y) throws java.lang.Throwable, SqlTypeException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException
-
GreaterThanOrEqual
public static SqlBoolean GreaterThanOrEqual(SqlString x, SqlString y) throws java.lang.Throwable, SqlTypeException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException
-
LessThan
public static SqlBoolean LessThan(SqlString x, SqlString y) throws java.lang.Throwable, SqlTypeException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException
-
LessThanOrEqual
public static SqlBoolean LessThanOrEqual(SqlString x, SqlString y) throws java.lang.Throwable, SqlTypeException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, ObjectDisposedException, CultureNotFoundException, InvalidOperationException
-
NotEquals
public static SqlBoolean NotEquals(SqlString x, SqlString y) throws java.lang.Throwable, SqlTypeException, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException
-
ToSqlBoolean
public SqlBoolean ToSqlBoolean() throws java.lang.Throwable, SqlNullValueException, ArgumentNullException, ArgumentException, CultureNotFoundException, ArgumentOutOfRangeException, NotSupportedException, FormatException, InvalidOperationException, OverflowException
-
ToSqlByte
public SqlByte ToSqlByte() throws java.lang.Throwable, SqlNullValueException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, OverflowException
-
ToSqlDateTime
public SqlDateTime ToSqlDateTime() throws java.lang.Throwable, SqlNullValueException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentException, CultureNotFoundException, NotSupportedException, OverflowException, FormatException, SqlTypeException
-
ToSqlDecimal
public SqlDecimal ToSqlDecimal() throws java.lang.Throwable, SqlNullValueException, ArgumentNullException, FormatException, OverflowException
- Throws:
java.lang.ThrowableSqlNullValueExceptionArgumentNullExceptionFormatExceptionOverflowException
-
ToSqlDouble
public SqlDouble ToSqlDouble() throws java.lang.Throwable, SqlNullValueException, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, NullReferenceException, FormatException, OverflowException
-
ToSqlGuid
public SqlGuid ToSqlGuid() throws java.lang.Throwable, SqlNullValueException, ArgumentNullException, FormatException, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.ThrowableSqlNullValueExceptionArgumentNullExceptionFormatExceptionArgumentOutOfRangeExceptionArgumentException
-
ToSqlInt16
public SqlInt16 ToSqlInt16() throws java.lang.Throwable, SqlNullValueException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, OverflowException
-
ToSqlInt32
public SqlInt32 ToSqlInt32() throws java.lang.Throwable, SqlNullValueException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, OverflowException
-
ToSqlInt64
public SqlInt64 ToSqlInt64() throws java.lang.Throwable, SqlNullValueException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, OverflowException
-
ToSqlMoney
public SqlMoney ToSqlMoney() throws java.lang.Throwable, SqlNullValueException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, OverflowException, SqlTruncateException, DivideByZeroException
-
ToSqlSingle
public SqlSingle ToSqlSingle() throws java.lang.Throwable, SqlNullValueException, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, NullReferenceException, FormatException, OverflowException
-
Add
public static SqlString Add(SqlString x, SqlString y) throws java.lang.Throwable, SqlTypeException, IndexOutOfRangeException, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableSqlTypeExceptionIndexOutOfRangeExceptionArgumentOutOfRangeException
-
Clone
public SqlString Clone() throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
Concat
public static SqlString Concat(SqlString x, SqlString y) throws java.lang.Throwable, SqlTypeException, IndexOutOfRangeException, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableSqlTypeExceptionIndexOutOfRangeExceptionArgumentOutOfRangeException
-
CompareOptionsFromSqlCompareOptions
public static CompareOptions CompareOptionsFromSqlCompareOptions(SqlCompareOptions compareOptions) throws java.lang.Throwable, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableArgumentOutOfRangeException
-
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, SqlNullValueException- Throws:
java.lang.ThrowableSqlNullValueException
-
getSqlCompareOptions
public SqlCompareOptions getSqlCompareOptions() throws java.lang.Throwable, SqlNullValueException
- Throws:
java.lang.ThrowableSqlNullValueException
-
getCompareInfo
public CompareInfo getCompareInfo() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, OutOfMemoryException, ArgumentException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, CultureNotFoundException, NotSupportedException, InvalidOperationException, SqlNullValueException
-
getCultureInfo
public CultureInfo getCultureInfo() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, OutOfMemoryException, ArgumentException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, CultureNotFoundException, NotSupportedException, InvalidOperationException, NullReferenceException, SqlNullValueException
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionOutOfMemoryExceptionArgumentExceptionIndexOutOfRangeExceptionObjectDisposedExceptionAbandonedMutexExceptionCultureNotFoundExceptionNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionSqlNullValueException
-
getValue
public java.lang.String getValue() throws java.lang.Throwable, SqlNullValueException- Throws:
java.lang.ThrowableSqlNullValueException
-
-