com.jniwrapper.win32.security
Class LuidAndAttributes

java.lang.Object
  extended by com.jniwrapper.Parameter
      extended by com.jniwrapper.Structure
          extended by com.jniwrapper.win32.security.LuidAndAttributes
All Implemented Interfaces:
com.jniwrapper.AlignmentAwareParameter, com.jniwrapper.CompositeParameter

public class LuidAndAttributes
extends com.jniwrapper.Structure

This structure represents a locally unique identifier and its attributes and corresponds to the native LUID_AND_ATTRIBUTES structure. LUID_AND_ATTRIBUTES in MSDN Library .


Field Summary
 
Fields inherited from class com.jniwrapper.Structure
i
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
LuidAndAttributes()
          Creates instance of the Luid that represents 64-bit value guaranteed to be unique only on the system on which it was generated.
 
Method Summary
 java.lang.Object clone()
          Creates copy of this instance.
 int getAttributes()
          Returns the attributes.
 Luid getLuid()
          Returns locally unique identifier.
 void setAttributes(int attributes)
          Sets the attributes.
 
Methods inherited from class com.jniwrapper.Structure
a, a, acceptIOPerformer, addMembers, computeLength, equals, 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, hashCode, indent, read, read, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuidAndAttributes

public LuidAndAttributes()
Creates instance of the Luid that represents 64-bit value guaranteed to be unique only on the system on which it was generated. The uniqueness of a locally unique identifier (LUID) is guaranteed only until the system is restarted.

Method Detail

getLuid

public Luid getLuid()
Returns locally unique identifier.

Returns:
Locally unique identifier.

getAttributes

public int getAttributes()
Returns the attributes.

Returns:
The attributes.

setAttributes

public void setAttributes(int attributes)
Sets the attributes.

Parameters:
attributes - The attributes.

clone

public java.lang.Object clone()
Creates copy of this instance.

Overrides:
clone in class com.jniwrapper.Structure
Returns:
The copy of this instance.