public class UniqueMemberComparator extends LdapComparator<String>
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, toString
copy, getBytecode, getFqcn, isValid, setBytecode, setFqcn
addExtension, addExtension, addName, clear, copy, getDescription, getExtension, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hasExtension, isDisabled, isEnabled, isObsolete, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setSchemaName, setSpecification, unlock
comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
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–2019 The Apache Software Foundation. All rights reserved.