org.apache.directory.api.ldap.model.schema.comparators
Class BooleanComparator
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<String>
org.apache.directory.api.ldap.model.schema.comparators.BooleanComparator
- All Implemented Interfaces:
- Serializable, Comparator<String>, SchemaObject
public class BooleanComparator
- extends LdapComparator<String>
A class for the BooleanComparator matchingRule (RFC 4517, par. 4.2.2)
- Author:
- Apache Directory Project
- See Also:
- Serialized Form
| Fields inherited from class org.apache.directory.api.ldap.model.schema.AbstractSchemaObject |
description, extensions, isEnabled, isObsolete, isReadOnly, locked, names, objectType, oid, schemaName, specification |
| Methods inherited from class org.apache.directory.api.ldap.model.schema.AbstractSchemaObject |
addExtension, addExtension, addName, clear, compareOid, copy, getDescription, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hashCode, isDisabled, isEnabled, isObsolete, isReadOnly, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setReadOnly, setSchemaName, setSpecification, unlock |
BooleanComparator
public BooleanComparator(String oid)
- The BooleanComparator constructor. Its OID is the BooleanMatch matching
rule OID.
compare
public int compare(String b1,
String b2)
- Implementation of the Compare method
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.