| | |
| | | import org.opends.server.api.AttributeSyntax; |
| | | import org.opends.server.api.MatchingRule; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.core.SchemaConfigManager; |
| | | import org.opends.server.types.Attribute; |
| | | import org.opends.server.types.AttributeType; |
| | | import org.opends.server.types.AttributeValue; |
| | |
| | | TreeSet<String> invalidOIDs = new TreeSet<String>(); |
| | | |
| | | Schema schema = DirectoryServer.getSchema(); |
| | | for (AttributeSyntax as : schema.getSyntaxes().values()) |
| | | for (AttributeSyntax<?> as : schema.getSyntaxes().values()) |
| | | { |
| | | if (! isNumericOID(as.getOID())) |
| | | { |
| | |
| | | TreeSet<String> invalidOIDs = new TreeSet<String>(); |
| | | |
| | | Schema schema = DirectoryServer.getSchema(); |
| | | for (MatchingRule mr : schema.getMatchingRules().values()) |
| | | for (MatchingRule<?> mr : schema.getMatchingRules().values()) |
| | | { |
| | | if (! isNumericOID(mr.getOID())) |
| | | { |
| | |
| | | |
| | | for (Attribute a : attrList) |
| | | { |
| | | for (AttributeValue v : a.getValues()) |
| | | for (AttributeValue v : a) |
| | | { |
| | | AttributeType at = AttributeTypeSyntax.decodeAttributeType( |
| | | v.getValue(), DirectoryServer.getSchema(), |
| | |
| | | |
| | | for (Attribute a : attrList) |
| | | { |
| | | for (AttributeValue v : a.getValues()) |
| | | for (AttributeValue v : a) |
| | | { |
| | | ObjectClass oc = ObjectClassSyntax.decodeObjectClass( |
| | | v.getValue(), DirectoryServer.getSchema(), |
| | |
| | | |
| | | for (Attribute a : attrList) |
| | | { |
| | | for (AttributeValue v : a.getValues()) |
| | | for (AttributeValue v : a) |
| | | { |
| | | NameForm nf = NameFormSyntax.decodeNameForm(v.getValue(), |
| | | DirectoryServer.getSchema(), true); |