org.apache.directory.api.ldap.model.message.controls
Class EntryChangeImpl
java.lang.Object
org.apache.directory.api.ldap.model.message.controls.AbstractControl
org.apache.directory.api.ldap.model.message.controls.EntryChangeImpl
- All Implemented Interfaces:
- Control, EntryChange
public class EntryChangeImpl
- extends AbstractControl
- implements EntryChange
A simple implementation of the EntryChange response control.
- Author:
- Apache Directory Project
|
Constructor Summary |
EntryChangeImpl()
Creates a new instance of EntryChangeControl. |
EntryChangeImpl
public EntryChangeImpl()
- Creates a new instance of EntryChangeControl.
getChangeType
public ChangeType getChangeType()
- Specified by:
getChangeType in interface EntryChange
- Returns:
- The ChangeType
setChangeType
public void setChangeType(ChangeType changeType)
- Description copied from interface:
EntryChange
- Set the ChangeType
- Specified by:
setChangeType in interface EntryChange
- Parameters:
changeType - Add, Delete; Modify or ModifyDN
getPreviousDn
public Dn getPreviousDn()
- Specified by:
getPreviousDn in interface EntryChange
setPreviousDn
public void setPreviousDn(Dn previousDn)
- Specified by:
setPreviousDn in interface EntryChange
getChangeNumber
public long getChangeNumber()
- Specified by:
getChangeNumber in interface EntryChange
setChangeNumber
public void setChangeNumber(long changeNumber)
- Specified by:
setChangeNumber in interface EntryChange
hashCode
public int hashCode()
- Overrides:
hashCode in class AbstractControl
- See Also:
Object.hashCode()
equals
public boolean equals(Object o)
-
- Overrides:
equals in class AbstractControl
- See Also:
Object.equals(Object)
toString
public String toString()
- Return a String representing this EntryChangeControl.
- Overrides:
toString in class AbstractControl
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.