com.novell.admin.ns.ldap
Class LDAPClassFlags

java.lang.Object
  extended bycom.novell.admin.ns.ldap.LDAPClassFlags
All Implemented Interfaces:
java.lang.Cloneable

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

Keeps track of the LDAP schema class flag information.


Field Summary
static int AUXILIARY_CLASS
           
static int CONTAINER_CLASS
           
static int EFFECTIVE_CLASS
           
static int NONREMOVABLE_CLASS
           
 
Constructor Summary
LDAPClassFlags(int flags)
          Constructor.
 
Method Summary
 void clearFlag(int flagId)
          Clears a specific flag.
 java.lang.Object clone()
          Clones this object.
 boolean equals(java.lang.Object obj)
          Check for equality.
 int getFlags()
          Get the flags.
 boolean isFlagSet(int flagId)
          Checks if a specific flag is set.
 void setFlag(int flagId)
          Sets a specific flag.
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUXILIARY_CLASS

public static final int AUXILIARY_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

LDAPClassFlags

public LDAPClassFlags(int flags)
Constructor.

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

clearFlag

public void clearFlag(int flagId)
Clears a specific flag.

Parameters:
flagId - specific flag to clear.

clone

public java.lang.Object clone()
Clones this object.

Returns:
a copy of this object.

equals

public boolean equals(java.lang.Object obj)
Check for equality.

Parameters:
obj - Another LDAPClassFlags object.
Returns:
true if equal, false otherwise.

getFlags

public int getFlags()
Get the flags.

Returns:
flags as an integer bitmask.

isFlagSet

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

Parameters:
flagId - specific flag to check.
Returns:
true if flag is set, otherwise false.

setFlag

public void setFlag(int flagId)
Sets a specific flag.

Parameters:
flagId - specific flag to set.


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.