javax.naming.directory
public class ModificationItem extends Object implements Serializable
Constructor and Description |
---|
ModificationItem(int mod_op,
Attribute attr) |
Modifier and Type | Method and Description |
---|---|
Attribute |
getAttribute() |
int |
getModificationOp() |
String |
toString()
Convert this Object to a human-readable String.
|
public ModificationItem(int mod_op, Attribute attr)
public int getModificationOp()
public Attribute getAttribute()
public String toString()
Object
System.out.println()
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a RuntimeException
.
This method will be called when performing string
concatenation with this object. If the result is
null
, string concatenation will instead
use "null"
.
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode())
.
toString
in class Object
Object.getClass()
,
Object.hashCode()
,
Class.getName()
,
Integer.toHexString(int)