public class SyncInfoValueImpl extends org.apache.directory.api.ldap.model.message.controls.AbstractControl implements SyncInfoValue
SyncInfoValue implementation to store control properties.| Modifier and Type | Field and Description |
|---|---|
private byte[] |
cookie
The cookie
|
private boolean |
refreshDeletes
The refreshDeletes flag if we are dealing with syncIdSet syncInfo.
|
private boolean |
refreshDone
The refreshDone flag if we are dealing with refreshXXX syncInfo.
|
private List<byte[]> |
syncUUIDs
The list of UUIDs if we are dealing with syncIdSet syncInfo
|
private SynchronizationInfoEnum |
type
The kind of syncInfoValue we are dealing with
|
OID| Constructor and Description |
|---|
SyncInfoValueImpl()
Creates a new instance of SyncInfoValueImpl.
|
SyncInfoValueImpl(boolean isCritical)
Creates a new instance of SyncInfoValueImpl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSyncUUID(byte[] syncUUID) |
boolean |
equals(Object o) |
byte[] |
getCookie() |
List<byte[]> |
getSyncUUIDs() |
SynchronizationInfoEnum |
getType()
Get the control type.
|
int |
hashCode() |
boolean |
isRefreshDeletes() |
boolean |
isRefreshDone() |
void |
setCookie(byte[] cookie) |
void |
setRefreshDeletes(boolean refreshDeletes) |
void |
setRefreshDone(boolean refreshDone) |
void |
setSyncUUIDs(List<byte[]> syncUUIDs) |
void |
setType(SynchronizationInfoEnum type) |
String |
toString() |
getOid, isCritical, setCriticalprivate SynchronizationInfoEnum type
private byte[] cookie
private boolean refreshDone
private boolean refreshDeletes
private List<byte[]> syncUUIDs
public SyncInfoValueImpl()
public SyncInfoValueImpl(boolean isCritical)
isCritical - The critical flagpublic SynchronizationInfoEnum getType()
getType in interface SyncInfoValuepublic void setType(SynchronizationInfoEnum type)
setType in interface SyncInfoValuetype - the synchronization type to setpublic byte[] getCookie()
getCookie in interface SyncInfoValuepublic void setCookie(byte[] cookie)
setCookie in interface SyncInfoValuecookie - the cookie to setpublic boolean isRefreshDone()
isRefreshDone in interface SyncInfoValuepublic void setRefreshDone(boolean refreshDone)
setRefreshDone in interface SyncInfoValuerefreshDone - the refreshDone to setpublic boolean isRefreshDeletes()
isRefreshDeletes in interface SyncInfoValuepublic void setRefreshDeletes(boolean refreshDeletes)
setRefreshDeletes in interface SyncInfoValuerefreshDeletes - the refreshDeletes to setpublic List<byte[]> getSyncUUIDs()
getSyncUUIDs in interface SyncInfoValuepublic void setSyncUUIDs(List<byte[]> syncUUIDs)
setSyncUUIDs in interface SyncInfoValuesyncUUIDs - the syncUUIDs to setpublic void addSyncUUID(byte[] syncUUID)
addSyncUUID in interface SyncInfoValuesyncUUID - the syncUUIDs to setpublic int hashCode()
hashCode in class org.apache.directory.api.ldap.model.message.controls.AbstractControlObject.hashCode()public boolean equals(Object o)
equals in class org.apache.directory.api.ldap.model.message.controls.AbstractControlObject.equals(Object)public String toString()
toString in class org.apache.directory.api.ldap.model.message.controls.AbstractControlObject.toString()Copyright © 2003–2017 The Apache Software Foundation. All rights reserved.