Class UniqueMemberComparator

    • Constructor Detail

      • UniqueMemberComparator

        public UniqueMemberComparator​(String oid)
        The IntegerComparator constructor. Its OID is the IntegerOrderingMatch matching rule OID.
        Parameters:
        oid - The Comparator's OID
    • Method Detail

      • compare

        public int compare​(String dnstr1,
                           String dnstr2)
      • setSchemaManager

        public void setSchemaManager​(SchemaManager schemaManager)
        Store the SchemaManager in this instance. It may be necessary for some comparator which needs to have access to the oidNormalizer Map.
        Overrides:
        setSchemaManager in class LdapComparator<String>
        Parameters:
        schemaManager - the schemaManager to store
      • getDn

        public Dn getDn​(Object obj)
                 throws LdapInvalidDnException
        Get the DN from the given object
        Parameters:
        obj - The object containing a DN (either as an instance of Dn or as a String)
        Returns:
        A Dn instance
        Throws:
        LdapInvalidDnException - If the Dn is invalid