net.handle.hdllib
Class AdminRecord

java.lang.Object
  extended by net.handle.hdllib.AdminRecord

public class AdminRecord
extends java.lang.Object


Field Summary
static int ADD_ADMIN
           
static int ADD_DERIVED_PREFIX
           
static int ADD_HANDLE
           
static int ADD_NAMING_AUTH
          Deprecated. 
static int ADD_VALUE
           
 byte[] adminId
           
 int adminIdIndex
           
static int DELETE_DERIVED_PREFIX
           
static int DELETE_HANDLE
           
static int DELETE_NAMING_AUTH
          Deprecated. 
 boolean legacyByteLength
          Version 7.3 and earlier had two extra zero bytes at the end of the representation
static int LIST_HANDLES
           
static int MODIFY_ADMIN
           
static int MODIFY_VALUE
           
 boolean[] perms
           
static boolean PRM_ADD_ADMIN
           
static boolean PRM_ADD_HANDLE
           
static boolean PRM_ADD_NA
           
static boolean PRM_ADD_VALUE
           
static boolean PRM_DELETE_HANDLE
           
static boolean PRM_DELETE_NA
           
static boolean PRM_LIST_HANDLES
           
static boolean PRM_MODIFY_ADMIN
           
static boolean PRM_MODIFY_VALUE
           
static boolean PRM_NO_ADD_ADMIN
           
static boolean PRM_NO_ADD_HANDLE
           
static boolean PRM_NO_ADD_NA
           
static boolean PRM_NO_ADD_VALUE
           
static boolean PRM_NO_DELETE_HANDLE
           
static boolean PRM_NO_DELETE_NA
           
static boolean PRM_NO_LIST_HANDLES
           
static boolean PRM_NO_MODIFY_ADMIN
           
static boolean PRM_NO_MODIFY_VALUE
           
static boolean PRM_NO_READ_VALUE
           
static boolean PRM_NO_REMOVE_ADMIN
           
static boolean PRM_NO_REMOVE_VALUE
           
static boolean PRM_READ_VALUE
           
static boolean PRM_REMOVE_ADMIN
           
static boolean PRM_REMOVE_VALUE
           
static int READ_VALUE
           
static int REMOVE_ADMIN
           
static int REMOVE_VALUE
           
 
Constructor Summary
AdminRecord()
          Null constructor
AdminRecord(byte[] adminId, int adminIdIndex, boolean addHandle, boolean deleteHandle, boolean addNA, boolean deleteNA, boolean modifyValue, boolean removeValue, boolean addValue, boolean modifyAdmin, boolean removeAdmin, boolean addAdmin, boolean readValue, boolean listHandles)
          Constructor
 
Method Summary
 java.lang.String toString()
          String representation of object (Admin's handle, index, and permissions)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

adminId

public byte[] adminId

adminIdIndex

public int adminIdIndex

ADD_HANDLE

public static final int ADD_HANDLE
See Also:
Constant Field Values

DELETE_HANDLE

public static final int DELETE_HANDLE
See Also:
Constant Field Values

ADD_DERIVED_PREFIX

public static final int ADD_DERIVED_PREFIX
See Also:
Constant Field Values

DELETE_DERIVED_PREFIX

public static final int DELETE_DERIVED_PREFIX
See Also:
Constant Field Values

MODIFY_VALUE

public static final int MODIFY_VALUE
See Also:
Constant Field Values

REMOVE_VALUE

public static final int REMOVE_VALUE
See Also:
Constant Field Values

ADD_VALUE

public static final int ADD_VALUE
See Also:
Constant Field Values

MODIFY_ADMIN

public static final int MODIFY_ADMIN
See Also:
Constant Field Values

REMOVE_ADMIN

public static final int REMOVE_ADMIN
See Also:
Constant Field Values

ADD_ADMIN

public static final int ADD_ADMIN
See Also:
Constant Field Values

READ_VALUE

public static final int READ_VALUE
See Also:
Constant Field Values

LIST_HANDLES

public static final int LIST_HANDLES
See Also:
Constant Field Values

ADD_NAMING_AUTH

@Deprecated
public static final int ADD_NAMING_AUTH
Deprecated. 
See Also:
Constant Field Values

DELETE_NAMING_AUTH

@Deprecated
public static final int DELETE_NAMING_AUTH
Deprecated. 
See Also:
Constant Field Values

PRM_ADD_HANDLE

public static final boolean PRM_ADD_HANDLE
See Also:
Constant Field Values

PRM_NO_ADD_HANDLE

public static final boolean PRM_NO_ADD_HANDLE
See Also:
Constant Field Values

PRM_DELETE_HANDLE

public static final boolean PRM_DELETE_HANDLE
See Also:
Constant Field Values

PRM_NO_DELETE_HANDLE

public static final boolean PRM_NO_DELETE_HANDLE
See Also:
Constant Field Values

PRM_ADD_NA

public static final boolean PRM_ADD_NA
See Also:
Constant Field Values

PRM_NO_ADD_NA

public static final boolean PRM_NO_ADD_NA
See Also:
Constant Field Values

PRM_DELETE_NA

public static final boolean PRM_DELETE_NA
See Also:
Constant Field Values

PRM_NO_DELETE_NA

public static final boolean PRM_NO_DELETE_NA
See Also:
Constant Field Values

PRM_READ_VALUE

public static final boolean PRM_READ_VALUE
See Also:
Constant Field Values

PRM_NO_READ_VALUE

public static final boolean PRM_NO_READ_VALUE
See Also:
Constant Field Values

PRM_MODIFY_VALUE

public static final boolean PRM_MODIFY_VALUE
See Also:
Constant Field Values

PRM_NO_MODIFY_VALUE

public static final boolean PRM_NO_MODIFY_VALUE
See Also:
Constant Field Values

PRM_REMOVE_VALUE

public static final boolean PRM_REMOVE_VALUE
See Also:
Constant Field Values

PRM_NO_REMOVE_VALUE

public static final boolean PRM_NO_REMOVE_VALUE
See Also:
Constant Field Values

PRM_ADD_VALUE

public static final boolean PRM_ADD_VALUE
See Also:
Constant Field Values

PRM_NO_ADD_VALUE

public static final boolean PRM_NO_ADD_VALUE
See Also:
Constant Field Values

PRM_MODIFY_ADMIN

public static final boolean PRM_MODIFY_ADMIN
See Also:
Constant Field Values

PRM_NO_MODIFY_ADMIN

public static final boolean PRM_NO_MODIFY_ADMIN
See Also:
Constant Field Values

PRM_REMOVE_ADMIN

public static final boolean PRM_REMOVE_ADMIN
See Also:
Constant Field Values

PRM_NO_REMOVE_ADMIN

public static final boolean PRM_NO_REMOVE_ADMIN
See Also:
Constant Field Values

PRM_ADD_ADMIN

public static final boolean PRM_ADD_ADMIN
See Also:
Constant Field Values

PRM_NO_ADD_ADMIN

public static final boolean PRM_NO_ADD_ADMIN
See Also:
Constant Field Values

PRM_LIST_HANDLES

public static final boolean PRM_LIST_HANDLES
See Also:
Constant Field Values

PRM_NO_LIST_HANDLES

public static final boolean PRM_NO_LIST_HANDLES
See Also:
Constant Field Values

perms

public boolean[] perms

legacyByteLength

public boolean legacyByteLength
Version 7.3 and earlier had two extra zero bytes at the end of the representation

Constructor Detail

AdminRecord

public AdminRecord()
Null constructor


AdminRecord

public AdminRecord(byte[] adminId,
                   int adminIdIndex,
                   boolean addHandle,
                   boolean deleteHandle,
                   boolean addNA,
                   boolean deleteNA,
                   boolean modifyValue,
                   boolean removeValue,
                   boolean addValue,
                   boolean modifyAdmin,
                   boolean removeAdmin,
                   boolean addAdmin,
                   boolean readValue,
                   boolean listHandles)
Constructor

Method Detail

toString

public java.lang.String toString()
String representation of object (Admin's handle, index, and permissions)

Overrides:
toString in class java.lang.Object