com.novell.admin.ns.nds
Class NDSAttributeFlags
java.lang.Object
|
+--com.novell.admin.ns.nds.NDSAttributeFlags
- All Implemented Interfaces:
- java.lang.Cloneable
- public final class NDSAttributeFlags
- extends java.lang.Object
- implements java.lang.Cloneable
Maintains the NDS schema attribute flag information.
|
Method Summary |
void |
clearFlag(int flagId)
Clears a specific flag. |
java.lang.Object |
clone()
Returns a copy of this object. |
boolean |
equals(java.lang.Object obj)
Compares an NDSAttributeFlags against another for equality. |
int |
getFlags()
Returns the attribute flags. |
java.lang.String[] |
getStrings(long upper,
long lower)
Returns a list of strings based on the bit fields set in the flags. |
boolean |
isFlagSet(int flagId)
Determines if a specific attribute flag is set. |
void |
setFlag(int flagId)
Sets a specific attribute flag. |
| Methods inherited from class java.lang.Object |
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
SINGLE_VALUED
public static final int SINGLE_VALUED
SIZED
public static final int SIZED
NONREMOVABLE
public static final int NONREMOVABLE
READ_ONLY
public static final int READ_ONLY
HIDDEN
public static final int HIDDEN
STRING
public static final int STRING
SYNC_IMMEDIATE
public static final int SYNC_IMMEDIATE
PUBLIC_READ
public static final int PUBLIC_READ
SERVER_READ
public static final int SERVER_READ
WRITE_MANAGED
public static final int WRITE_MANAGED
PER_REPLICA
public static final int PER_REPLICA
NDSAttributeFlags
public NDSAttributeFlags(int flags)
- Constructor.
- Parameters:
flags - The initial value of the attribute flags.
getFlags
public int getFlags()
- Returns the attribute flags.
- Returns:
- The attribute flags.
equals
public boolean equals(java.lang.Object obj)
- Compares an NDSAttributeFlags against another for equality.
- Parameters:
obj - Another NDSAttributeFlags object.- Returns:
- True if the objects are equal, false otherwise.
- Overrides:
- equals in class java.lang.Object
isFlagSet
public boolean isFlagSet(int flagId)
- Determines if a specific attribute flag is set.
- Parameters:
flagId - The flag to check.
setFlag
public void setFlag(int flagId)
- Sets a specific attribute flag.
- Parameters:
flagId - The flag to set.
clearFlag
public void clearFlag(int flagId)
- Clears a specific flag.
- Parameters:
flagId - The flag to clear.
getStrings
public java.lang.String[] getStrings(long upper,
long lower)
- Returns a list of strings based on the bit fields set in the flags.
- Parameters:
upper - The upper limit that is set if the attribute is sized.lower - The lower limit that is set if the attribute is sized.
clone
public java.lang.Object clone()
- Returns a copy of this object.
- Overrides:
- clone in class java.lang.Object
API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.