|
Préférences
Moteurs de recherche
|
||||||||||||||
JavaTM 2 Platform Std. Ed. v1.4.2
javax.naming.directory
|
Constructor Summary | |
ModificationItem(int mod_op,
Attribute attr)
Creates a new instance of ModificationItem. |
Method Summary | |
Attribute |
getAttribute()
Retrieves the attribute associated with this modification item. |
int |
getModificationOp()
Retrieves the modification code of this modification item. |
String |
toString()
Generates the string representation of this modification item, which consists of the modification operation and its related attribute. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ModificationItem(int mod_op, Attribute attr)
mod_op
- Modification to apply. It must be one of:
DirContext.ADD_ATTRIBUTE
DirContext.REPLACE_ATTRIBUTE
DirContext.REMOVE_ATTRIBUTEattr
- The non-null attribute to use for modification.
IllegalArgumentException
- If attr is null, or if mod_op is
not one of the ones specified above.Method Detail |
public int getModificationOp()
public Attribute getAttribute()
public String toString()