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=8.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.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.SqlStringstatic JCType
classType
The 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=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.SqlString- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SqlString
public SqlString(java.lang.Object instance) throws java.lang.Throwable
Internal 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.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
CultureNotFoundException
OutOfMemoryException
ArgumentNullException
IndexOutOfRangeException
FormatException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
CultureNotFoundException
OutOfMemoryException
FormatException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
CultureNotFoundException
OutOfMemoryException
ArgumentNullException
IndexOutOfRangeException
FormatException
-
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.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
CultureNotFoundException
OutOfMemoryException
ArgumentNullException
IndexOutOfRangeException
FormatException
-
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, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
-
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 interfaceIXmlSerializable
- Overrides:
getJCOAssemblyName
in classValueType
- 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 interfaceIXmlSerializable
- Overrides:
getJCOClassName
in classValueType
- 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 interfaceIXmlSerializable
- Overrides:
getJCOObjectName
in classValueType
- 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 interfaceIXmlSerializable
- Overrides:
getJCOInstance
in classValueType
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classValueType
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceIXmlSerializable
- Overrides:
getJCOType
in classValueType
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static SqlString cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoSqlString
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
SqlString
instance- 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, ArgumentNullException, CultureNotFoundException, OutOfMemoryException, ExternalException, SqlNullValueException
-
GetNonUnicodeBytes
public byte[] GetNonUnicodeBytes() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, FormatException, CultureNotFoundException, OutOfMemoryException
-
GetUnicodeBytes
public byte[] GetUnicodeBytes() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ArgumentNullException
-
CompareTo
public int CompareTo(SqlString value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlTypeException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, ExternalException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
PlatformNotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
SqlTypeException
InvalidOperationException
OutOfMemoryException
IndexOutOfRangeException
RankException
ArrayTypeMismatchException
ExternalException
NotSupportedException
-
CompareTo
public int CompareTo(NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, SqlTypeException, ArgumentOutOfRangeException, CultureNotFoundException, OutOfMemoryException, ExternalException, NotSupportedException
-
Equals
public static SqlBoolean Equals(SqlString x, SqlString y) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlTypeException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, CultureNotFoundException, OutOfMemoryException, ExternalException
-
GreaterThan
public static SqlBoolean GreaterThan(SqlString x, SqlString y) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlTypeException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, CultureNotFoundException, OutOfMemoryException, ExternalException
-
GreaterThanOrEqual
public static SqlBoolean GreaterThanOrEqual(SqlString x, SqlString y) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlTypeException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, CultureNotFoundException, OutOfMemoryException, ExternalException
-
LessThan
public static SqlBoolean LessThan(SqlString x, SqlString y) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlTypeException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, CultureNotFoundException, OutOfMemoryException, ExternalException
-
LessThanOrEqual
public static SqlBoolean LessThanOrEqual(SqlString x, SqlString y) throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlTypeException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, CultureNotFoundException, OutOfMemoryException, ExternalException
-
NotEquals
public static SqlBoolean NotEquals(SqlString x, SqlString y) throws java.lang.Throwable, ArgumentException, SqlTypeException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, CultureNotFoundException, IndexOutOfRangeException
-
ToSqlBoolean
public SqlBoolean ToSqlBoolean() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, CultureNotFoundException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentOutOfRangeException, FormatException, ArgumentNullException, OverflowException
-
ToSqlByte
public SqlByte ToSqlByte() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, FormatException, OverflowException
-
ToSqlDateTime
public SqlDateTime ToSqlDateTime() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentNullException, PlatformNotSupportedException, CultureNotFoundException, IndexOutOfRangeException, OverflowException, TypeInitializationException, ArgumentOutOfRangeException, FormatException, SqlTypeException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
SqlNullValueException
ArgumentNullException
PlatformNotSupportedException
CultureNotFoundException
IndexOutOfRangeException
OverflowException
TypeInitializationException
ArgumentOutOfRangeException
FormatException
SqlTypeException
-
ToSqlDecimal
public SqlDecimal ToSqlDecimal() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, PlatformNotSupportedException, FormatException, ArgumentOutOfRangeException, IndexOutOfRangeException, OverflowException
-
ToSqlDouble
public SqlDouble ToSqlDouble() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, NotSupportedException, 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, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, FormatException, OverflowException
-
ToSqlInt32
public SqlInt32 ToSqlInt32() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, FormatException, OverflowException
-
ToSqlInt64
public SqlInt64 ToSqlInt64() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, NotSupportedException, FormatException, OverflowException
-
ToSqlMoney
public SqlMoney ToSqlMoney() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, OverflowException, NotSupportedException, SqlTruncateException, DivideByZeroException
-
ToSqlSingle
public SqlSingle ToSqlSingle() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, ArgumentNullException, ArgumentOutOfRangeException, PlatformNotSupportedException, FormatException, NotSupportedException, 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.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
PlatformNotSupportedException
ArrayTypeMismatchException
NotSupportedException
ObjectDisposedException
RankException
IndexOutOfRangeException
FormatException
EventSourceException
-
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, ArgumentNullException, PlatformNotSupportedException, FormatException, CultureNotFoundException, OutOfMemoryException, ExternalException, SqlNullValueException
-
getCultureInfo
public CultureInfo getCultureInfo() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, CultureNotFoundException, OutOfMemoryException, ArgumentNullException, SqlNullValueException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
IndexOutOfRangeException
FormatException
CultureNotFoundException
OutOfMemoryException
ArgumentNullException
SqlNullValueException
-
getValue
public java.lang.String getValue() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlNullValueException
-
-