com.jniwrapper.win32.com.types
Class GUID

java.lang.Object
  extended bycom.jniwrapper.Parameter
      extended bycom.jniwrapper.Structure
          extended bycom.jniwrapper.win32.com.types.GUID
All Implemented Interfaces:
AlignmentAwareParameter, CompositeParameter
Direct Known Subclasses:
CLSID, IID

public class GUID
extends Structure

A globally unique identifier supported by COM.


Field Summary
static GUID GUID_NULL
           
 
Fields inherited from class com.jniwrapper.Structure
f
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
GUID()
           
GUID(GUID src)
           
GUID(int d1, short d2, short d3, byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7, byte b8)
          Creates a GUID by specified bytes.
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object o)
           
 long getData1()
           
 int getData2()
           
 int getData3()
           
 PrimitiveArray getData4()
           
protected static Function getOleFunction(java.lang.String functionName)
           
 int hashCode()
           
 void setData1(long value)
           
 void setData2(int value)
           
 void setData3(int value)
           
 void setData4(PrimitiveArray value)
           
static GUID string2GUID(java.lang.String guidString)
          Utility function that converts string presentation of a GUID to the GUID.
 java.lang.String toString()
           
 
Methods inherited from class com.jniwrapper.Structure
a, a, acceptIOPerformer, addMembers, computeLength, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write
 
Methods inherited from class com.jniwrapper.Parameter
, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getDataBuffer, getDataBufferOffset, indent, read, read, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

GUID_NULL

public static final GUID GUID_NULL
Constructor Detail

GUID

public GUID()

GUID

public GUID(int d1,
            short d2,
            short d3,
            byte b1,
            byte b2,
            byte b3,
            byte b4,
            byte b5,
            byte b6,
            byte b7,
            byte b8)
Creates a GUID by specified bytes.


GUID

public GUID(GUID src)
Method Detail

string2GUID

public static GUID string2GUID(java.lang.String guidString)
Utility function that converts string presentation of a GUID to the GUID.

Parameters:
guidString - - string presentation of GUID in the following format: {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}
Returns:
GUID

clone

public java.lang.Object clone()

getData1

public long getData1()

setData1

public void setData1(long value)

getData2

public int getData2()

setData2

public void setData2(int value)

getData3

public int getData3()

setData3

public void setData3(int value)

getData4

public PrimitiveArray getData4()

setData4

public void setData4(PrimitiveArray value)

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

getOleFunction

protected static Function getOleFunction(java.lang.String functionName)