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 java.lang.Object implements Control
Base class for ldap controls.- Author:
- Middleware Services
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Logger
logger
Logger for this class.
-
Constructor Summary
Constructors Constructor Description AbstractControl(java.lang.String id)
Creates a new abstract control.AbstractControl(java.lang.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(java.lang.Object o)
boolean
getCriticality()
Returns whether the control is critical.java.lang.String
getOID()
Returns the OID for this control.abstract int
hashCode()
Returns the hash code for this object.java.lang.String
toString()
-
-
-
Constructor Detail
-
AbstractControl
public AbstractControl(java.lang.String id)
Creates a new abstract control.- Parameters:
id
- OID of this control
-
AbstractControl
public AbstractControl(java.lang.String id, boolean b)
Creates a new abstract control.- Parameters:
id
- OID of this controlb
- whether this control is critical
-
-
Method Detail
-
getOID
public java.lang.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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public abstract int hashCode()
Returns the hash code for this object.- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- hash code
-
-