org.apache.directory.shared.ldap.model.schema.comparators
Class UuidComparator
java.lang.Object
org.apache.directory.shared.ldap.model.schema.AbstractSchemaObject
org.apache.directory.shared.ldap.model.schema.LoadableSchemaObject
org.apache.directory.shared.ldap.model.schema.LdapComparator<String>
org.apache.directory.shared.ldap.model.schema.comparators.UuidComparator
- All Implemented Interfaces:
- Serializable, Comparator<String>, SchemaObject
public class UuidComparator
- extends LdapComparator<String>
A comparator for UUID. We simply use the UUID compareTo method.
- Author:
- Apache Directory Project
- See Also:
- Serialized Form
| Fields inherited from class org.apache.directory.shared.ldap.model.schema.AbstractSchemaObject |
description, extensions, isEnabled, isObsolete, isReadOnly, locked, names, objectType, oid, schemaName, specification |
| Methods inherited from class org.apache.directory.shared.ldap.model.schema.AbstractSchemaObject |
addExtension, addExtension, addName, addToRegistries, clear, compareOid, copy, getDescription, getExtensions, getName, getNames, getObjectType, getOid, getSchemaName, getSpecification, hashCode, isDisabled, isEnabled, isObsolete, isReadOnly, lock, removeFromRegistries, setDescription, setEnabled, setExtensions, setNames, setNames, setObsolete, setOid, setReadOnly, setRegistries, setSchemaName, setSpecification, unlock |
UuidComparator
public UuidComparator(String oid)
- The UUIDComparator constructor. Its OID is the UUIDMatch matching
rule OID.
compare
public int compare(String uuid1,
String uuid2)
- See Also:
Comparator.compare(java.lang.Object, java.lang.Object)
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.