|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgnu.inet.ldap.AttributeValues
gnu.inet.ldap.Modification
public final class Modification
An individual modification of an object's attributes.
Field Summary | |
---|---|
static int |
ADD
Add the specified values to the attribute, creating the attribute if necessary. |
static int |
DELETE
Delete the specified values from the given attribute, removing the entire attribute if no values are listed, or if all current values of the attribute are listed. |
protected int |
operation
The operation specified by this modification. |
static int |
REPLACE
Replace all existing values of the given attribute with the new values, creating the attribute if it did not exist. |
Fields inherited from class gnu.inet.ldap.AttributeValues |
---|
type, values |
Constructor Summary | |
---|---|
Modification(int operation,
java.lang.String type,
java.util.Set values)
Constructor. |
Method Summary | |
---|---|
int |
getOperation()
|
Methods inherited from class gnu.inet.ldap.AttributeValues |
---|
getType, getValues |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ADD
public static final int DELETE
public static final int REPLACE
protected final int operation
Constructor Detail |
---|
public Modification(int operation, java.lang.String type, java.util.Set values)
operation
- the operationtype
- the attribute typevalues
- the values to assignMethod Detail |
---|
public int getOperation()
operation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |