Class ParsedDnComparator
java.lang.Object
org.apache.directory.api.ldap.model.schema.AbstractSchemaObject
org.apache.directory.api.ldap.model.schema.LoadableSchemaObject
org.apache.directory.api.ldap.model.schema.LdapComparator<Object>
org.apache.directory.api.ldap.model.schema.comparators.ParsedDnComparator
- All Implemented Interfaces:
Serializable, Comparator<Object>, SchemaObject
Compare two DNs
- Author:
- Apache Directory Project
- See Also:
-
Field Summary
Fields inherited from class LdapComparator
normalizerFields inherited from class AbstractSchemaObject
description, extensions, h, isEnabled, isObsolete, locked, names, objectType, oid, schemaName, specification -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidsetSchemaManager(SchemaManager schemaManager) Store the SchemaManager in this instance.Methods inherited from class LdapComparator
equals, getNormalizer, hashCode, toStringMethods inherited from class LoadableSchemaObject
copy, getBytecode, getFqcn, isValid, setBytecode, setFqcnMethods inherited from class AbstractSchemaObject
addExtension, addExtension, addName, clear, compareOid, copy, getDescription, getExtension, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hasExtension, isDisabled, isEnabled, isObsolete, lock, rehash, rehashBase, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setSchemaName, setSpecification, unlockMethods inherited from interface Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ParsedDnComparator
The ParsedDnComparator constructor.- Parameters:
oid- The Comparator's OID
-
-
Method Details
-
compare
-
setSchemaManager
Store the SchemaManager in this instance. It may be necessary for some comparator which needs to have access to the oidNormalizer Map.- Overrides:
setSchemaManagerin classLdapComparator<Object>- Parameters:
schemaManager- the schemaManager to store
-