Package org.ldaptive.control
Class AbstractControl
- java.lang.Object
-
- org.ldaptive.control.AbstractControl
-
- All Implemented Interfaces:
Control
- Direct Known Subclasses:
AuthorizationIdentityRequestControl
,AuthorizationIdentityResponseControl
,DirSyncControl
,EntryChangeNotificationControl
,ExtendedDnControl
,ForceUpdateControl
,GenericControl
,GetStatsControl
,LazyCommitControl
,ManageDsaITControl
,MatchedValuesRequestControl
,NotificationControl
,PagedResultsControl
,PasswordExpiredControl
,PasswordExpiringControl
,PasswordPolicyControl
,PermissiveModifyControl
,PersistentSearchRequestControl
,ProxyAuthorizationControl
,RangeRetrievalNoerrControl
,RelaxControl
,SearchOptionsControl
,SessionTrackingControl
,ShowDeactivatedLinkControl
,ShowDeletedControl
,ShowRecycledControl
,SortRequestControl
,SortResponseControl
,SyncDoneControl
,SyncRequestControl
,SyncStateControl
,TreeDeleteControl
,VerifyNameControl
,VirtualListViewRequestControl
,VirtualListViewResponseControl
public abstract class AbstractControl extends Object implements Control
Base class for ldap controls.
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
criticality
is control critical.protected Logger
logger
Logger for this class.private String
oid
control oid.
-
Constructor Summary
Constructors Constructor Description AbstractControl(String id)
Creates a new abstract control.AbstractControl(String id, boolean b)
Creates a new abstract control.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
boolean
getCriticality()
Returns whether the control is critical.String
getOID()
Returns the OID for this control.abstract int
hashCode()
Returns the hash code for this object.String
toString()
-
-
-
Constructor Detail
-
AbstractControl
public AbstractControl(String id)
Creates a new abstract control.- Parameters:
id
- OID of this control
-
AbstractControl
public AbstractControl(String id, boolean b)
Creates a new abstract control.- Parameters:
id
- OID of this controlb
- whether this control is critical
-
-
Method Detail
-
getOID
public String getOID()
Description copied from interface:Control
Returns the OID for this control.
-
getCriticality
public boolean getCriticality()
Description copied from interface:Control
Returns whether the control is critical.- Specified by:
getCriticality
in interfaceControl
- Returns:
- whether the control is critical
-
-