{
// let's check and make sure the supplied indices are OK
if ( ndnIdx == null )
{
AttributeType attributeType = schemaManager
.lookupAttributeTypeRegistry( ApacheSchemaConstants.APACHE_N_DN_AT_OID );
ndnIdx = new AvlIndex<String, E>();
ndnIdx.setAttributeId( ApacheSchemaConstants.APACHE_N_DN_AT_OID );
ndnIdx.initialize( attributeType );
systemIndices.put( ApacheSchemaConstants.APACHE_N_DN_AT_OID, ndnIdx );
}
if ( updnIdx == null )
{
AttributeType attributeType = schemaManager
.lookupAttributeTypeRegistry( ApacheSchemaConstants.APACHE_UP_DN_AT_OID );
updnIdx = new AvlIndex<String, E>();
updnIdx.setAttributeId( ApacheSchemaConstants.APACHE_UP_DN_AT_OID );
updnIdx.initialize( attributeType );
systemIndices.put( ApacheSchemaConstants.APACHE_UP_DN_AT_OID, updnIdx );
}
if ( existenceIdx == null )
{
AttributeType attributeType = schemaManager
.lookupAttributeTypeRegistry( ApacheSchemaConstants.APACHE_EXISTENCE_AT_OID );
existenceIdx = new AvlIndex<String, E>();
existenceIdx.setAttributeId( ApacheSchemaConstants.APACHE_EXISTENCE_AT_OID );
existenceIdx.initialize( attributeType );
systemIndices.put( ApacheSchemaConstants.APACHE_EXISTENCE_AT_OID, existenceIdx );
}
if ( oneLevelIdx == null )
{
AttributeType attributeType = schemaManager
.lookupAttributeTypeRegistry( ApacheSchemaConstants.APACHE_ONE_LEVEL_AT_OID );
oneLevelIdx = new AvlIndex<Long, E>();
oneLevelIdx.setAttributeId( ApacheSchemaConstants.APACHE_ONE_LEVEL_AT_OID );
oneLevelIdx.initialize( attributeType );
systemIndices.put( ApacheSchemaConstants.APACHE_ONE_LEVEL_AT_OID, oneLevelIdx );
}
if ( oneAliasIdx == null )
{
AttributeType attributeType = schemaManager
.lookupAttributeTypeRegistry( ApacheSchemaConstants.APACHE_ONE_ALIAS_AT_OID );
oneAliasIdx = new AvlIndex<Long, E>();
oneAliasIdx.setAttributeId( ApacheSchemaConstants.APACHE_ONE_ALIAS_AT_OID );
oneAliasIdx.initialize( attributeType );
systemIndices.put( ApacheSchemaConstants.APACHE_ONE_ALIAS_AT_OID, oneAliasIdx );
}
if ( subAliasIdx == null )
{
AttributeType attributeType = schemaManager
.lookupAttributeTypeRegistry( ApacheSchemaConstants.APACHE_SUB_ALIAS_AT_OID );
subAliasIdx = new AvlIndex<Long, E>();
subAliasIdx.setAttributeId( ApacheSchemaConstants.APACHE_SUB_ALIAS_AT_OID );
subAliasIdx.initialize( attributeType );
systemIndices.put( ApacheSchemaConstants.APACHE_SUB_ALIAS_AT_OID, subAliasIdx );
}
if ( aliasIdx == null )
{
AttributeType attributeType = schemaManager
.lookupAttributeTypeRegistry( ApacheSchemaConstants.APACHE_ALIAS_AT_OID );
aliasIdx = new AvlIndex<String, E>();
aliasIdx.setAttributeId( ApacheSchemaConstants.APACHE_ALIAS_AT_OID );
aliasIdx.initialize( attributeType );
systemIndices.put( ApacheSchemaConstants.APACHE_ALIAS_AT_OID, aliasIdx );
}
if ( subLevelIdx == null )
{
AttributeType attributeType = schemaManager
.lookupAttributeTypeRegistry( ApacheSchemaConstants.APACHE_SUB_LEVEL_AT_OID );
subLevelIdx = new AvlIndex<Long, E>();
subLevelIdx.setAttributeId( ApacheSchemaConstants.APACHE_SUB_LEVEL_AT_OID );
subLevelIdx.initialize( attributeType );
systemIndices.put( ApacheSchemaConstants.APACHE_SUB_LEVEL_AT_OID, subLevelIdx );
}
if ( entryCsnIdx == null )
{
AttributeType attributeType = schemaManager.lookupAttributeTypeRegistry( SchemaConstants.ENTRY_CSN_AT_OID );
entryCsnIdx = new AvlIndex<String, E>();
entryCsnIdx.setAttributeId( SchemaConstants.ENTRY_CSN_AT_OID );
entryCsnIdx.initialize( attributeType );
systemIndices.put( SchemaConstants.ENTRY_CSN_AT_OID, entryCsnIdx );
}
if ( entryUuidIdx == null )
{
AttributeType attributeType = schemaManager.lookupAttributeTypeRegistry( SchemaConstants.ENTRY_UUID_AT_OID );
entryUuidIdx = new AvlIndex<String, E>();
entryUuidIdx.setAttributeId( SchemaConstants.ENTRY_UUID_AT_OID );
entryUuidIdx.initialize( attributeType );
systemIndices.put( SchemaConstants.ENTRY_UUID_AT_OID, entryUuidIdx );
}
if ( objectClassIdx == null )
{
AttributeType attributeType = schemaManager
.lookupAttributeTypeRegistry( SchemaConstants.OBJECT_CLASS_AT_OID );
objectClassIdx = new AvlIndex<String, E>();
objectClassIdx.setAttributeId( SchemaConstants.OBJECT_CLASS_AT_OID );
objectClassIdx.initialize( attributeType );
systemIndices.put( SchemaConstants.OBJECT_CLASS_AT_OID, objectClassIdx );