|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.types.RawModification
org.opends.server.protocols.ldap.LDAPModification
public class LDAPModification
This class defines the data structures and methods to use when interacting with an LDAP modification, which describes a change that should be made to an attribute.
Constructor Summary | |
---|---|
LDAPModification(ModificationType modificationType,
RawAttribute attribute)
Creates a new LDAP modification with the provided type and attribute. |
Method Summary | |
---|---|
RawAttribute |
getAttribute()
Retrieves the attribute for this modification. |
ModificationType |
getModificationType()
Retrieves the modification type for this modification. |
void |
setAttribute(RawAttribute attribute)
Specifies the attribute for this modification. |
void |
setModificationType(ModificationType modificationType)
Specifies the modification type for this modification. |
Modification |
toModification()
Creates a new core Modification object from this LDAP
modification. |
java.lang.String |
toString()
Retrieves a string representation of this modification. |
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this modification to the provided buffer. |
void |
toString(java.lang.StringBuilder buffer,
int indent)
Appends a multi-line string representation of this LDAP modification to the provided buffer. |
Methods inherited from class org.opends.server.types.RawModification |
---|
create, create, create, create, create, decode, encode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LDAPModification(ModificationType modificationType, RawAttribute attribute)
modificationType
- The modification type for this modification.attribute
- The attribute for this modification.Method Detail |
---|
public ModificationType getModificationType()
getModificationType
in class RawModification
public void setModificationType(ModificationType modificationType)
setModificationType
in class RawModification
modificationType
- The modification type for this modification.public RawAttribute getAttribute()
getAttribute
in class RawModification
public void setAttribute(RawAttribute attribute)
setAttribute
in class RawModification
attribute
- The attribute for this modification.public Modification toModification() throws LDAPException
Modification
object from this LDAP
modification.
toModification
in class RawModification
LDAPException
- If a problem occurs while trying to convert the
LDAP attribute to a core Attribute
.public java.lang.String toString()
toString
in class RawModification
public void toString(java.lang.StringBuilder buffer)
toString
in class RawModification
buffer
- The buffer to which the information should be appended.public void toString(java.lang.StringBuilder buffer, int indent)
toString
in class RawModification
buffer
- The buffer to which the information should be appended.indent
- The number of spaces from the margin that the lines should
be indented.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |