Class SyncInfoValueImpl
- java.lang.Object
-
- org.apache.directory.api.ldap.model.message.AbstractMessage
-
- org.apache.directory.api.ldap.model.message.AbstractResponse
-
- org.apache.directory.api.ldap.model.message.AbstractResultResponse
-
- org.apache.directory.api.ldap.model.message.IntermediateResponseImpl
-
- org.apache.directory.api.ldap.extras.intermediate.syncrepl.SyncInfoValueImpl
-
- All Implemented Interfaces:
SyncInfoValue,IntermediateResponse,Message,Response,ResultResponse
public class SyncInfoValueImpl extends IntermediateResponseImpl implements SyncInfoValue
A simpleSyncInfoValueimplementation to store response properties.- Version:
- $Rev$, $Date$
- Author:
- Apache Directory Project
-
-
Field Summary
-
Fields inherited from class org.apache.directory.api.ldap.model.message.IntermediateResponseImpl
responseName, responseValue
-
Fields inherited from class org.apache.directory.api.ldap.model.message.AbstractResultResponse
ldapResult
-
Fields inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage
controls
-
Fields inherited from interface org.apache.directory.api.ldap.extras.intermediate.syncrepl.SyncInfoValue
OID
-
-
Constructor Summary
Constructors Constructor Description SyncInfoValueImpl()Creates a new instance of SyncInfoValueImpl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSyncUUID(byte[] syncUUID)booleanequals(Object o)Checks to see if an object equals this IntemediateResponse.byte[]getCookie()SynchronizationInfoEnumgetSyncInfoValueType()Get the value type.List<byte[]>getSyncUUIDs()inthashCode()booleanisRefreshDeletes()booleanisRefreshDone()voidsetCookie(byte[] cookie)voidsetRefreshDeletes(boolean refreshDeletes)voidsetRefreshDone(boolean refreshDone)voidsetSyncInfoValueType(SynchronizationInfoEnum type)voidsetSyncUUIDs(List<byte[]> syncUUIDs)StringtoString()Get a String representation of an IntermediateResponse-
Methods inherited from class org.apache.directory.api.ldap.model.message.IntermediateResponseImpl
getResponseName, getResponseValue, setResponseName, setResponseValue
-
Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractResultResponse
getLdapResult
-
Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId, toString
-
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.IntermediateResponse
getResponseName, getResponseValue, setResponseName, setResponseValue
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.Message
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.ResultResponse
getLdapResult
-
-
-
-
Method Detail
-
getCookie
public byte[] getCookie()
- Specified by:
getCookiein interfaceSyncInfoValue- Returns:
- the cookie
-
setCookie
public void setCookie(byte[] cookie)
- Specified by:
setCookiein interfaceSyncInfoValue- Parameters:
cookie- the cookie to set
-
isRefreshDone
public boolean isRefreshDone()
- Specified by:
isRefreshDonein interfaceSyncInfoValue- Returns:
- the refreshDone
-
setRefreshDone
public void setRefreshDone(boolean refreshDone)
- Specified by:
setRefreshDonein interfaceSyncInfoValue- Parameters:
refreshDone- the refreshDone to set
-
isRefreshDeletes
public boolean isRefreshDeletes()
- Specified by:
isRefreshDeletesin interfaceSyncInfoValue- Returns:
- the refreshDeletes
-
setRefreshDeletes
public void setRefreshDeletes(boolean refreshDeletes)
- Specified by:
setRefreshDeletesin interfaceSyncInfoValue- Parameters:
refreshDeletes- the refreshDeletes to set
-
getSyncUUIDs
public List<byte[]> getSyncUUIDs()
- Specified by:
getSyncUUIDsin interfaceSyncInfoValue- Returns:
- the syncUUIDs
-
setSyncUUIDs
public void setSyncUUIDs(List<byte[]> syncUUIDs)
- Specified by:
setSyncUUIDsin interfaceSyncInfoValue- Parameters:
syncUUIDs- the syncUUIDs to set
-
addSyncUUID
public void addSyncUUID(byte[] syncUUID)
- Specified by:
addSyncUUIDin interfaceSyncInfoValue- Parameters:
syncUUID- the syncUUIDs to set
-
hashCode
public int hashCode()
Description copied from class:IntermediateResponseImpl- Overrides:
hashCodein classIntermediateResponseImpl- Returns:
- the instance's hash code
- See Also:
Object.hashCode()
-
equals
public boolean equals(Object o)
Description copied from class:IntermediateResponseImplChecks to see if an object equals this IntemediateResponse.- Overrides:
equalsin classIntermediateResponseImpl- Parameters:
o- the object to be checked for equality- Returns:
- true if the obj equals this IntemediateResponse, false otherwise
- See Also:
Object.equals(Object)
-
toString
public String toString()
Description copied from class:IntermediateResponseImplGet a String representation of an IntermediateResponse- Overrides:
toStringin classIntermediateResponseImpl- Returns:
- An IntermediateResponse String
- See Also:
Object.toString()
-
getSyncInfoValueType
public SynchronizationInfoEnum getSyncInfoValueType()
Description copied from interface:SyncInfoValueGet the value type.- Specified by:
getSyncInfoValueTypein interfaceSyncInfoValue- Returns:
- the type : one of newCookie, refreshDelete, refreshPresent or syncIdSet
-
setSyncInfoValueType
public void setSyncInfoValueType(SynchronizationInfoEnum type)
- Specified by:
setSyncInfoValueTypein interfaceSyncInfoValue- Parameters:
type- the synchronization type to set
-
-