public static MatchingRule matchingRuleFactory( String oid ) { MatchingRule matchingRule = new MatchingRule( oid ); return matchingRule; } /**
/** * Copy an MatchingRule */ public MatchingRule copy() { MatchingRule copy = new MatchingRule( oid ); // Copy the SchemaObject common data copy.copy( this ); // All the references to other Registries object are set to null. copy.ldapComparator = null; copy.ldapSyntax = null; copy.normalizer = null; // Copy the syntax OID copy.ldapSyntaxOid = ldapSyntaxOid; return copy; }
MatchingRule matchingRule = new MatchingRule( oid );
MatchingRule matchingRule = new MatchingRule( "1.2.2" ); matchingRule.setSyntax( syntax );
MatchingRule matchingRule = new MatchingRule( "1.1.2.1" ); matchingRule.setSyntax( syntax );
MatchingRule matchingRule = new MatchingRule( "1.1.2" ); matchingRule.setSyntax( syntax );
matchingRule = new MatchingRule(numericoid(oid.getText()));