Interface LDAPModification
-
public interface LDAPModification
Represents a data structure for holding information about an LDAP modification, which describes a change to apply to an attribute.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
equals(Object obj)
Reports whether the provided object is equal to this modification.String
getAttributeName()
Returns the the name of the attribute to target with this modification.byte[][]
getByteValueArray()
Returns the values for this modification in an array of byte[] format.LDAPModificationType
getModificationType()
Returns the modification type for this modification.String[]
getStringValueArray()
Returns the values for this modification in an array of String objects.int
hashCode()
Returns a hash code for this modification.boolean
hasValue()
Reports whether this modification has at least one value.String
toString()
Returns the string representation of this modification.
-
-
-
Method Detail
-
getAttributeName
String getAttributeName()
Returns the the name of the attribute to target with this modification.- Returns:
- the the name of the attribute to target with this modification.
-
getModificationType
LDAPModificationType getModificationType()
Returns the modification type for this modification.- Returns:
- the modification type for this modification.
-
getByteValueArray
byte[][] getByteValueArray()
Returns the values for this modification in an array of byte[] format.- Returns:
- the array of modification values. Each element in the array will be of type byte[].
-
getStringValueArray
String[] getStringValueArray()
Returns the values for this modification in an array of String objects.- Returns:
- the array of modification values. Each element in the array will be a String object.
-
hasValue
boolean hasValue()
Reports whether this modification has at least one value.- Returns:
- true if this modification has one or more values, or false if not.
-
equals
boolean equals(Object obj)
Reports whether the provided object is equal to this modification.
-
hashCode
int hashCode()
Returns a hash code for this modification.
-
-