|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.types.Modification
@PublicAPI(stability=UNCOMMITTED,
mayInstantiate=true,
mayExtend=false,
mayInvoke=true)
public final class ModificationThis class defines a data structure for storing and interacting with a modification that may be requested of an entry in the Directory Server.
| Constructor Summary | |
|---|---|
Modification(ModificationType modificationType,
Attribute attribute)
Creates a new modification with the provided information. |
|
Modification(ModificationType modificationType,
Attribute attribute,
boolean isInternal)
Creates a new modification with the provided information. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Indicates whether the provided object is equal to this modification. |
Attribute |
getAttribute()
Retrieves the attribute for this modification. |
ModificationType |
getModificationType()
Retrieves the modification type for this modification. |
int |
hashCode()
Retrieves the hash code for this modification. |
boolean |
isInternal()
Indicates whether this is modification was created by internal processing and should not be subject to no-user-modification and related checks. |
void |
setAttribute(Attribute attribute)
Specifies the attribute for this modification. |
void |
setInternal(boolean isInternal)
Specifies whether this modification was created by internal processing and should not be subject to no-user-modification and related checks. |
void |
setModificationType(ModificationType modificationType)
Specifies the modification type for this modification. |
java.lang.String |
toLDIF()
Retrieves a string representation of this modification in LDIF form. |
void |
toLDIF(java.lang.StringBuilder buffer)
Appends a string representation of this modification in LDIF form to the provided buffer. |
java.lang.String |
toString()
Retrieves a one-line string representation of this modification. |
void |
toString(java.lang.StringBuilder buffer)
Appends a one-line representation of this modification to the provided buffer. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Modification(ModificationType modificationType,
Attribute attribute)
modificationType - The modification type for this
modification.attribute - The attribute for this modification.
public Modification(ModificationType modificationType,
Attribute attribute,
boolean isInternal)
modificationType - The modification type for this
modification.attribute - The attribute for this modification.isInternal - Indicates whether this is an internal
modification and therefore should not
be subject to no-user-modification and
related checks.| Method Detail |
|---|
public ModificationType getModificationType()
@PublicAPI(stability=PRIVATE,
mayInstantiate=false,
mayExtend=false,
mayInvoke=false)
public void setModificationType(ModificationType modificationType)
modificationType - The modification type for this
modification.public Attribute getAttribute()
@PublicAPI(stability=PRIVATE,
mayInstantiate=false,
mayExtend=false,
mayInvoke=false)
public void setAttribute(Attribute attribute)
attribute - The attribute for this modification.public boolean isInternal()
true if this is an internal modification,
or false if not.public void setInternal(boolean isInternal)
isInternal - Specifies whether this modification was
created by internal processing and should
not be subject to no-user-modification and
related checks.public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - The object for which to make the determination.
true if the provided object is a
modification that is equal to this modification, or
false if not.public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic void toString(java.lang.StringBuilder buffer)
buffer - The buffer to which the information should be
appended.public java.lang.String toLDIF()
public void toLDIF(java.lang.StringBuilder buffer)
buffer - The buffer to which the information should be
appended.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||