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
-
-
Constructor Summary
Constructors Constructor Description CsnComparator(String oid)
The CsnComparator constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Object csnObj1, Object csnObj2)
-
Methods inherited from class org.apache.directory.api.ldap.model.schema.LdapComparator
equals, getNormalizer, hashCode, 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, 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
-
CsnComparator
public CsnComparator(String oid)
The CsnComparator constructor. Its OID is the CsnMatch matching rule OID.- Parameters:
oid
- The Comparator's OID
-
-