com.novell.admin.ns.nds
Class NDSClassFlags

java.lang.Object
  |
  +--com.novell.admin.ns.nds.NDSClassFlags
All Implemented Interfaces:
java.lang.Cloneable

public final class NDSClassFlags
extends java.lang.Object
implements java.lang.Cloneable

Maintains information about the NDS schema class flags.


Field Summary
static int AMBIGUOUS_CONTAINMENT
           
static int AMBIGUOUS_NAMING
           
static int AUXILARY_CLASS
           
static int CONTAINER_CLASS
           
static int EFFECTIVE_CLASS
           
static int NONREMOVABLE_CLASS
           
 
Constructor Summary
NDSClassFlags(int flags)
          Constructor.
 
Method Summary
 java.lang.Object clone()
          Returns a copy of this object.
 boolean equals(java.lang.Object obj)
          Determines if the current NDSClassFlags object is equivalent to another.
 int getFlags()
          Returns the object class flags.
 java.lang.String[] getStrings()
          Returns a list of strings based on the bit fields set in flags.
 boolean isFlagSet(int flagId)
          Determines if a specific flag is set.
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTAINER_CLASS

public static final int CONTAINER_CLASS

EFFECTIVE_CLASS

public static final int EFFECTIVE_CLASS

NONREMOVABLE_CLASS

public static final int NONREMOVABLE_CLASS

AMBIGUOUS_NAMING

public static final int AMBIGUOUS_NAMING

AMBIGUOUS_CONTAINMENT

public static final int AMBIGUOUS_CONTAINMENT

AUXILARY_CLASS

public static final int AUXILARY_CLASS
Constructor Detail

NDSClassFlags

public NDSClassFlags(int flags)
Constructor.
Parameters:
flags - The value of the object class flags.
Method Detail

getFlags

public int getFlags()
Returns the object class flags.
Returns:
The object class flags.

isFlagSet

public boolean isFlagSet(int flagId)
Determines if a specific flag is set.
Parameters:
flagId - The object class flag to check.

equals

public boolean equals(java.lang.Object obj)
Determines if the current NDSClassFlags object is equivalent to another.
Parameters:
obj - The other NDSClassFlags object.
Returns:
True if equal, false otherwise.
Overrides:
equals in class java.lang.Object

clone

public java.lang.Object clone()
Returns a copy of this object.
Overrides:
clone in class java.lang.Object

getStrings

public java.lang.String[] getStrings()
Returns a list of strings based on the bit fields set in flags.


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated December 17 2003 1746.