org.apache.directory.shared.ldap.extras.controls
Class SyncModifyDnImpl

java.lang.Object
  extended by org.apache.directory.shared.ldap.model.message.controls.AbstractControl
      extended by org.apache.directory.shared.ldap.extras.controls.SyncModifyDnImpl
All Implemented Interfaces:
SyncModifyDn, Control

public class SyncModifyDnImpl
extends AbstractControl
implements SyncModifyDn

A simple SyncModifyDn implementation to hold properties.

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Field Summary
 
Fields inherited from interface org.apache.directory.shared.ldap.extras.controls.SyncModifyDn
OID
 
Constructor Summary
SyncModifyDnImpl()
          Creates a new instance of SyncModifyDnImpl.
SyncModifyDnImpl(boolean isCritical)
          Creates a new instance of SyncModifyDnImpl.
 
Method Summary
 boolean equals(Object o)
           
 String getEntryDn()
          
 SyncModifyDnType getModDnType()
          
 String getNewRdn()
          
 String getNewSuperiorDn()
          
 int hashCode()
           
 boolean isDeleteOldRdn()
          
 void setDeleteOldRdn(boolean deleteOldRdn)
          
 void setEntryDn(String entryDn)
          
 void setModDnType(SyncModifyDnType modDnType)
          
 void setNewRdn(String newRdn)
          
 void setNewSuperiorDn(String newSuperiorDn)
          
 String toString()
           
 
Methods inherited from class org.apache.directory.shared.ldap.model.message.controls.AbstractControl
getOid, isCritical, setCritical
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.directory.shared.ldap.model.message.Control
getOid, isCritical, setCritical
 

Constructor Detail

SyncModifyDnImpl

public SyncModifyDnImpl()
Creates a new instance of SyncModifyDnImpl.


SyncModifyDnImpl

public SyncModifyDnImpl(boolean isCritical)
Creates a new instance of SyncModifyDnImpl.

Parameters:
isCritical - The critical flag
Method Detail

getEntryDn

public String getEntryDn()

Specified by:
getEntryDn in interface SyncModifyDn

setEntryDn

public void setEntryDn(String entryDn)

Specified by:
setEntryDn in interface SyncModifyDn

getNewSuperiorDn

public String getNewSuperiorDn()

Specified by:
getNewSuperiorDn in interface SyncModifyDn

setNewSuperiorDn

public void setNewSuperiorDn(String newSuperiorDn)

Specified by:
setNewSuperiorDn in interface SyncModifyDn

getNewRdn

public String getNewRdn()

Specified by:
getNewRdn in interface SyncModifyDn

setNewRdn

public void setNewRdn(String newRdn)

Specified by:
setNewRdn in interface SyncModifyDn

isDeleteOldRdn

public boolean isDeleteOldRdn()

Specified by:
isDeleteOldRdn in interface SyncModifyDn

setDeleteOldRdn

public void setDeleteOldRdn(boolean deleteOldRdn)

Specified by:
setDeleteOldRdn in interface SyncModifyDn

getModDnType

public SyncModifyDnType getModDnType()

Specified by:
getModDnType in interface SyncModifyDn

setModDnType

public void setModDnType(SyncModifyDnType modDnType)

Specified by:
setModDnType in interface SyncModifyDn

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()
Overrides:
toString in class AbstractControl
See Also:
Object.toString()


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.