@PublicAPI(stability=UNCOMMITTED, mayInstantiate=true, mayExtend=false, mayInvoke=true) public final class Modification extends Object
Constructor and Description |
---|
Modification(org.forgerock.opendj.ldap.ModificationType modificationType,
Attribute attribute)
Creates a new modification with the provided information.
|
Modification(org.forgerock.opendj.ldap.ModificationType modificationType,
Attribute attribute,
boolean isInternal)
Creates a new modification with the provided information.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Indicates whether the provided object is equal to this modification.
|
Attribute |
getAttribute()
Retrieves the attribute for this modification.
|
org.forgerock.opendj.ldap.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(org.forgerock.opendj.ldap.ModificationType modificationType)
Specifies the modification type for this modification.
|
String |
toString()
Retrieves a one-line string representation of this modification.
|
public Modification(org.forgerock.opendj.ldap.ModificationType modificationType, Attribute attribute)
modificationType
- The modification type for this modification.attribute
- The attribute for this modification.public Modification(org.forgerock.opendj.ldap.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.public org.forgerock.opendj.ldap.ModificationType getModificationType()
@PublicAPI(stability=PRIVATE, mayInstantiate=false, mayExtend=false, mayInvoke=false) public void setModificationType(org.forgerock.opendj.ldap.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(Object o)
public int hashCode()
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.