public final class LDAPAttributeFlags
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
static int |
BOTH_MANAGED |
static int |
ENCRYPTED_SYNC |
static int |
HIDDEN |
static int |
NO_SYNC_IMMEDIATE |
static int |
NONREMOVABLE |
static int |
OPERATIONAL |
static int |
PER_REPLICA |
static int |
PUBLIC_READ |
static int |
READ_ONLY |
static int |
SCHEDULE_SYNC_NEVER |
static int |
SERVER_READ |
static int |
SINGLE_VALUED |
static int |
SIZED |
static int |
SPARSE_OPERATIONAL |
static int |
SPARSE_REQUIRED |
static int |
WRITE_MANAGED |
| Constructor and Description |
|---|
LDAPAttributeFlags(int flags)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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)
Checks if a specific flag is set.
|
void |
setFlag(int flagId)
Sets a specific flag.
|
public static final int SINGLE_VALUED
public static final int SIZED
public static final int NONREMOVABLE
public static final int READ_ONLY
public static final int HIDDEN
public static final int NO_SYNC_IMMEDIATE
public static final int PUBLIC_READ
public static final int SERVER_READ
public static final int WRITE_MANAGED
public static final int PER_REPLICA
public static final int SCHEDULE_SYNC_NEVER
public static final int OPERATIONAL
public static final int SPARSE_REQUIRED
public static final int SPARSE_OPERATIONAL
public static final int BOTH_MANAGED
public static final int ENCRYPTED_SYNC
public LDAPAttributeFlags(int flags)
flags - the initial value of the attribute flags.public int getFlags()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - Another LDAPAttributeFlags object.public boolean isFlagSet(int flagId)
flagId - specific flag to check.public void setFlag(int flagId)
flagId - specific flag to set.public void clearFlag(int flagId)
flagId - specific flag to clear.public java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.String[] getStrings(long upper,
long lower)
upper - The upper limit that is set if the attribute is sized.lower - The lower limit that is set if the attribute is sized.
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 ${TODAY} ${TSTAMP}.