public class AdDirSyncResponseImpl extends AbstractControl implements AdDirSyncResponse
OID
Constructor and Description |
---|
AdDirSyncResponseImpl()
Creates an instance of the DirSync control
|
Modifier and Type | Method and Description |
---|---|
void |
addFlag(AdDirSyncResponseFlag flag) |
boolean |
equals(Object other) |
byte[] |
getCookie() |
Set<AdDirSyncResponseFlag> |
getFlags() |
int |
getMaxReturnLength() |
int |
hashCode() |
void |
removeFlag(AdDirSyncResponseFlag flag) |
void |
setCookie(byte[] cookie) |
void |
setFlags(Set<AdDirSyncResponseFlag> flags) |
void |
setMaxReturnLength(int maxReturnLength) |
String |
toString()
Return a String representing a Control
|
getOid, isCritical, setCritical
getOid, isCritical, setCritical
public AdDirSyncResponseImpl()
public Set<AdDirSyncResponseFlag> getFlags()
getFlags
in interface AdDirSyncResponse
public void setFlags(Set<AdDirSyncResponseFlag> flags)
setFlags
in interface AdDirSyncResponse
flags
- The flags to be set. See EnumSet
for how to generate EnumSets.public void addFlag(AdDirSyncResponseFlag flag)
addFlag
in interface AdDirSyncResponse
flag
- The flag to be added to the current collection of flags.public void removeFlag(AdDirSyncResponseFlag flag)
removeFlag
in interface AdDirSyncResponse
flag
- The flag to be removed from the current collection of flags.public int getMaxReturnLength()
getMaxReturnLength
in interface AdDirSyncResponse
public void setMaxReturnLength(int maxReturnLength)
setMaxReturnLength
in interface AdDirSyncResponse
maxReturnLength
- The maximum length of attributes to be returnedpublic byte[] getCookie()
getCookie
in interface AdDirSyncResponse
public void setCookie(byte[] cookie)
setCookie
in interface AdDirSyncResponse
cookie
- The cookie to send to the server. It's the value found in the response control. Should be null
for the first control.public int hashCode()
hashCode
in class AbstractControl
Object.hashCode()
public boolean equals(Object other)
equals
in class AbstractControl
Object.equals(Object)
public String toString()
AbstractControl
toString
in class AbstractControl
Object.toString()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.