buf.append( " SYNTAX " ).append( mr.getSyntax().getOid() );
/** * Delete the MR references (using and usedBy) : * MR -> C * MR -> N * MR -> S */ public void delCrossReferences( MatchingRule matchingRule ) { if ( matchingRule.getLdapComparator() != null ) { delReference( matchingRule, matchingRule.getLdapComparator() ); } if ( matchingRule.getNormalizer() != null ) { delReference( matchingRule, matchingRule.getNormalizer() ); } if ( matchingRule.getSyntax() != null ) { delReference( matchingRule, matchingRule.getSyntax() ); } }
if ( matchingRule.getSyntax() == null ) if ( !ldapSyntaxRegistry.contains( matchingRule.getSyntax().getOid() ) ) LOG.debug( "Cannot find the Syntax {} for the MatchingRule {}", matchingRule.getSyntax().getOid(), matchingRule ); if ( !checkReferences( matchingRule, matchingRule.getSyntax(), "Syntax" ) )