Liking cljdoc? Tell your friends :D

javax.naming.directory.ModificationItem

This class represents a modification item. It consists of a modification code and an attribute on which to operate.

A ModificationItem instance is not synchronized against concurrent multithreaded access. Multiple threads trying to access and modify a single ModificationItem instance should lock the object.

This class represents a modification item.
It consists of a modification code and an attribute on which to operate.

A ModificationItem instance is not synchronized against concurrent
multithreaded access. Multiple threads trying to access and modify
a single ModificationItem instance should lock the object.
raw docstring

->modification-itemclj

(->modification-item mod-op attr)

Constructor.

Creates a new instance of ModificationItem.

mod-op - Modification to apply. It must be one of: DirContext.ADD_ATTRIBUTE DirContext.REPLACE_ATTRIBUTE DirContext.REMOVE_ATTRIBUTE - int attr - The non-null attribute to use for modification. - javax.naming.directory.Attribute

throws: java.lang.IllegalArgumentException - If attr is null, or if mod_op is not one of the ones specified above.

Constructor.

Creates a new instance of ModificationItem.

mod-op - Modification to apply. It must be one of: DirContext.ADD_ATTRIBUTE DirContext.REPLACE_ATTRIBUTE DirContext.REMOVE_ATTRIBUTE - `int`
attr - The non-null attribute to use for modification. - `javax.naming.directory.Attribute`

throws: java.lang.IllegalArgumentException - If attr is null, or if mod_op is not one of the ones specified above.
raw docstring

get-attributeclj

(get-attribute this)

Retrieves the attribute associated with this modification item.

returns: The non-null attribute to use for the modification. - javax.naming.directory.Attribute

Retrieves the attribute associated with this modification item.

returns: The non-null attribute to use for the modification. - `javax.naming.directory.Attribute`
raw docstring

get-modification-opclj

(get-modification-op this)

Retrieves the modification code of this modification item.

returns: The modification code. It is one of: DirContext.ADD_ATTRIBUTE DirContext.REPLACE_ATTRIBUTE DirContext.REMOVE_ATTRIBUTE - int

Retrieves the modification code of this modification item.

returns: The modification code.  It is one of:
         DirContext.ADD_ATTRIBUTE
         DirContext.REPLACE_ATTRIBUTE
         DirContext.REMOVE_ATTRIBUTE - `int`
raw docstring

to-stringclj

(to-string this)

Generates the string representation of this modification item, which consists of the modification operation and its related attribute. The string representation is meant for debugging and not to be interpreted programmatically.

returns: The non-null string representation of this modification item. - java.lang.String

Generates the string representation of this modification item,
 which consists of the modification operation and its related attribute.
 The string representation is meant for debugging and not to be
 interpreted programmatically.

returns: The non-null string representation of this modification item. - `java.lang.String`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close