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
Base class for ldap controls.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanis control critical.protected final org.slf4j.LoggerLogger for this class.private final Stringcontrol oid. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new abstract control.AbstractControl(String id, boolean b) Creates a new abstract control. -
Method Summary
-
Field Details
-
logger
protected final org.slf4j.Logger loggerLogger for this class. -
oid
control oid. -
criticality
private final boolean criticalityis control critical.
-
-
Constructor Details
-
AbstractControl
Creates a new abstract control.- Parameters:
id- OID of this control
-
AbstractControl
Creates a new abstract control.- Parameters:
id- OID of this controlb- whether this control is critical
-
-
Method Details
-
getOID
Description copied from interface:ControlReturns the OID for this control. -
getCriticality
public boolean getCriticality()Description copied from interface:ControlReturns whether the control is critical.- Specified by:
getCriticalityin interfaceControl- Returns:
- whether the control is critical
-
toString
-
equals
-
hashCode
public abstract int hashCode()Returns the hash code for this object.
-