Package system.data.sqltypes
Class SqlByte
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.ValueType
-
- system.data.sqltypes.SqlByte
-
- All Implemented Interfaces:
IJCOBridgeReflected
,IXmlSerializable
public class SqlByte extends ValueType implements IXmlSerializable
The base .NET class managing System.Data.SqlTypes.SqlByte, 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.SqlByte
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.SqlBytestatic JCType
classType
The type managed from JCOBridge.
-
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.SqlByte- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SqlByte
public SqlByte(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
SqlByte
public SqlByte() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SqlByte
public SqlByte(byte value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-
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 SqlByte cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoSqlByte
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
SqlByte
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Equals
public boolean Equals(SqlByte other) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, SqlNullValueException
-
CompareTo
public int CompareTo(SqlByte value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CompareTo
public int CompareTo(NetObject value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
-
Equals
public static SqlBoolean Equals(SqlByte x, SqlByte y) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GreaterThan
public static SqlBoolean GreaterThan(SqlByte x, SqlByte y) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GreaterThanOrEqual
public static SqlBoolean GreaterThanOrEqual(SqlByte x, SqlByte y) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
LessThan
public static SqlBoolean LessThan(SqlByte x, SqlByte y) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
LessThanOrEqual
public static SqlBoolean LessThanOrEqual(SqlByte x, SqlByte y) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
NotEquals
public static SqlBoolean NotEquals(SqlByte x, SqlByte y) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToSqlBoolean
public SqlBoolean ToSqlBoolean() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
SqlNullValueException
-
Add
public static SqlByte Add(SqlByte x, SqlByte y) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, OverflowException
-
BitwiseAnd
public static SqlByte BitwiseAnd(SqlByte x, SqlByte y) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
BitwiseOr
public static SqlByte BitwiseOr(SqlByte x, SqlByte y) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Divide
public static SqlByte Divide(SqlByte x, SqlByte y) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, DivideByZeroException
-
Mod
public static SqlByte Mod(SqlByte x, SqlByte y) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, DivideByZeroException
-
Modulus
public static SqlByte Modulus(SqlByte x, SqlByte y) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, DivideByZeroException
-
Multiply
public static SqlByte Multiply(SqlByte x, SqlByte y) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, OverflowException
-
OnesComplement
public static SqlByte OnesComplement(SqlByte x) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Parse
public static SqlByte Parse(java.lang.String s) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, IndexOutOfRangeException, NotSupportedException, FormatException, OverflowException
-
Subtract
public static SqlByte Subtract(SqlByte x, SqlByte y) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, OverflowException
-
Xor
public static SqlByte Xor(SqlByte x, SqlByte y) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToSqlDecimal
public SqlDecimal ToSqlDecimal() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
SqlNullValueException
-
ToSqlDouble
public SqlDouble ToSqlDouble() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, NotSupportedException, PlatformNotSupportedException, OverflowException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
SqlNullValueException
NotSupportedException
PlatformNotSupportedException
OverflowException
-
ToSqlInt16
public SqlInt16 ToSqlInt16() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
SqlNullValueException
-
ToSqlInt32
public SqlInt32 ToSqlInt32() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
SqlNullValueException
-
ToSqlInt64
public SqlInt64 ToSqlInt64() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
SqlNullValueException
-
ToSqlMoney
public SqlMoney ToSqlMoney() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
SqlNullValueException
-
ToSqlSingle
public SqlSingle ToSqlSingle() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, NotSupportedException, PlatformNotSupportedException, OverflowException
- Throws:
java.lang.Throwable
ArgumentException
InvalidOperationException
SqlNullValueException
NotSupportedException
PlatformNotSupportedException
OverflowException
-
ToSqlString
public SqlString ToSqlString() throws java.lang.Throwable, ArgumentException, InvalidOperationException, SqlNullValueException, NotSupportedException, PlatformNotSupportedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException
-
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
-
getValue
public byte getValue() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlNullValueException
-
-