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 booleancriticalityis control critical.protected LoggerloggerLogger for this class.private Stringoidcontrol 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 booleanequals(Object o)booleangetCriticality()Returns whether the control is critical.StringgetOID()Returns the OID for this control.abstract inthashCode()Returns the hash code for this object.StringtoString()
-
-
-
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: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
-
-