public final class NDSAttributeFlags
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
static int |
HIDDEN |
static int |
INTEGER_64 |
static int |
NONREMOVABLE |
static int |
OPERATIONAL |
static int |
PER_REPLICA |
static int |
PUBLIC_READ |
static int |
READ_ONLY |
static int |
SERVER_READ |
static int |
SINGLE_VALUED |
static int |
SIZED |
static int |
STRING |
static int |
SYNC_IMMEDIATE |
static int |
WRITE_MANAGED |
| Constructor and Description |
|---|
NDSAttributeFlags(int flags)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 STRING
public static final int 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 OPERATIONAL
public static final int INTEGER_64
public NDSAttributeFlags(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 NDSAttributeFlags object.public boolean isFlagSet(int flagId)
flagId - The flag to check.public void setFlag(int flagId)
flagId - The flag to set.public void clearFlag(int flagId)
flagId - The flag to clear.public 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.public java.lang.Object clone()
clone in class java.lang.Object
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}.