public class Guid extends ValueType
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Guid
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=10.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.Guid
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Guid() |
Guid(byte[] b) |
Guid(int a,
short b,
short c,
byte[] d) |
Guid(int a,
short b,
short c,
byte d,
byte e,
byte f,
byte g,
byte h,
byte i,
byte j,
byte k) |
Guid(java.lang.Object instance)
Internal constructor.
|
Guid(java.lang.String g) |
Guid(UInt32 a,
UInt16 b,
UInt16 c,
byte d,
byte e,
byte f,
byte g,
byte h,
byte i,
byte j,
byte k) |
| Modifier and Type | Method and Description |
|---|---|
static Guid |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Guid, a cast assert is made to check if types are compatible. |
int |
CompareTo(Guid value) |
int |
CompareTo(NetObject value) |
static Guid |
CreateVersion7() |
static Guid |
CreateVersion7(DateTimeOffset timestamp) |
boolean |
Equals(Guid g) |
static Guid |
getAllBitsSet() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
int |
getVariant() |
int |
getVersion() |
static Guid |
NewGuid() |
static Guid |
Parse(java.lang.String input) |
static Guid |
Parse(java.lang.String s,
IFormatProvider provider) |
static Guid |
ParseExact(java.lang.String input,
java.lang.String format) |
void |
setJCOInstance(JCObject instance) |
byte[] |
ToByteArray() |
byte[] |
ToByteArray(boolean bigEndian) |
java.lang.String |
ToString(java.lang.String format) |
java.lang.String |
ToString(java.lang.String format,
IFormatProvider provider) |
static boolean |
TryParse(java.lang.String s,
IFormatProvider provider,
JCORefOut<Guid> result) |
static boolean |
TryParse(java.lang.String input,
JCORefOut<Guid> result) |
static boolean |
TryParseExact(java.lang.String input,
java.lang.String format,
JCORefOut<Guid> result) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Guid()
throws java.lang.Throwable
java.lang.Throwablepublic Guid(byte[] b)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException
public Guid(int a,
short b,
short c,
byte[] d)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
public Guid(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
java.lang.Throwablepublic Guid(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic Guid(java.lang.String g)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
OverflowException,
FormatException
public static Guid cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Guid, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedGuid instancejava.lang.Throwable - in case of error during cast operationpublic int CompareTo(Guid value) throws java.lang.Throwable
java.lang.Throwablepublic int CompareTo(NetObject value) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, NotSupportedException, ArrayTypeMismatchException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
public static Guid CreateVersion7() throws java.lang.Throwable, ArgumentOutOfRangeException, NotSupportedException, ArgumentException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentNullException, InvalidOperationException, FormatException
public static Guid CreateVersion7(DateTimeOffset timestamp) throws java.lang.Throwable, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException, InvalidOperationException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
public boolean Equals(Guid g) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static Guid getAllBitsSet() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ValueTypeString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ValueTypeString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ValueTypeObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ValueTypeString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ValueTypeJCType representing the CLR Type of the instantiated Classpublic int getVariant()
throws java.lang.Throwable
java.lang.Throwablepublic int getVersion()
throws java.lang.Throwable
java.lang.Throwablepublic static Guid NewGuid() throws java.lang.Throwable
java.lang.Throwablepublic static Guid Parse(java.lang.String input) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OverflowException, FormatException
public static Guid Parse(java.lang.String s, IFormatProvider provider) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OverflowException, FormatException, ArrayTypeMismatchException
public static Guid ParseExact(java.lang.String input, java.lang.String format) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, FormatException, IndexOutOfRangeException, OverflowException
public void setJCOInstance(JCObject instance)
setJCOInstance in class ValueTypepublic byte[] ToByteArray()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
NotSupportedException,
FormatException,
ArgumentException
public byte[] ToByteArray(boolean bigEndian)
throws java.lang.Throwable,
PlatformNotSupportedException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
NotSupportedException,
FormatException,
ArgumentException
public java.lang.String ToString(java.lang.String format)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
FormatException
public java.lang.String ToString(java.lang.String format,
IFormatProvider provider)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NotSupportedException,
ArrayTypeMismatchException,
CultureNotFoundException,
ObjectDisposedException,
FormatException,
IndexOutOfRangeException
public static boolean TryParse(java.lang.String s,
IFormatProvider provider,
JCORefOut<Guid> result)
throws java.lang.Throwable,
NotSupportedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
OverflowException,
FormatException,
InvalidOperationException,
ArrayTypeMismatchException,
ArgumentException
public static boolean TryParse(java.lang.String input,
JCORefOut<Guid> result)
throws java.lang.Throwable,
NotSupportedException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentException,
ArgumentOutOfRangeException,
OverflowException,
FormatException,
InvalidOperationException,
ArrayTypeMismatchException
public static boolean TryParseExact(java.lang.String input,
java.lang.String format,
JCORefOut<Guid> result)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
OverflowException,
FormatException,
InvalidOperationException,
ArrayTypeMismatchException