org.apache.directory.api.ldap.model.schema.comparators
Class TelephoneNumberComparator
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.TelephoneNumberComparator
- All Implemented Interfaces:
- Serializable, Comparator<String>, SchemaObject
public class TelephoneNumberComparator
- extends LdapComparator<String>
A comparator for TelephoneNumber.
The rules for matching are identical to those for caseIgnoreMatch, except that
all space and "-" characters are skipped during the comparison.
- 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 |
TelephoneNumberComparator
public TelephoneNumberComparator(String oid)
- The TelephoneNumberComparator constructor. Its OID is the TelephoneNumberMatch matching
rule OID.
compare
public int compare(String telephoneNumber1,
String telephoneNumber2)
- See Also:
Comparator.compare(java.lang.Object, java.lang.Object)
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.