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
-
-
Constructor Summary
Constructors Constructor Description TelephoneNumberComparator(String oid)
The TelephoneNumberComparator constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(String telephoneNumber1, String telephoneNumber2)
-
Methods inherited from class org.apache.directory.api.ldap.model.schema.LdapComparator
equals, getNormalizer, setSchemaManager, toString
-
Methods inherited from class org.apache.directory.api.ldap.model.schema.LoadableSchemaObject
copy, getBytecode, getFqcn, isValid, setBytecode, setFqcn
-
Methods inherited from class org.apache.directory.api.ldap.model.schema.AbstractSchemaObject
addExtension, addExtension, addName, clear, copy, getDescription, getExtension, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hasExtension, hashCode, isDisabled, isEnabled, isObsolete, lock, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setSchemaName, setSpecification, unlock
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Constructor Detail
-
TelephoneNumberComparator
public TelephoneNumberComparator(String oid)
The TelephoneNumberComparator constructor. Its OID is the TelephoneNumberMatch matching rule OID.- Parameters:
oid
- The Comparator's OID
-
-