LDAP Classes
Implements Java LDAP

org.ietf.ldap
Class LDAPModification

java.lang.Object
  |
  +--org.ietf.ldap.LDAPModification

public class LDAPModification
extends java.lang.Object

Represents a single add, delete, or replace operation to an LDAPAttribute.

See Also:
com.novell.ldap.LDAPModification

Field Summary
static int ADD
          Adds the listed values to the given attribute.
static int DELETE
          Deletes the listed values from the given attribute.
static int REPLACE
          Replaces all existing values of the given attribute with the new values listed.
 
Constructor Summary
LDAPModification(int op, LDAPAttribute attr)
          Specifies a modification to be made to an attribute.
 
Method Summary
 LDAPAttribute getAttribute()
          Returns the attribute to modify, with any existing values.
 int getOp()
          Returns the type of modification specified by this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ADD

public static final int ADD
Adds the listed values to the given attribute.

See Also:
com.novell.ldap.LDAPModification.ADD, Constant Field Values

DELETE

public static final int DELETE
Deletes the listed values from the given attribute.

See Also:
com.novell.ldap.LDAPModification.DELETE, Constant Field Values

REPLACE

public static final int REPLACE
Replaces all existing values of the given attribute with the new values listed.

See Also:
com.novell.ldap.LDAPModification.REPLACE, Constant Field Values
Constructor Detail

LDAPModification

public LDAPModification(int op,
                        LDAPAttribute attr)
Specifies a modification to be made to an attribute.

See Also:
com.novell.ldap.LDAPModification.LDAPModification(int, LDAPAttribute)
Method Detail

getAttribute

public LDAPAttribute getAttribute()
Returns the attribute to modify, with any existing values.

See Also:
com.novell.ldap.LDAPModification.getAttribute()

getOp

public int getOp()
Returns the type of modification specified by this object.

See Also:
com.novell.ldap.LDAPModification.getOp()

LDAP Classes
Implements Java LDAP

Copyright © 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000