com.novell.admin.ns.nds
Class ObjectFlags

java.lang.Object
  extended bycom.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
See Also:
Constant Field Values

DS_CONTAINER_ALIAS

public static final int DS_CONTAINER_ALIAS
See Also:
Constant Field Values

DS_CONTAINER_ENTRY

public static final int DS_CONTAINER_ENTRY
See Also:
Constant Field Values

DS_PARTITION_ROOT

public static final int DS_PARTITION_ROOT
See Also:
Constant Field Values
Constructor Detail

ObjectFlags

public ObjectFlags()
Method Detail

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.

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.

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-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated September 2 2004 0111.