public class SyncInfoValueImpl extends AbstractControl implements SyncInfoValue
SyncInfoValue
implementation to store control properties.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()
Return a String representing a Control
|
getOid, isCritical, setCritical
getOid, isCritical, setCritical
public SyncInfoValueImpl()
public SyncInfoValueImpl(boolean isCritical)
isCritical
- The critical flagpublic SynchronizationInfoEnum getType()
getType
in interface SyncInfoValue
public void setType(SynchronizationInfoEnum type)
setType
in interface SyncInfoValue
type
- the synchronization type to setpublic byte[] getCookie()
getCookie
in interface SyncInfoValue
public void setCookie(byte[] cookie)
setCookie
in interface SyncInfoValue
cookie
- the cookie to setpublic boolean isRefreshDone()
isRefreshDone
in interface SyncInfoValue
public void setRefreshDone(boolean refreshDone)
setRefreshDone
in interface SyncInfoValue
refreshDone
- the refreshDone to setpublic boolean isRefreshDeletes()
isRefreshDeletes
in interface SyncInfoValue
public void setRefreshDeletes(boolean refreshDeletes)
setRefreshDeletes
in interface SyncInfoValue
refreshDeletes
- the refreshDeletes to setpublic List<byte[]> getSyncUUIDs()
getSyncUUIDs
in interface SyncInfoValue
public void setSyncUUIDs(List<byte[]> syncUUIDs)
setSyncUUIDs
in interface SyncInfoValue
syncUUIDs
- the syncUUIDs to setpublic void addSyncUUID(byte[] syncUUID)
addSyncUUID
in interface SyncInfoValue
syncUUID
- the syncUUIDs to setpublic int hashCode()
hashCode
in class AbstractControl
Object.hashCode()
public boolean equals(Object o)
equals
in class AbstractControl
Object.equals(Object)
public String toString()
AbstractControl
toString
in class AbstractControl
Object.toString()
Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.