com.novell.admin.ns.nds
Class ObjectFlags

java.lang.Object
  |
  +--com.novell.admin.ns.nds.ObjectFlags

public final class ObjectFlags
extends java.lang.Object

This class represents the flags for an NDS object.


Field Summary
static int DS_ALIAS_ENTRY
           
static int DS_CONTAINER_ALIAS
           
static int DS_CONTAINER_ENTRY
           
static int DS_PARTITION_ROOT
           
 
Constructor Summary
ObjectFlags()
           
 
Method Summary
static boolean isAlias(long objectFlags)
          Tests flags to see if the alias bit is set.
static boolean isContainer(long objectFlags)
          Tests flags to see if the container bit is set.
static boolean isPartition(long objectFlags)
          Tests flags to see if the partition bit is set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DS_ALIAS_ENTRY

public static final int DS_ALIAS_ENTRY

DS_PARTITION_ROOT

public static final int DS_PARTITION_ROOT

DS_CONTAINER_ENTRY

public static final int DS_CONTAINER_ENTRY

DS_CONTAINER_ALIAS

public static final int DS_CONTAINER_ALIAS
Constructor Detail

ObjectFlags

public ObjectFlags()
Method Detail

isContainer

public static boolean isContainer(long objectFlags)
Tests flags to see if the container bit is set.
Parameters:
objectFlags - The flags.
Returns:
True if the container bit is set, false otherwise.

isAlias

public static boolean isAlias(long objectFlags)
Tests flags to see if the alias bit is set.
Parameters:
objectFlags - The flags.
Returns:
True if the alias bit is set, false otherwise.

isPartition

public static boolean isPartition(long objectFlags)
Tests flags to see if the partition bit is set.
Parameters:
objectFlags - The flags.
Returns:
True if the partition bit is set, false otherwise.


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.