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=9.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=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Data.Commonstatic java.lang.StringclassNameQualified class name: System.Data.SqlTypes.SqlGuidstatic 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 objectJCTypegetJCOType()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(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=9.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
-
-
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, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, 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, IndexOutOfRangeException, PlatformNotSupportedException, OverflowException, FormatException
-
-
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(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 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, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
- Throws:
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedException
-
ToByteArray
public byte[] ToByteArray() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArrayTypeMismatchException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, InvalidOperationException, FormatException
-
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
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedException
-
ToSqlBinary
public SqlBinary ToSqlBinary() throws java.lang.Throwable, ArrayTypeMismatchException, PlatformNotSupportedException, ArgumentException, IndexOutOfRangeException, ArgumentNullException, RankException, ArgumentOutOfRangeException, InvalidCastException
-
Equals
public static SqlBoolean Equals(SqlGuid x, SqlGuid y) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedException
-
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, PlatformNotSupportedException, NotSupportedException
- Throws:
java.lang.ThrowablePlatformNotSupportedExceptionNotSupportedException
-
Parse
public static SqlGuid Parse(java.lang.String s) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, OverflowException, FormatException
-
ToSqlString
public SqlString ToSqlString() throws java.lang.Throwable, CultureNotFoundException, PlatformNotSupportedException, 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
-
-