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.LoggerloggerLogger 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 booleanequals(java.lang.Object o)booleangetCriticality()Returns whether the control is critical.java.lang.StringgetOID()Returns the OID for this control.abstract inthashCode()Returns the hash code for this object.java.lang.StringtoString()
-
-
-
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: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
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public abstract int hashCode()
Returns the hash code for this object.- Overrides:
hashCodein classjava.lang.Object- Returns:
- hash code
-
-