possibleFilterTypes.put( "~=", "~= (approximately)" );
ObjectClassDescription[] objectClassDescriptions = schema.getObjectClassDescriptions();
for ( int i = 0; i < objectClassDescriptions.length; i++ )
{
ObjectClassDescription description = objectClassDescriptions[i];
possibleObjectClasses.put( description.getNumericOID(), description );
for ( int k = 0; k < description.getNames().length; k++ )
{
possibleObjectClasses.put( description.getNames()[k], description );
}
}
MatchingRuleDescription[] matchingRuleDescriptions = schema.getMatchingRuleDescriptions();
for ( int i = 0; i < matchingRuleDescriptions.length; i++ )
{
MatchingRuleDescription description = matchingRuleDescriptions[i];
possibleMatchingRules.put( description.getNumericOID(), description );
for ( int k = 0; k < description.getNames().length; k++ )
{
possibleMatchingRules.put( description.getNames()[k], description );
}
}
}
}