Class SyncStateValueImpl
- java.lang.Object
-
- org.apache.directory.api.ldap.model.message.controls.AbstractControl
-
- org.apache.directory.api.ldap.extras.controls.syncrepl.syncState.SyncStateValueImpl
-
- All Implemented Interfaces:
SyncStateValue,Control
public class SyncStateValueImpl extends AbstractControl implements SyncStateValue
A simple SyncStateValue Control implementation.- Version:
- $Rev$, $Date$
- Author:
- Apache Directory Project
-
-
Field Summary
-
Fields inherited from interface org.apache.directory.api.ldap.extras.controls.syncrepl.syncState.SyncStateValue
OID
-
-
Constructor Summary
Constructors Constructor Description SyncStateValueImpl()SyncStateValueImpl Creates a new instance of SyncDoneValueImpl.SyncStateValueImpl(boolean isCritical)Creates a new instance of SyncStateValueImpl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)byte[]getCookie()byte[]getEntryUUID()SyncStateTypeEnumgetSyncStateType()inthashCode()voidsetCookie(byte[] cookie)voidsetEntryUUID(byte[] entryUUID)set the entryUUIDvoidsetSyncStateType(SyncStateTypeEnum syncStateType)set the syncState's typeStringtoString()Return a String representing a Control-
Methods inherited from class org.apache.directory.api.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.api.ldap.model.message.Control
getOid, isCritical, setCritical
-
-
-
-
Method Detail
-
getCookie
public byte[] getCookie()
- Specified by:
getCookiein interfaceSyncStateValue- Returns:
- the cookie
-
setCookie
public void setCookie(byte[] cookie)
- Specified by:
setCookiein interfaceSyncStateValue- Parameters:
cookie- the cookie to set
-
getSyncStateType
public SyncStateTypeEnum getSyncStateType()
- Specified by:
getSyncStateTypein interfaceSyncStateValue- Returns:
- the syncState's type
-
setSyncStateType
public void setSyncStateType(SyncStateTypeEnum syncStateType)
set the syncState's type- Specified by:
setSyncStateTypein interfaceSyncStateValue- Parameters:
syncStateType- the syncState's type
-
getEntryUUID
public byte[] getEntryUUID()
- Specified by:
getEntryUUIDin interfaceSyncStateValue- Returns:
- the entryUUID
-
setEntryUUID
public void setEntryUUID(byte[] entryUUID)
set the entryUUID- Specified by:
setEntryUUIDin interfaceSyncStateValue- Parameters:
entryUUID- the entryUUID
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractControl- See Also:
Object.hashCode()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classAbstractControl- See Also:
Object.equals(Object)
-
toString
public String toString()
Description copied from class:AbstractControlReturn a String representing a Control- Overrides:
toStringin classAbstractControl- See Also:
Object.toString()
-
-