Class ObjectClassTypeComparator<T>
- 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<T>
-
- org.apache.directory.api.ldap.model.schema.comparators.ObjectClassTypeComparator<T>
-
- Type Parameters:
T
- The type of object to compare
- All Implemented Interfaces:
Serializable
,Comparator<T>
,SchemaObject
public class ObjectClassTypeComparator<T> extends LdapComparator<T>
A comparator that compares the objectClass type with values: AUXILIARY, ABSTRACT, and STRUCTURAL.- Author:
- Apache Directory Project
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ObjectClassTypeComparator(String oid)
Creates a new instance of ObjectClassTypeComparator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(T o1, T o2)
-
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
-
ObjectClassTypeComparator
public ObjectClassTypeComparator(String oid)
Creates a new instance of ObjectClassTypeComparator.- Parameters:
oid
- The Comparator's OID
-
-