Package system.data.sqltypes
Class SqlBinary
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.ValueType
-
- system.data.sqltypes.SqlBinary
-
- All Implemented Interfaces:
IJCOBridgeReflected
,IXmlSerializable
public class SqlBinary extends ValueType implements IXmlSerializable
The base .NET class managing System.Data.SqlTypes.SqlBinary, System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.See: https://docs.microsoft.com/en-us/dotnet/api/System.Data.SqlTypes.SqlBinary
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic String
assemblyShortName
Assembly name: System.Data.Commonstatic String
className
Qualified class name: System.Data.SqlTypes.SqlBinarystatic JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SqlBinary
Add(SqlBinary x, SqlBinary y)
static SqlBinary
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoSqlBinary
, a cast assert is made to check if types are compatible.int
CompareTo(NetObject value)
int
CompareTo(SqlBinary value)
static SqlBinary
Concat(SqlBinary x, SqlBinary y)
static SqlBoolean
Equals(SqlBinary x, SqlBinary y)
boolean
getIsNull()
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typeint
getLength()
XmlSchema
GetSchema()
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.byte[]
getValue()
static XmlQualifiedName
GetXsdType(XmlSchemaSet schemaSet)
static SqlBoolean
GreaterThan(SqlBinary x, SqlBinary y)
static SqlBoolean
GreaterThanOrEqual(SqlBinary x, SqlBinary y)
static SqlBoolean
LessThan(SqlBinary x, SqlBinary y)
static SqlBoolean
LessThanOrEqual(SqlBinary x, SqlBinary y)
static SqlBoolean
NotEquals(SqlBinary x, SqlBinary y)
void
ReadXml(XmlReader reader)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.void
setJCOInstance(JCObject instance)
SqlGuid
ToSqlGuid()
void
WriteXml(XmlWriter writer)
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface.-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final String assemblyFullName
Fully assembly qualified name: System.Data.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: System.Data.Common- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Data.SqlTypes.SqlBinary- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SqlBinary
public SqlBinary(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
SqlBinary
public SqlBinary(byte[] value) throws Throwable, PlatformNotSupportedException, ArgumentException, IndexOutOfRangeException, ArgumentNullException, RankException, ArgumentOutOfRangeException, ArrayTypeMismatchException
-
-
Method Detail
-
getJCOAssemblyName
public 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 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 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 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 SqlBinary cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoSqlBinary
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
SqlBinary
instance- Throws:
Throwable
- in case of error during cast operation
-
CompareTo
public int CompareTo(SqlBinary value) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, SqlNullValueException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentOutOfRangeException, ArrayTypeMismatchException
-
CompareTo
public int CompareTo(NetObject value) throws Throwable, ArgumentNullException, ArgumentException, SqlNullValueException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentOutOfRangeException, ArrayTypeMismatchException, InvalidOperationException
-
Add
public static SqlBinary Add(SqlBinary x, SqlBinary y) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, SqlNullValueException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentOutOfRangeException, ArrayTypeMismatchException
-
Concat
public static SqlBinary Concat(SqlBinary x, SqlBinary y) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, SqlNullValueException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentOutOfRangeException, ArrayTypeMismatchException
-
Equals
public static SqlBoolean Equals(SqlBinary x, SqlBinary y) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, SqlNullValueException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentOutOfRangeException, ArrayTypeMismatchException
-
GreaterThan
public static SqlBoolean GreaterThan(SqlBinary x, SqlBinary y) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, SqlNullValueException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentOutOfRangeException, ArrayTypeMismatchException
-
GreaterThanOrEqual
public static SqlBoolean GreaterThanOrEqual(SqlBinary x, SqlBinary y) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, SqlNullValueException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentOutOfRangeException, ArrayTypeMismatchException
-
LessThan
public static SqlBoolean LessThan(SqlBinary x, SqlBinary y) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, SqlNullValueException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentOutOfRangeException, ArrayTypeMismatchException
-
LessThanOrEqual
public static SqlBoolean LessThanOrEqual(SqlBinary x, SqlBinary y) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, SqlNullValueException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentOutOfRangeException, ArrayTypeMismatchException
-
NotEquals
public static SqlBoolean NotEquals(SqlBinary x, SqlBinary y) throws Throwable, ArgumentNullException, ArgumentException, SqlNullValueException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentOutOfRangeException, ArrayTypeMismatchException
-
ToSqlGuid
public SqlGuid ToSqlGuid() throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, SqlNullValueException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentOutOfRangeException, ArrayTypeMismatchException
-
GetXsdType
public static XmlQualifiedName GetXsdType(XmlSchemaSet schemaSet) throws Throwable
- Throws:
Throwable
-
GetSchema
@Deprecated public XmlSchema GetSchema() throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIXmlSerializable method available in IXmlSerializable to obtain an object with an invocable method- Specified by:
GetSchema
in interfaceIXmlSerializable
- Throws:
Throwable
-
ReadXml
@Deprecated public void ReadXml(XmlReader reader) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIXmlSerializable method available in IXmlSerializable to obtain an object with an invocable method- Specified by:
ReadXml
in interfaceIXmlSerializable
- Throws:
Throwable
-
WriteXml
@Deprecated public void WriteXml(XmlWriter writer) throws Throwable
Deprecated.Not for public use because the method is implemented in .NET with an explicit interface. Use the static ToIXmlSerializable method available in IXmlSerializable to obtain an object with an invocable method- Specified by:
WriteXml
in interfaceIXmlSerializable
- Throws:
Throwable
-
getValue
public byte[] getValue() throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, SqlNullValueException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentOutOfRangeException, ArrayTypeMismatchException
-
getLength
public int getLength() throws Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, SqlNullValueException
-
-