Package system
Class Guid
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class Guid extends ValueType
The base .NET class managing System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Guid
Powered by JCOBridge: more info at https://www.jcobridge.com
- Version:
- 1.14.3.0
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static String
assemblyShortName
Assembly name: mscorlibstatic String
className
Qualified class name: System.Guidstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor 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(Object instance)
Internal constructor.Guid(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)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Guid
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoGuid
, a cast assert is made to check if types are compatible.int
CompareTo(NetObject value)
int
CompareTo(Guid value)
boolean
Equals(Guid g)
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 Typestatic Guid
NewGuid()
static Guid
Parse(String input)
static Guid
ParseExact(String input, String format)
void
setJCOInstance(JCObject instance)
byte[]
ToByteArray()
String
ToString(String format)
String
ToString(String format, IFormatProvider provider)
static boolean
TryParse(String input, JCORefOut<Guid> result)
static boolean
TryParseExact(String input, String format, JCORefOut<Guid> result)
-
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: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final String assemblyShortName
Assembly name: mscorlib- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Guid- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Guid
public Guid(Object instance) throws Throwable
Internal constructor. Use with caution- Throws:
Throwable
-
Guid
public Guid(byte[] b) throws Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException
-
Guid
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 Throwable
- Throws:
Throwable
-
Guid
public Guid(int a, short b, short c, byte[] d) throws Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException
-
Guid
public Guid(String g) throws Throwable, ArgumentNullException, FormatException, ArgumentException, CultureNotFoundException, ArgumentOutOfRangeException
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- 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
- 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
- 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
- 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
- Overrides:
getJCOType
in classValueType
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static Guid cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoGuid
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
Guid
instance- Throws:
Throwable
- in case of error during cast operation
-
TryParse
public static boolean TryParse(String input, JCORefOut<Guid> result) throws Throwable, ArgumentNullException, FormatException, ArgumentException, CultureNotFoundException, ArgumentOutOfRangeException
-
TryParseExact
public static boolean TryParseExact(String input, String format, JCORefOut<Guid> result) throws Throwable, ArgumentNullException, FormatException, ArgumentException, CultureNotFoundException, ArgumentOutOfRangeException
-
CompareTo
public int CompareTo(NetObject value) throws Throwable, ArgumentException
- Throws:
Throwable
ArgumentException
-
Parse
public static Guid Parse(String input) throws Throwable, ArgumentNullException, FormatException, ArgumentException, CultureNotFoundException, ArgumentOutOfRangeException
-
ParseExact
public static Guid ParseExact(String input, String format) throws Throwable, ArgumentNullException, FormatException, ArgumentException, CultureNotFoundException, ArgumentOutOfRangeException
-
ToString
public String ToString(String format) throws Throwable, FormatException
- Throws:
Throwable
FormatException
-
ToString
public String ToString(String format, IFormatProvider provider) throws Throwable, FormatException
- Throws:
Throwable
FormatException
-
-