Package system.data.sqltypes
Class SqlGuid
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.ValueType
-
- system.data.sqltypes.SqlGuid
-
- All Implemented Interfaces:
IJCOBridgeReflected,ISerializable,IXmlSerializable
public class SqlGuid extends ValueType implements ISerializable, IXmlSerializable
The base .NET class managing System.Data.SqlTypes.SqlGuid, System.Data.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.SqlTypes.SqlGuid
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=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Data.Commonstatic java.lang.StringclassNameQualified class name: System.Data.SqlTypes.SqlGuidstatic org.mases.jcobridge.JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqlGuidcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoSqlGuid, a cast assert is made to check if types are compatible.intCompareTo(NetObject value)intCompareTo(SqlGuid value)booleanEquals(SqlGuid other)static SqlBooleanEquals(SqlGuid x, SqlGuid y)booleangetIsNull()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectorg.mases.jcobridge.JCTypegetJCOType()Returns the instantiated class TypeGuidgetValue()static XmlQualifiedNameGetXsdType(XmlSchemaSet schemaSet)static SqlBooleanGreaterThan(SqlGuid x, SqlGuid y)static SqlBooleanGreaterThanOrEqual(SqlGuid x, SqlGuid y)static SqlBooleanLessThan(SqlGuid x, SqlGuid y)static SqlBooleanLessThanOrEqual(SqlGuid x, SqlGuid y)static SqlBooleanNotEquals(SqlGuid x, SqlGuid y)static SqlGuidParse(java.lang.String s)voidsetJCOInstance(org.mases.jcobridge.JCObject instance)byte[]ToByteArray()SqlBinaryToSqlBinary()SqlStringToSqlString()-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.runtime.serialization.ISerializable
GetObjectData
-
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=10.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.SqlGuid- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Constructor Detail
-
SqlGuid
public SqlGuid(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
SqlGuid
public SqlGuid() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
SqlGuid
public SqlGuid(byte[] value) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException
-
SqlGuid
public SqlGuid(int a, short b, short c, byte d, byte e, byte f, byte g, byte h, byte i, byte j, byte k) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
SqlGuid
public SqlGuid(Guid g) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SqlGuid
public SqlGuid(java.lang.String s) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OverflowException, FormatException, ArrayTypeMismatchException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
getJCOAssemblyNamein interfaceISerializable- 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 interfaceISerializable- 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 interfaceISerializable- 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 interfaceISerializable- Specified by:
getJCOInstancein interfaceIXmlSerializable- Overrides:
getJCOInstancein classValueType- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstancein classValueType
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Specified by:
getJCOTypein interfaceISerializable- Specified by:
getJCOTypein interfaceIXmlSerializable- Overrides:
getJCOTypein classValueType- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static SqlGuid cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoSqlGuid, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
SqlGuidinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Equals
public boolean Equals(SqlGuid other) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedException
-
ToByteArray
public byte[] ToByteArray() throws java.lang.Throwable, PlatformNotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, FormatException, ArgumentException
-
CompareTo
public int CompareTo(SqlGuid value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException
-
CompareTo
public int CompareTo(NetObject value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionArgumentOutOfRangeException
-
ToSqlBinary
public SqlBinary ToSqlBinary() throws java.lang.Throwable, PlatformNotSupportedException, ArrayTypeMismatchException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, NotSupportedException, InvalidCastException
-
Equals
public static SqlBoolean Equals(SqlGuid x, SqlGuid y) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedException
-
GreaterThan
public static SqlBoolean GreaterThan(SqlGuid x, SqlGuid y) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException
-
GreaterThanOrEqual
public static SqlBoolean GreaterThanOrEqual(SqlGuid x, SqlGuid y) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException
-
LessThan
public static SqlBoolean LessThan(SqlGuid x, SqlGuid y) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException
-
LessThanOrEqual
public static SqlBoolean LessThanOrEqual(SqlGuid x, SqlGuid y) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException
-
NotEquals
public static SqlBoolean NotEquals(SqlGuid x, SqlGuid y) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
- Throws:
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedException
-
Parse
public static SqlGuid Parse(java.lang.String s) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, OverflowException, FormatException, ArrayTypeMismatchException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionObjectDisposedExceptionIndexOutOfRangeExceptionOverflowExceptionFormatExceptionArrayTypeMismatchException
-
ToSqlString
public SqlString ToSqlString() throws java.lang.Throwable, PlatformNotSupportedException, CultureNotFoundException, NullReferenceException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException
-
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 Guid getValue() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, SqlNullValueException
-
-