org.apache.directory.api.ldap.model.schema.comparators
Class CsnComparator
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<Object>
org.apache.directory.api.ldap.model.schema.comparators.CsnComparator
- All Implemented Interfaces:
- Serializable, Comparator<Object>, SchemaObject
public class CsnComparator
- extends LdapComparator<Object>
A comparator for CSN.
The CSN are ordered depending on an evaluation of its component, in this order :
- time,
- changeCount,
- sid
- modifierNumber
- 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 |
CsnComparator
public CsnComparator(String oid)
- The CsnComparator constructor. Its OID is the CsnMatch matching
rule OID.
compare
public int compare(Object csnObj1,
Object csnObj2)
- See Also:
Comparator.compare(java.lang.Object, java.lang.Object)
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.