public class UniqueMemberComparator extends LdapComparator<String>
| Modifier and Type | Field and Description |
|---|---|
private ParsedDnComparator |
dnComparator |
private SchemaManager |
schemaManager
A reference to the schema manager
|
private static long |
serialVersionUID
The serial version UID
|
normalizerdescription, extensions, h, isEnabled, isObsolete, locked, names, objectType, oid, schemaName, specification| Constructor and Description |
|---|
UniqueMemberComparator(String oid)
The IntegerComparator constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(String dnstr1,
String dnstr2) |
Dn |
getDn(Object obj)
Get the DN from the given object
|
void |
setSchemaManager(SchemaManager schemaManager)
Store the SchemaManager in this instance.
|
equals, getNormalizer, hashCode, toStringcopy, getBytecode, getFqcn, isValid, setBytecode, setFqcnaddExtension, addExtension, addName, clear, compareOid, computeHashCode, copy, getDescription, getExtension, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hasExtension, isDisabled, isEnabled, isObsolete, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setSchemaName, setSpecification, unlockclone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongprivate static final long serialVersionUID
private transient SchemaManager schemaManager
private transient ParsedDnComparator dnComparator
public UniqueMemberComparator(String oid)
oid - The Comparator's OIDpublic void setSchemaManager(SchemaManager schemaManager)
setSchemaManager in class LdapComparator<String>schemaManager - the schemaManager to storepublic Dn getDn(Object obj) throws LdapInvalidDnException
obj - The object containing a DN (either as an instance of Dn or as a String)LdapInvalidDnException - If the Dn is invalidCopyright © 2003–2022 The Apache Software Foundation. All rights reserved.