com.novell.admin.ns.nds
Class NDSClassFlags

java.lang.Object
  extended bycom.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

AMBIGUOUS_CONTAINMENT

public static final int AMBIGUOUS_CONTAINMENT
See Also:
Constant Field Values

AMBIGUOUS_NAMING

public static final int AMBIGUOUS_NAMING
See Also:
Constant Field Values

AUXILARY_CLASS

public static final int AUXILARY_CLASS
See Also:
Constant Field Values

CONTAINER_CLASS

public static final int CONTAINER_CLASS
See Also:
Constant Field Values

EFFECTIVE_CLASS

public static final int EFFECTIVE_CLASS
See Also:
Constant Field Values

NONREMOVABLE_CLASS

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

NDSClassFlags

public NDSClassFlags(int flags)
Constructor.

Parameters:
flags - The value of the object class flags.
Method Detail

clone

public java.lang.Object clone()
Returns a copy of this object.

Returns:
A copy of this object.

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.

getFlags

public int getFlags()
Returns the object class flags.

Returns:
The object class flags.

getStrings

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

Returns:
A list of strings representing the flags that are set.

isFlagSet

public boolean isFlagSet(int flagId)
Determines if a specific flag is set.

Parameters:
flagId - The object class flag to check.
Returns:
True if flag is set, otherwise false.


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.